Actions
action #73354
openidea and RFC: Use Test2::Aggregate
Start date:
2020-10-04
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
I watched https://www.youtube.com/watch?v=olH41BhFx6M about https://metacpan.org/pod/Test2::Aggregate and found the outlook promising. The approach of aggregate tests could help us to reduce test runtime, find race conditions easier as well as flaky tests, tests that can not be run in parallel and tests impacting each other in a harmful manner
Acceptance criteria¶
- AC1: Tests in CI run faster with Test2::Aggregate (or other benefit)
Updated by livdywan almost 4 years ago
Me thinks this was proposed before but met with scepticism:
- Misbehaving tests can break other tests
- Symbols shared one namespace e.g.
sub
s must have unique names - The environment is not reset
BEGIN
/END
blocks apply to other tests
Updated by tinita almost 4 years ago
Yeah, I think this would only make sense for real unit tests without fork or exec/system calls.
Updated by okurz almost 4 years ago
I would still consider this useful if we can get it to run for a subset of tests. Maybe we want to address all these "misbehaving" tests :)
Actions