简体   繁体   中英

Get number of concurrent tests running in AVA

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.

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() ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM