Closed AwareTo closed 5 years ago
@AwareTo - This issue was fixed only in later versions. The latest released version of TestNG is 7.0.0-beta7
. Please try using that and comment if this is still a problem.
@krmahadevan Indeed using latest beta test-ng-results.xml do present the parameters. However, I noticed that Eclipse do not show the parameters at the results window. Eclipse do show the dataprovider parameters if Factory annotation is not used. I noticed that the test-ng-results.xml has a different format when using Factory annotation. is this causing the Eclipse results issue? Thank you for your help!
@AwareTo - For eclipse, you might want to log an issue in https://github.com/cbeust/testng-eclipse/issues
The TestNG eclipse plugin has a beta version that will be taking care of the new changes.
I noticed that the test-ng-results.xml has a different format when using Factory annotation.
Can you show the difference between the latest beta version and 6.14.3
?
@krmahadevan I opened the following issue: https://github.com/cbeust/testng-eclipse/issues/437 So I guess this issue(2117) can be closed.
Can you show the difference between the latest beta version and 6.14.3 ?
I meant there is a difference at the xml tags of testng-results.xml xml when using Factory+Dataprovider annotations vs using the Dataprovider annotation only. Both using version 7.0.0-beta7 I guess this is by design and not an issue. Sorry if I was not clear. Thanks a lot for your help. It helped me to complete a framework I was working-on.
Based on above comments, I am closing this issue.
TestNG Version 6.14.3
Expected behavior
TestNG results will show the parameters used. Without the parameters it is hard to distinguish which test case failed.
Actual behavior
Test Results do not display the the test parameters when using Factory annotation testng-results.xml Shows no parameters This issue is similar to another issue which is status is closed: https://github.com/cbeust/testng/issues/1041
Test case sample
Thanks