Get number of concurrent tests running in AVA

83 Views Asked by At

I have test cases that are failing due timestamp differences as a result of a lot of tests running at once. I want to adjust the difference depending on the number of test cases running at point in time.

Is there a way to get the number of test cases that AVA is currently running? It doesn't appear that a search has a lot of information on this issue.

1

There are 1 best solutions below

2
On BEST ANSWER

No AVA does not provide this.

Why do you encounter timestamp differences? Might your tests be too brittle?

Perhaps it'll help if you use test.serial()?