https://github.com/nunit/dotnet-test-nunit
if you are using Visual Studio.
Your project.json
in your test project should look like the following;
{
"version": "1.0.0-*", "dependencies": { "NUnit": "3.5.0", "dotnet-test-nunit": "3.4.0-beta-3" }, "testRunner": "nunit", "frameworks": { "netcoreapp1.0": { "imports": "portable-net45+win8", "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", "type": "platform" } } } } }
https://www.nuget.org/packages/dotnet-test-nunit/
Install-Package dotnet-test-nunit -Version 3.4.0-beta-3