1

I have created restsharp specflow tests using NUnit framework and I am using MSTest as a test runner in app.config file. I tried to run the tests via command line and it does not work - says the tests are not found.

These are the commands I have tried:

  1. bin\Debug\MSTest /testcontainer:[prjectfilename.dll] /test[specflow feature file name]
  2. bin\Debug\MSTest /testcontainer:[prjectfilename.dll] /test[specflow scenario name]
  3. bin\Debug\MSTest /testcontainer:[prjectfilename.dll] /category[specflow tag name]
  4. bin\Debug\MSTest /testcontainer:[full path for prjectfilename.dll /test:[specflow feature file name]

Any help will be appreciated.

5

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.