jcansdale / TestDriven.Net-Issues

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

dotnet-test-tdnet.exe #30

Open jcansdale opened 8 years ago

jcansdale commented 8 years ago

Investigate the feasibility of writing an adapter that would allow implementations of TestDriven.Framework.ITestRunner to be executed using the dotnet test protocol.

See: https://github.com/dotnet/cli/issues/3974

Thanks @plioi for the inspiration! :smile:

jcansdale commented 8 years ago

The journey begins: :wink: https://www.nuget.org/packages/TestDriven.Framework/2.0.0-alpha

This is the original TestDriven.Framework assembly, but compiled for .NET Core and .NET 2.0+. I've marked it as alpha because it isn't consumed by TestDriven.Net 4 yet, not that the interface is going to change. @plioi I'd recommend tweaking Fixie.TestDriven/project.json to consume it.

Here's a bonus drop of TestDriven.Net 4.0: TestDriven.NET-4.0.0_Enterprise_Alpha.zip

You can now Test With > .NET Core / .NET Framework and it will execute your tests using the targeted framework version (e.g. .NET 2.0 if you're building for that version). At the moment this is only really useful for "Ad hoc" tests because the testing abstraction assemblies have a dependency on .NET 4.5.1. :disappointed: