Hey guys,

I wanted to share the plan for further improvements in the test
execution and reporting area.

The goals are:

1. The new TestNG reporting is unincubated and made the default. (in
1.3 the new TestNG reporting is not yet the default).
2. The report generation (xml / html) is efficient for both TestNG and JUnit
3. The html report has improved content

Here's what we plan in a nutshell:

1. We want to introduce an internal format for storing the test
results. Format that is geared towards efficiency (binary format,
streaming of the output to conserve memory, etc.). Currently, the base
format is the JUnit xml format but this format is not efficient (does
not allow streaming, etc.).

2. The xml results will be generated from that new format after the
test execution. This way, it will be possible to turn off the the xml
generation, model it as a task, help solving the memory problems, etc.

3. The html results will be generated from the binary format, too.
Currently the html results are generated from the xml results (JUnit
format). This allows to improve the html report in a couple of ways
(show aggregated std err/std output;  show the output per test method,
instead of per class, etc.)

The spec can be found here:
https://github.com/gradle/gradle/blob/master/design-docs/testing-improvements.md

Cheers!
-- 
Szczepan Faber
Principal engineer@gradleware
Lead@mockito

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to