Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name and Fullname are the same in V3 XML format #39

Closed
Stefan-Ilic opened this issue May 8, 2020 · 4 comments · Fixed by #46
Closed

Name and Fullname are the same in V3 XML format #39

Stefan-Ilic opened this issue May 8, 2020 · 4 comments · Fixed by #46

Comments

@Stefan-Ilic
Copy link

Hi,

I noticed that when running V3 tests with the V3 console against an assembly, the output XML's first test-suite element (with type="Assembly") has a name attribute, which is only the assembly name (like Foo.dll) and a fullname (like C:\Bar\Foo.dll).

Running V2 tests with the V3 runner and the nunit-v2-framework-driver seems to have C:\Bar\Foo.dll in both the name and fullname attribute.

I'd expect name to be the assembly file name with V2 tests as well.

Best regards,
Stefan Ilic

@CharliePoole
Copy link
Member

What versions of the v2 framework driver, v2 framework and console or other runner are you using?

@Stefan-Ilic
Copy link
Author

NUnit Framework Version: 2.6.3
NUnit.ConsoleRunner Version: 3.11.1
NUnit.Extension.NUnitV2Driver Version: 3.8.0

@CharliePoole
Copy link
Member

I'm confirming this for both nunit 3 and nunit v2 tests run with output format nunit2. At the moment, it's unclear whether fixing the driver extension will fix both problems or if the nunitv2 output writer extension will require changes as well.

@CharliePoole
Copy link
Member

🎉 This issue has been resolved in version 3.9.0 🎉

The release is available on:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants