Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
When a single test or a test suite is run, the logs produced for the test are written in the current working directory. These logs are required to be relocated or deleted manually before another test can be run(or another directory i used for running tests).
It would be better to generate these files in a separate directory within the current directory or a directory specified in ant.properties.
The test logs can be generated in a directory whose identification/name can be generated from the test being run, which would not require the deletion of logs as well as would also be a good way to keep the records of the tests which have already been executed.
Another option that can be added is that depending upon the user command or say a parameter "CLEAN_LOG=TRUE", the previous logs would be cleaned automatically when a test is run.