Reputation: 59
I am working on BDD (written in selenium webdriver with c#). For sequential execution we were using nunit but now the client requirement is parallel execution. Gone through so many documentation but only found Pnunit. Steps executed till now
but its also not working. It says that class is not found under dll. Please provide any suggestions.
-Neeraj
Upvotes: 1
Views: 1212
Reputation: 1269
YOu can try this tool https://github.com/qakit/ParallelTestRunner. I developed it for running NUnit tests in parallel (actually it will run in parallel not tests but testfixtures in your tests lib). Works fine for me =). If you will face any problems report me, will try to solve.
Upvotes: 1
Reputation: 2402
I've developed a method of running selenium tests in parallel that I've written about here http://blog.dmbcllc.com/running-selenium-in-parallel-with-any-net-unit-testing-tool/
Upvotes: 1
Reputation: 32936
Concurrent execution is not supported by Specflow using the standard test runners as the Specflow engine itself is not thread safe. This issue has been addressed and is currently being tested, and the fixed code should be merged in the next few weeks. Please see the discussion here and here
It is possible to use app domain isolation to run tests in parallel, Specflow+ and NCrunch use this technique.
Upvotes: 1