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

Add support for net standard #12

Open
clydevassallo opened this issue Aug 8, 2018 · 6 comments
Open

Add support for net standard #12

clydevassallo opened this issue Aug 8, 2018 · 6 comments

Comments

@clydevassallo
Copy link

I am currently calling running NUnit tests in a .NET Standard 2.0 project using the nunit.engine.netstandard NuGet package.

After running the tests, I would like to generate the NUnit2 xml report to pass it on to Specflow's report generator. Presently, NUnit.Extension.NUnitV2ResultWriter target .NET Framework so I cannot initialize the NUnit2XmlResultWriter and call the WriteResultFile() in my .NET Standard project.

@jnm2
Copy link

jnm2 commented Oct 4, 2018

@ChrisMaddock Can addins target .NET Standard yet?

@CharliePoole
Copy link
Collaborator

@jnm2 Not to be overly picky, but they are called "Engine Extensions". The term "Addins" is used in NUnit in two ways: (1) a now-obsolete method of extending the v2 framework and (2) a proposed enhancement to engine extensions, which bundles extensions targeting multiple points and possibly multiple applications (e.g. engine and gui) into the same assembly. In anticipation of implementing the second, I used .addins as a file extension.

The desire for users to have the same extensions available in the .NET Standard "engines" is very natural and is one of the main reasons I thought that calling them "engines" was a bad idea.

@ChrisMaddock
Copy link
Member

@JMM2, not yet unfortunately. There’s an updated .NET standard engine on a branch at the moment. Extensions are a little further down the list. 😊

@jnm2
Copy link

jnm2 commented Oct 4, 2018

Oh, right. That makes sense.

Can we link this issue so we don't lose track of it?

@ChrisMaddock
Copy link
Member

At the moment, the only source of this discussion is here: https://github.com/orgs/nunit/teams/engine-team/discussions/4

Turning that discussion into publicly visible issues is still on my todo list. 😞

@CharliePoole
Copy link
Collaborator

Moving this out of the 3.7 milestone while we discuss whether to support V2 output in dotnet core.

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

No branches or pull requests

4 participants