0

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.

Thank you.

5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.