3 Replies Latest reply on Jun 26, 2006 11:51 PM by starksm64

    Usage of the temp directory for tests in JBoss testsuite

    anil.saldhana

      If a test wants to create a file that will need to be used elsewhere by the test, a possibility is to create the file in the temp folder (as obtained by System.getProperty("java.io.tmpdir")).

      Are there any issues in using the tmp directory for JBoss tests? At the begin/end of the test, the files will be cleared for residual sideffect prevention.

      I am not talking about a running JBoss instance being used by the testsuite, but rather the need of a standalone unit testcase for an intermediary file.

      Any other options/ideas?