ParameterizedTest not in their parent test-suite when FixtureSetup fails in .xml result file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit Framework |
Invalid
|
Undecided
|
Unassigned | ||
NUnit V2 |
Fix Released
|
High
|
Charlie Poole |
Bug Description
When the FixtureSetup fails for a ParameterizedTest, I would expect that the test-case node would be under its test suite of type="Parameter
Here is what I'm seeing into the result xml files:
When a ParameterizedTest passes, the xml result looks like this:
<test-suite type="TestFixture" name="TestClass1" executed="True" result="Success" success="True" time="25.476" asserts="1">
<results>
<test-suite type="Parameter
<results>
<test-case name="TestNames
...
When fixture fails, the xml result looks like this:
<test-suite type="TestFixture" name="Task_
<failure>
<message>
<stack-
</failure>
<results>
<test-case name="TestNames
<failure>
</failure>
</test-case>
<test-suite type="Parameter
</results>
Related branches
Changed in nunitv2: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Charlie Poole (charlie.poole) |
milestone: | none → 2.6.0 |
Changed in nunitv2: | |
status: | In Progress → Fix Committed |
Changed in nunitv2: | |
status: | Fix Committed → Fix Released |
tags: | added: framework |
Changed in nunit-3.0: | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Charlie Poole (charlie.poole) |
milestone: | none → 2.9.6 |
Marking this invalid for NUnit 3.0 because the code that was changed in 2.6 no longer exists in 3.0.