Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in ltest or test-runner #2

Open
billota opened this issue Feb 4, 2017 · 0 comments
Open

Error in ltest or test-runner #2

billota opened this issue Feb 4, 2017 · 0 comments

Comments

@billota
Copy link

billota commented Feb 4, 2017

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.
@billota billota changed the title Error in test or test-runner Error in ltest or test-runner Feb 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant