I have VS 2017 and .net 4.6
On trying to run via cmd prompt using vstest.console:
vstest.console.exe bin\Release\Tests.dll /UseVsixExtensions:true
I am getting warning "No test is available in /bin/Release/test.dll
Make sure that installed test discoverers & executors, platform & framework version settings are appropriate and try again."
So, I tried listing the tests but it doesn't show any tests.
vstest.console.exe bin\Release\Tests.dll /ListTests /UseVsixExtensions:true
Unit tests class file is as shown below.
[TestFixture]
public class class1
{
static void StartTest(string[] args)
{
}
[Test] [Category("Regression_Test")]
public void TS1()
{
}
}
I tried googling for similar issue but didn't find anything that would work. Any help is really appreciated