Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Enable Parallelization for Data-Driven Tests #405
following your documentation here:
did not execute my tests on parallel. furthermore, the Parallelize attribute cannot be found (you do not mention where this attribute is coming from)
Steps to reproduce
@sroei it's available with https://github.com/Microsoft/testfx/releases/tag/v1.3.0-beta2.
TestMethod1 and TestMethod2 will run in parallel to each other, but not at the level you are expecting. For example, although TestMethod1 has 3 scenarios, those scenarios will run sequentially.
Each test method will take 30 seconds to execute, but the total execution time should be around 30 seconds since TestMethod1 and TestMethod2 will run in parallel to each other.
Sorry for taking me a while. If this is not supported, please close the issue
This is the expected I was aiming for and the initial problem was that I could not run parallel on the iteration level. Running parallel on the test level is relatively easy and I use multiple test agents to achieve that (I have like 100 + Selenium Grid).
An example of the desired expected you can see on TestNG while set it to parallel data-source.
Problem: cannot be distributed around multiple agents nor run in parallel on a single machine.
I will try to open a feature request and hopefully this will be supported in the future - the current workaround (without splitting the data-source) is very ugly