I'm trying to run a hundred tests in parallel with SpecFlow+Runner 3.7.3, netcore31, x64 mode on Windows Server 2019. The code is using SpecFlow 3.7.13.
Below are my Execution and Environment elements in default.sprofile. I'm using thread isolation level (SharedAppDomain).
<Execution stopAfterFailures="0" testThreadCount="100" testSchedulingMode="Sequential" retryCount="0" />
<Environment testThreadIsolation="SharedAppDomain" />
I was able to spawn 100 threads at the same time. The tests ran to completion. However, in the HTML report the console outputs from different tests were mixed together. I'm unable to associate the output with the corresponding test case.
Before I used Specflow I was using MsTest v2 parallel execution. I ran into a similar issue. The fix was to use TestContext. However, here I'm using Specflow+Runner rather than MsTest.
Any help is appreciated!
Please sign in to leave a comment.