cbeust/testng — Issue #133: JBossDev suite: using @Parameters - problems
Author: yaroslavherasym
Created: 2011-11-22 01:47:29+00:00
State: open

RedHat JBoss Developer Studio,
TestNG (Certified)	1.0.2.v20111111-0440-H1078-GA	com.jboss.jbds.testng.feature.feature.group
TestNG	5.14.6.20110119_1050	org.testng.eclipse.feature.group

I'm running TestNG suite by using testng.xml file

My code looks like:

@Parameters({"addPersonCSVFile"})
@Test (groups = {"Functional"})
public class addPersonPositiveTestQA (String filePath) {...}

I know for sure that my test suite is driven by testng.xml (because if I change the group name - it will run another group-set-scripts).

In my case I have an error:

[javac] /home/yherasym/workspace/Services/PersonFacade1.0/src/syscon/arbutus/product/services/personFacade/test/addPersonPositiveTestQA.java:30: '{' expected
[javac] public class addPersonPositiveTestQA (String filePath) {
[javac] ^
[javac] 1 error

So, looks like the parameter from testng.xml is not linked to "filePath".

I see some @Parameters issues prior testng version 6.x in Change.log.

So, does TestNG ver. 5.14.6.20110119_1050 cover those issues?