1nickt has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to use prove --state=failed,save. But it seems to not work as documented.
The first thing that is unclear is whether "test" in the doc refers to individual tests, or to test files. So I tried it both ways.
At the urging of Bishop toolic I am posting here my test files and results.
With multiple tests in a single file:
As you can see all four tests were run the second time as well as the first time. There also does not seem to be anything in the .prove file that records the outcome of the individual tests.
With multiple test files:
As you can see, again all four test files were run the second time as well as the first time. The only difference is that on the second run the failing test files were run first, and then the ones that had succeeded on the first run. Again, this is not the behaviour the documentation describes.
Any clues gratefully accepted, especially if you are using this feature yourself with success.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: prove --state=failed,save
by choroba (Cardinal) on Feb 25, 2018 at 20:27 UTC | |
by 1nickt (Canon) on Feb 25, 2018 at 23:35 UTC |