[erlang-patches] eunit: generate separate surefire XMLs for each test suite

Henrik Nord henrik@REDACTED
Tue May 31 15:37:50 CEST 2011


On 05/26/2011 06:22 PM, Klas Johansson wrote:
> 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
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
Thank you Klas

I have included this in 'pu' and it will cook for a while.


-- 
/Henrik Nord Erlang/OTP




More information about the erlang-patches mailing list