Giter Site home page Giter Site logo

rebar3_lfe_ltest's People

Contributors

oubiwann avatar saaji avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

saaji qoocku kek

rebar3_lfe_ltest's Issues

Error in ltest or test-runner

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.