I have some Spock tests running on JUnit 4.12 in Gradle 6.1.1.
Right before the forked test JVM runs, DefaultExecHandle logs to INFO:
Starting process …
Where … is some more text.
If a test fails, that logging statement is saved in the test report. If a test succeeds, however, that logging statement is not saved in the report.
How can I get that logging statement saved / output somewhere when the test succeeds?
Aucun commentaire:
Enregistrer un commentaire