-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
When running yath --rerun-failed I would expect the default log location (lastlog.jsonl) to be assumed, but this does not appear to be true.
To reproduce:
tove:/tmp$ mkdir yath-test
tove:/tmp$ cd yath-test/
tove:/tmp/yath-test$ mkdir t
tove:/tmp/yath-test$ echo "use Test::More; fail('no'); done_testing" > t/1.t
tove:/tmp/yath-test$ echo "use Test::More; pass('yes'); done_testing" > t/2.t
tove:/tmp/yath-test$ echo "use Test::More; pass('yes'); done_testing" > t/3.t
tove:/tmp/yath-test$ yath test -L
Now lastlog.jsonl exists, as a symlink to tmp space.
tove:/tmp/yath-test$ yath --rerun-failed
…and all four tests are run. But I instead I run:
tove:/tmp/yath-test$ yath --rerun-failed=lastlog.jsonl
…then only the failed one is run.
+----------------------------+----------+
| COMPONENT | VERSION |
+----------------------------+----------+
| perl | v5.40.1 |
| App::Yath | 1.000156 |
| Test2::API | 1.302199 |
| Test2::Suite | 0.000162 |
| Test::Builder | 1.302199 |
| App::Yath::Plugin::Cover | 1.000156 |
| App::Yath::Plugin::Git | 1.000156 |
| App::Yath::Plugin::Notify | 1.000156 |
| App::Yath::Plugin::SysInfo | 1.000156 |
| App::Yath::Plugin::YathUI | 1.000156 |
+----------------------------+----------+
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels