Hi there,
I've been playing around with both SpecFlow and SpecFlow+ to evaluate whether it would be suitable for running selenium tests in parallel with selenium grid.
I started with SpecFlow and as per the documentation and managed to get my tests running in parallel using context injection across each feature file - i.e. a separate browser instance for each feature file.
I then wanted to run each scenario multiple times for different browsers. I may be missing something but I couldn't see how to repeat a scenario with SpecFlow without copying the scenario or copying the scenario into another feature file.
It seemed like SpecFlow+ might fit this need without needing to duplicate scenarios and feature files for multiple browsers as based on the example projects on GitHub, you can add tags that then refer to the Default.srprofile file within which you can add a transformation for a browser setting within the app.config file.
Unfortunately I can't seem to get it to run in parallel. It doesn't matter what I set as testThreadCount, it only seems to run each test in each feature file sequentially. I'm also getting lots of skipped tests the higher I set the testThreadCount. It might be that the operation is too expensive for my duel core ultrabook.
My project is modelled on...
The ideal end result would be to run each feature file in parallel, and each scenario within that feature for each browser sequentially, so your threads are split per feature.
I don't suppose anyone has any working examples?