[arquillian-issues] [JBoss JIRA] (ARQ-1994) Wrong root path in Testcase
pueffl (JIRA)
issues at jboss.org
Mon Oct 19 04:34:00 EDT 2015
pueffl created ARQ-1994:
---------------------------
Summary: Wrong root path in Testcase
Key: ARQ-1994
URL: https://issues.jboss.org/browse/ARQ-1994
Project: Arquillian
Issue Type: Bug
Affects Versions: 1.1.9.Final, 1.1.8.Final
Reporter: pueffl
After deploying a .war to JBoss Wildfly, I start a Testcase and want to read a XML-File from the filesystem (relative path -> <Project>/target/test-classes). As this didn't work, I checked the path: System.out.println(new File("test.txt").getAbsolutePath());
The result was <WILDFLY-HOME/bin/test.txt which was really a big surprise! :-)
I am not absolutely sure if this is a bug, but it hampers testing a lot in some cases and it should at least be better documented. (I couldn't find information about this behavior so far.)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the arquillian-issues
mailing list