lfe-rebar3 / rebar3_lfe_ltest Goto Github PK
View Code? Open in Web Editor NEWThe LFE rebar3 plugin for the ltest framework
License: Other
The LFE rebar3 plugin for the ltest framework
License: Other
When running the unit tests for the kanin project (see https://github.com/lfex/kanin/blob/master/test/unit-kanin-uri-tests.lfe), an error arises (unspecified ... looks like an undef of some sort). When run with rebar3, this error does not arise.
$ rebar3 as test lfe test -t unit
================================ ltest =================================
------------------------------ Unit Tests ------------------------------
module: unit-kanin-chan-tests
function_checks ................................................... [ok]
export_count ...................................................... [ok]
time: 24ms
module: unit-kanin-conn-tests
function_checks ................................................... [ok]
export_count ...................................................... [ok]
time: 23ms
module: unit-kanin-uri-tests
function_checks ................................................... [ok]
export_count ...................................................... [ok]
parse_net ....................................................... [fail]
Assertion failure:
undef
parse_direct .................................................... [fail]
Assertion failure:
undef
time: 92ms
summary:
Tests: 8 Passed: 6 Skipped: 0 Failed: 2 Erred: 0
Total time: 139ms
========================================================================
$ rebar3 as test eunit
======================== EUnit ========================
file "kanin.app"
application 'kanin'
module 'kanin-chan'
module 'kanin-conn'
module 'kanin-uri'
module 'kanin-util'
module 'kanin'
module 'unit-kanin-chan-tests'
unit-kanin-chan-tests: function_checks_test...ok
unit-kanin-chan-tests: export_count_test...[0.011 s] ok
[done in 0.017 s]
module 'unit-kanin-conn-tests'
unit-kanin-conn-tests: function_checks_test...ok
unit-kanin-conn-tests: export_count_test...ok
[done in 0.006 s]
module 'unit-kanin-uri-tests'
unit-kanin-uri-tests: function_checks_test...ok
unit-kanin-uri-tests: export_count_test...ok
unit-kanin-uri-tests: parse_net_test...[0.004 s] ok
unit-kanin-uri-tests: parse_direct_test...ok
[done in 0.016 s]
[done in 0.208 s]
[done in 0.250 s]
=======================================================
All 8 tests passed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.