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.



Your Answer

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