Closed GoogleCodeExporter closed 9 years ago
If the following is used:
public static Object[][] data() {
return new Object[][]{
{"foo1"},
{"foo2"},
{"foo3"},
{"foo4"},
{"foo5"},
{"fail"}
};
}
Then the test is shown as failed correctly. The problem is that the test in
the tree
is reported as failed, then the next data item is passed, and the same tree
element
is updated.
Someone else mentioned something similar to this but more in regards to
repeating/including test data in the tree. So you'd see:
Test Results
`- foo
`- DataSourceTest
`- test(foo1)
`- test(foo2)
`- test(foo3)
`- ...
or
Test Results
`- foo
`- DataSourceTest
`- test
`- (foo1)
`- (foo2)
`- (foo3)
`- ...
The fix for this would be in both TestNG itself and the IDEA plugin, on the
TestNG
side this would be in the remote string protocol used to communicate between
TestNG
and the IDE. I'm not sure what the Eclipse plugin currently does in this
scenario
(it may be support for this is already in the string protocol).
Which of the two formats do you like better? Or any other suggestions for the
UI on
this?
Mark
Original comment by tal...@gmail.com
on 27 Oct 2006 at 12:10
This is now available in the latest build. Test parameter values are displayed
in
the tree: test("foo1").
Original comment by tal...@gmail.com
on 10 Nov 2006 at 11:33
Original issue reported on code.google.com by
mike.aiz...@gmail.com
on 17 Oct 2006 at 8:59