Closed s-kum-1 closed 2 years ago
Hi, could you share more details please?
Could it be that you have some shared stated in your test framework that fails because of parallel testing? You need to ensure all tests can pass in its own right and not have any shared state between tests.
If your Cucumber tests fails then Courgette will just report the failure, it does not change the statuses of test results.
Hi,
What errors do you see when you run 6 threads or more? When we run on 6 threads or more then maximum time application does not loads fully which results into test case failure. Due to which new browser invokes. But we execute using 4 threads then application loads properly and it works fine.
Is any of the errors related to Courgette-JVM (i.e you see Courgette exceptions) ? I do not see any Courgette exceptions
Do you get the same test failure every-time? Loading issue appears on 6 or more threads so same failure appears on different test cases every time. But individually all tests can pass in its own right.
Please share a project to replicate this as it seems very specific to your test environment / the way your project is set up.
Closing inactive issue.
I am using courgette-jvm dependency to execute parallel cases. On using thread count as more than 6, maximum cases fail but on running on thread count as 4 or less than that then cases pass. Kindly take a look.