TestNG test fail with IllegalARgumentExceptoin
----------------------------------------------
Key: SUREFIRE-345
URL: http://jira.codehaus.org/browse/SUREFIRE-345
Project: Maven Surefire
Issue Type: Bug
Components: TestNG support
Affects Versions: 2.4
Reporter: Ben Sommerville
Attachments: SUREFIRE-TestNG.patch
Trying to execute testng test with 2.4 snapshot results in:
java.lang.IllegalArgumentException: Unknown parameter type: java.util.Properties
at
org.apache.maven.surefire.booter.SurefireBooter.constructParamObjects(SurefireBooter.java:793)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:844)
To reproduce attempt to run any project with TestNG tests. Same error occurs
with TestNG version 5.1 & 5.5
Attached patch fixes the problem by supporting the passing of Properties
objects (via file/command line) to forked test processes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira