You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Siddharth Srivastava (JIRA)" <ji...@apache.org> on 2011/03/12 12:15:59 UTC

[jira] Created: (DERBY-5129) handling the logs produced when test is run

handling the logs produced when test is run
-------------------------------------------

                 Key: DERBY-5129
                 URL: https://issues.apache.org/jira/browse/DERBY-5129
             Project: Derby
          Issue Type: Improvement
            Reporter: Siddharth Srivastava
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DERBY-5129) handling the logs produced when test is run

Posted by "Mike Matrigali (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Matrigali updated DERBY-5129:
----------------------------------

    Component/s: Test
    
> handling the logs produced when test is run
> -------------------------------------------
>
>                 Key: DERBY-5129
>                 URL: https://issues.apache.org/jira/browse/DERBY-5129
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Siddharth Srivastava
>            Priority: Minor
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira