This thread is trying to answer question "Is it recommended to use parallelism in .NET, specifically when running tests on a VM with two cores?"
Would suggest experimenting, but thought the rule of thumb is half your cores. 2 cores 1 worker... My last machine had 2 coren 2 threads each, using 3 workers, would get random failure. Got a machine with a lot more threads can easily run 10 or 12 workers. Test use to take a loooooong time, now it is a lot faster 🙂
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email email@example.com.