-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optional parameter is not initialized properly in Eclipse - not all <parameter> tags are being added to testng-customsuite.xml #455
Comments
Cannot attach zip file. Providing testng file by it screenshot |
I have found a root of the problem: temporary testng-customsuite.xml is not forming correctly in part of tag;
------------------------
|
I am also facing this issue. has this issue been acknowledged? Any updates on this? |
@yherasym comment is spot on. You can see the testng-customsuite.xml being used will not contain all the params from the xml you select from the pop up. Selecting a template XML will get around this, but that is not as convenient as selecting from the pop up. I would think ALL params from the xml you select should make it to the testng-customsuite.xml which would solve this problem. |
I confirm this problem too. |
Ping @missedone |
Fixed by testng-team/testng-eclipse/pull/275 |
hi guys, |
thanks for fixing this bug |
Eclipse Juno Service Realease 2
TestNG plugin 6.8.6.20130914_0724
Preconditions: a project has two testng xml files; a test-class uses parameters with Optional default values (simple project has been attached);
Scenario:
);
As result Eclipse will ask which testng xml has to be used as expected (see attachment YH-247
);
ActualResult: all optional parameters are initialized with "not-found" values;
see YH-248
ExpectedResult: the optional parameters are initialized with their specified default values;
The text was updated successfully, but these errors were encountered: