nunit.testlogger
nunit.testlogger copied to clipboard
Xunit Theories are reported without their input data
If a theory is created with inline, or other data sources, shows in the report with the method name only.
As such it is impossible to determine the scenarios that have been tested, and in the case of a failure which inputs were part of the test.
NUnit XML format supports the reporting of this data, is it possible to report this in the XML via this library? Similar to the output Resharper shows in its unit test session window?
Example reproduction:
[InlineData("foo")]
[InlineData(null)]
public void MyTheory(string input) {
Assert.NotNull(input);
}
This is reported as:
- MyTheory - pass
- MyTheory - fail
Ideally it would be reported as (or something equivalent to):
- MyTheory(input: "foo") - pass
- MyTheory(input: null) - fail