Skip to content

Improve feature parity between NUnit and JUnit logger: system-out and system-err #179

@siegfriedpammer-qt

Description

@siegfriedpammer-qt

Is your feature request related to a problem? Please describe.
JunitXmlSerializer provides both stdout and stderr in the XML.

https://github.com/spekt/testlogger/blob/v6.1.0/src/JUnit.Xml.TestLogger/JunitXmlSerializer.cs#L276-L306

NUnitXmlSerializer does not.

https://github.com/spekt/testlogger/blob/v6.1.0/src/NUnit.Xml.TestLogger/NUnitXmlSerializer.cs#L259-L271

Describe the solution you'd like
Improve feature parity by copying those lines from JunitXmlSerializer to NUnitXmlSerializer

Describe alternatives you've considered
I am able to use --logger:"junit;LogFilePath=path/to/logfile.xml" but it feels somewhat weird to use a "JUnit" library with an "NUnit" project.

Additional context
I am reporting this because I was surprised that it didn't work with the NUnit variant and I want to make sure that future readers/users of this library can at least find this issue documenting this discrepancy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions