janusgraph
janusgraph copied to clipboard
Redirect test case output to their individual output files.
Currently, all the test cases in a module output their logging to a single file test.log.
Also there are some console output from the test cases interleaving with formal status and result on the console.
We can re-direct the logging output and console output to individual output file for each test case. On the console, the test result will be displayed cleanly without output in between.
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.janusgraph.diskstorage.solr.BerkeleySolrTest
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 141.503 sec - in org.janusgraph.diskstorage.solr.BerkeleySolrTest
Running org.janusgraph.diskstorage.solr.SolrIndexTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.565 sec - in org.janusgraph.diskstorage.solr.SolrIndexTest
Surefire and failsafe plugs' redirectTestOutputToFile property will be used.
Each test case TestA will have a TestA-output.txt in the surefire or failsafe report directory for easy diagnostic.