Commits on Dec 21, 2014
  1. clean up a comment

    Richard Carlsson committed Apr 20, 2014
  2. Refactor function in eunit using is_function/2

    is_function/2 looks present since at least OTP R13B03, so the change
    shall not undermine running eunit on older versions of Erlang.
    This commit is only refactoring - it contains no functional changes.
    lucafavatella committed with Richard Carlsson Jun 17, 2014
  3. Deprecate pre-defined built-in types

    The types array(), dict(), digraph(), gb_set(), gb_tree(), queue(),
    set(), and tid() have been deprecated. They will be removed in OTP 18.0.
    Instead the types array:array(), dict:dict(), digraph:graph(),
    gb_set:set(), gb_tree:tree(), queue:queue(), sets:set(), and ets:tid()
    can be used. (Note: it has always been necessary to use ets:tid().)
    It is allowed in OTP 17.0 to locally re-define the types array(), dict(),
    and so on.
    New types array:array/1, dict:dict/2, gb_sets:set/1, gb_trees:tree/2,
    queue:queue/1, and sets:set/1 have been added.
    uabboli committed with Richard Carlsson Feb 3, 2014
  4. Do not attempt to detect lists of printable characters in Data

    This is to avoid outputting something like "\"%\f" instead of [34,37,12] in the XML.
    Roberto Aloi committed with Richard Carlsson Aug 29, 2013
  5. Fix I/O-protocol error handling in eunit

    A io_request in eunit reuturns wrong value when it receive getopts or
    get_geometry request.
    mururu committed with Richard Carlsson Sep 21, 2013
  6. Wrap eunit macros into begin ... end blocks

    This makes typos such as missing commas between two assertions
    (e.g. ?assert(true) ?assert(true)) syntax errors instead of silently
    compiling and failing with a badfun error at runtime.
    This won't break any existing code as parenthesed expressions and blocks
    have the same precedence and none of these macros can be used as patterns.
    nox committed with Richard Carlsson Jun 8, 2013
  7. eunit: Eliminate use of the package syntax

    bjorng committed with Richard Carlsson Dec 3, 2012
  8. mark up source files with encoding, as needed

    Richard Carlsson committed Apr 20, 2014
Commits on Oct 13, 2013
  1. Merge pull request #30 from campanja/surefire-xml-use-description

    Improve surefire xml <testcase> element
    committed Oct 13, 2013
Commits on Oct 18, 2012
  1. Improve surefire xml <testcase> element

    Remove the 'description' attribute. It is not generated by Apache
    Ant or Maven Surefire and probably ignored by all other Surefire
    tools. Confirmed for Jenkins.
    Add testcase description (if there is one) to the 'name' attribute.
    Change format of 'name' attribute to look more like the output from
    running eunit with verbose. Line number and arity was quite obscure
    and arity is not useful as it is always 0.
    Andreas Amsenius committed Oct 18, 2012
Commits on Aug 8, 2012
  1. Include fixture setup and cleanup errors in Eunit Surefire report

    An error during fixture setup means that some tests could not be run,
    and therefore needs to be highlighted in the test report.  Likewise, a
    cleanup failure is often a problem that needs to be looked into.
    Since setup and cleanup are not part of any single test in Eunit's
    view, I include them as phantom test cases in the report whenever they
    legoscia committed with Richard Carlsson Mar 10, 2011
Commits on Jul 17, 2012
  1. documentation fixes

    Richard Carlsson committed Jul 17, 2012
Commits on Jul 5, 2012
  1. moved out file_monitor, code_monitor and autoload

    Richard Carlsson committed Jul 5, 2012
  2. minor cleanup

    Richard Carlsson committed Jul 5, 2012
Commits on May 30, 2012
  1. Merge pull request #8 from garazdawi/master

    Open the eunit_surefire output file in UTF-8 mode
    committed May 30, 2012
  2. Write chars as UTF-8 to file

    garazdawi committed May 30, 2012
Commits on Apr 17, 2012
  1. eunit_tests should not be listed in

    Richard Carlsson committed Apr 17, 2012
Commits on Feb 15, 2012
Commits on Feb 13, 2012
  1. bumped revision

    Richard Carlsson committed Feb 13, 2012
  2. make stack trace pruning know about the new format

    Richard Carlsson committed Feb 13, 2012
  3. Make EUnit print stacktraces with location information

    The format of stacktraces was changed in Erlang/OTP R15, adding location
    information. This had the effect that EUnit did not recognize stack traces
    as such and only printed the exception term. This patch makes Eunit
    recognize and print the new stacktrace format as well as the old.
    klajo committed with Richard Carlsson Feb 12, 2012
Commits on Dec 11, 2011
  1. Add option 'no_tty' to silent the default tty report

    Richard Carlsson committed Dec 11, 2011
Commits on Sep 25, 2011
  1. Generate separate surefire XMLs for each test suite

    Previously the test cases of all test suites (=modules) were put in
    one and the same surefire report XML thereby breaking the principle of
    least astonishment and making post analysis harder.  Assume the
    following layout:
    The results for both x_tests and y_tests were written to only one
    report grouped under either module x or y (seemingly randomly).
    Now two reports, one for module x and one for y are generated.
    klajo committed with Richard Carlsson May 11, 2011
  2. bumped revision

    Richard Carlsson committed Sep 25, 2011
Commits on Sep 23, 2011
  1. fixed some R14 compiler warnings

    Richard Carlsson committed Sep 23, 2011
  2. removed some never-matching clauses reported by dialyzer

    Richard Carlsson committed Sep 23, 2011
Commits on Jul 19, 2011
  1. updated author e-mails and homepages

    Richard Carlsson committed Jul 19, 2011
  2. removed cvs keywords from files

    Richard Carlsson committed Jul 19, 2011
Commits on Jul 18, 2011
  1. bumped minor version

    Richard Carlsson committed Jul 18, 2011
  2. tweaks to unify my code with the OTP version

    Richard Carlsson committed Jul 18, 2011
  3. Don't let eunit_surefire report back to eunit when stopping

        When eunit is terminating, a stop message is sent to all listeners and
        eunit then waits for *one* result message but previously both
        eunit_tty and eunit_surefire sent a response on error.  Don't send a
        result message from eunit_surefire; let eunit_tty take care of all
        result reporting, both positive and negative to avoid race conditions
        and inconsistencies.
    klajo committed with Richard Carlsson Jul 18, 2011
  4. Wait until all eunit listeners terminate

        Ensure that all eunit listeners (like eunit_surefire) get the chance
        to finish their work before terminating.  Prior to this fix, the
        eunit_surefire XML was sometimes not generated.
    klajo committed with Richard Carlsson Jul 18, 2011