Radim Kubacki <mailto:radim.kuba...@gradleware.com>
4 March 2014 3:29 am
When I was modifying test aggregation implementation
(https://github.com/gradle/gradle/commit/985f6fa6c137a9903e764fe15818242972c24bc8)
I found it hard to make it do what I expect: assume I have a set of
tests for my project and want to run them several times. Each time it
will be run with some special set up (against different DBs, servers,
with a different configuration ...). And I want to run them all and
see the report rather than stop at first failed test task.
The problem is that the build fails with first failed test task and
the report is not run or I will mark test tasks to ignore failures to
get the report and the build will always succeed. I thought that
1. report task should be used as finalizer task (TestReport.reportOn
should create finalizing dependency)
I'm stunned it doesn't.
2. TestReport should emit the message 'There were failing tests. See
the report at: ...' too if there are failures and set the build result
accordingly (can be option on that task)
Not so sure that this is the right way.
Opinions?
-Radim
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email