Closed kinow closed 12 years ago
Hi Bruno,
I just added this to trunk, you should now see something like this:
<test-method status="PASS" signature="f(java.lang.Object)[pri:0, instance:test.tmp.A@681e2ca7]" name="f" duration-ms="5" started-at="2012-02-28T23:03:33Z" data-provider="dp" finished-at="2012-02-28T23:03:33Z">
This new information is only present in testng-results.xml at the moment, nowhere else (HTML reports, Eclipse, etc...). I can look into propagating it in these various areas if it's of interest to you. Let me know.
Can you try the beta at http://testng.org/beta and report back?
Thanks!
Wow, that was fast!
Many thanks Cedric. I'll try the beta and report back here today.
Many thanks!
Hi again Cedric,
Just finished testing the beta. Worked like a charm!
Sorry, I'm not accompanying TestNG development. How long does it usually take before a beta version is released?
Thanks again.
You mean before a beta becomes a real version? There is no schedule, I make the decision depending on various factors. Can't you work with the beta for now?
Sure, I will create a separate branch and will test it with the user using the beta version.
Many thanks Cedric!
Hello All,
I am facing an issue with @parameters & @dataproviders
My requirement:
Want to pass dynamic dataProvider name to the test-method (A)
1> XML file has 2 <test> tags
a> runAll b> runCritical
2> When I execute, 'runAll' --> test-method (A) should take dataprovider name =dp1
When I execute, 'runCritical' --> test-method (A) should take dataprovider name =dp2
"dp1" fetches values executing other method (B) and then passes to testMethod(A)
"dp2" gets value from XML i.e. passed along in
Request to let me know your valuable comments
Awaiting response
Regards Somesh
Hi there.
I'm filling this issue but am not sure if it's already not possible.
I have an issue in Jenkins TestLink Plug-in, where a user would like to group results by test method name and the data provider this method uses.
But I couldn't find a way to find which data provider a test method uses, from TestNG XML output. I tried executing with the Eclipse plug-in, and looking at the temporary generated XML, as well as using surefire XML output.
Thank you in advance :-) Bruno