nunit / dotnet-test-nunit

Deprecated test runner for .NET Core. For use with project.json only. For recent releases of .NET Core, use the NUnit 3 Visual Studio Adapter
https://www.nuget.org/packages/dotnet-test-nunit/
MIT License
67 stars 25 forks source link

NET Core Tools MSBuild Support / Documentation #91

Open mozts2005 opened 7 years ago

mozts2005 commented 7 years ago

Unable to run unit tests using .NET Core and Nunit 3.5 and VS 2017RC. HTe project was working fine in vs 2015 with the project.json file. But once upgraded to MSBUILD nothing works.

No errors are being shown in the error list or the output window.

I would like to see docs for how to install and setup from scratch using VS 2017.

rprouse commented 7 years ago

None of the dotnet-test-* adapters work with the new CSPROJ/MSBUILD format. The teams at Microsoft decided to switch the old style adapters leaving this project dead. Unfortunately, migrating our existing desktop adapter to support .NET Core is a big project and we aren't even close to done. We are hoping to get it working by the time VS 2017 goes RTM, but no guarantees.

In the meantime, the work around is to drop back to NUnitLite support. My post on how to do it is a bit out of date, but should get you started. http://www.alteridem.net/2016/05/18/testing-net-core-rc2-using-nunit-3/

ViktorHofer commented 7 years ago

Hey @rprouse! Thanks for the great work. Any updates on the migration of the existing desktop adapters to support .NET Core?

rprouse commented 7 years ago

I made decent progress yesterday and am going to do another push this afternoon. No ETA though.