jcansdale / TestDriven.Net-Issues

Issue tracking for TestDriven.Net
https://github.com/jcansdale/TestDriven.Net-Issues/issues
24 stars 2 forks source link

Add support for .NET Framework / .xproj based projects that use `ITestRunner` interface #40

Closed jcansdale closed 8 years ago

jcansdale commented 8 years ago

.NET Framework based projects should be able to work as they did before by simply referencing the test framework assembly (NUnit/xUnit/MSTest/etc). Only projects that target .NET Core should be required to use the new dotnet test / testRunner based test runners.

jcansdale commented 8 years ago

Tests will be executed using the original test runner interface when:

Otherwise both .NET Core and .NET Framework tests will be executed by the new "dotnet test" / "testRunner" interface. The Test With > .NET Framework and Test With > .NET Core commands will also use the new interface. This keeps testing as consistent as possible when testing using different frameworks.

jcansdale commented 8 years ago

Please give this build a try and let me know how you get on!

TestDriven.NET-4.0.3348_Extraterrestrial_Alpha.zip

bradwilson commented 8 years ago

That appears to work for running methods, classes via source, and classes via Solution Explorer, but not assemblies or solutions. But getting closer! :)

jcansdale commented 8 years ago

Thanks for the catch. It's getting a bit ugly in places!

Could you give this one a try: TestDriven.NET-4.0.3349_Extraterrestrial_Alpha.zip (this one is obsolete -- see the link below)

bradwilson commented 8 years ago

Victory!

jcansdale commented 8 years ago

You can now download TestDriven.Net 3.0-beta from the website: http://testdriven.net/download.aspx

I've also added some notes to this page: https://github.com/jcansdale/TestDriven.Net-Issues/