We have around 400+ TestCafe js files and we are running these tests nightly through our CI/CD pipeline. Our problem right now is that, it consumes a lot of hours before it completes the test. What we are planning to do is to split up those tests maybe at least 4. Now my question is: How can we run the TestCafe in 4 instances with each instance runs the split tests?
For example: Instance 1 - runs Tests #1 - #100 Instance 2 - runs Tests #101 - #200 Instance 3 - runs Tests #201 - #300 Instance 4 - runs Tests #301 - #400