[erlang-patches] eunit: generate separate surefire XMLs for each test suite
Klas Johansson
klas.johansson@REDACTED
Thu May 26 18:22:42 CEST 2011
Hi,
Yet another eunit fix:
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:
src/x.erl
src/y.erl
test/x_tests.erl
test/y_tests.erl
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.
This has now been running for a couple of weeks in our system and
seems to do the trick.
Code here:
git fetch git://github.com/klajo/otp.git eunit-surefire-fixes
Cheers,
Klas
More information about the erlang-patches
mailing list