[forge-issues] [JBoss JIRA] (FORGE-1729) Test harness should set the Configuration directory to use the test temp dir by default
Lincoln Baxter III (JIRA)
issues at jboss.org
Sun Apr 6 22:04:13 EDT 2014
[ https://issues.jboss.org/browse/FORGE-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12959531#comment-12959531 ]
Lincoln Baxter III commented on FORGE-1729:
-------------------------------------------
Thanks, right. My question, though, is should this happen automatically when running in a test environment? Seems like this is something that you might expect to be compartmentalized for you. WDYT?
> Test harness should set the Configuration directory to use the test temp dir by default
> ---------------------------------------------------------------------------------------
>
> Key: FORGE-1729
> URL: https://issues.jboss.org/browse/FORGE-1729
> Project: Forge
> Issue Type: Enhancement
> Components: Configuration
> Affects Versions: 2.3.0.Final
> Reporter: Lincoln Baxter III
> Fix For: 2.x Future
>
>
> Currently the UserConfiguration references the current users home directory while running tests - it should use the available system property while running tests in order to direct the config dir to a temp location for that test execution:
> {code}
> static final String USER_CONFIG_PATH = "org.jboss.forge.addon.configuration.USER_CONFIG_PATH";
> String property = System.getProperty(USER_CONFIG_PATH);{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list