If you're using coverage in `pants test` via `--te...
# general
s
If you're using coverage in
pants test
via
--test-use-coverage
. What happens to tests not ran via
--changed-since
? Are they ignored? Or are they assumed to have passed?
r
They are ignored I think. I had issues with coverage going down when using
--changed-since
. That broke the CI because we had some minimum required coverage.
s
Got it. I'm able to configure my CI to use a persistent volume so I'm able to take advantage of pants' caching but unfortunately my CI decides to wipe the volume every now and then.
b
Yeah if you're using coverage, "running" all tests (leveraging the pants cache so they aren't always ran) is likely the most straightforward eay
I'm sure some smart people have done more sophisticated ways of storing the coverage from the merge base of the default branch and comparing based on only what ran... But that's not so simple