Unable to use TestDriven.Net with MSpec

645 Views Asked by At

I am currently trying to use TestDriven.Net with MSpec. I installed TestDriven.Net and then imported MSpec from Nuget into my class library. When I try to run my tests I get the following output.

The target type doesn't contain tests from a known test framework or a 'Main' method.

I have also copied the Machine.Specifications.dll.tdnet and Machine.Specifications.TDNetRunner.dll in the Debug folder of my solution where all the dlls are deployed but still I see no change.

Am I missing something?

1

There are 1 best solutions below

6
shamp00 On

Try running the TestDriven.Net batch file installer first. It's shipped with the Nuget package. You can find it under

\packages\Machine.Specifications.0.8.3\tools\InstallTDNetRunner.bat