-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force test re-runs if generated report or snapshot dirs are deleted #206
Conversation
ceaa3e8
to
afd68ff
Compare
After running Is there anyway to improve this caching behavior? |
potential other workaround: |
@TWiStErRob You linked to
|
Oh, you are right about the rerun option, it's not like Can you please report a new issue with a full repro? Including version numbers. According to the code there's a property added to the test task, that should trigger a rerun. Do you use Gradle predictive test selection or similar? |
What property is that?
No I wasn't able to reproduce this properly yet. Deleting reports trick doesn't even work with paparazzi/sample. It just re-creates the report & but tests are not run For example:
Deleting the report doesn't work in this case - |
That's probably because caching is enabled: Line 1 in 17e3538
Lines 173 to 174 in 17e3538
Which means
Also, here, you must be aware that
and just as I was writing this, I realized the problem... All the systemProperties manipulation is eager, and the I have a feeling as quick solution we might be able to add:
so that when it comes to UP-TO-DATE check, it has the providers as dependencies. |
Created unit test and fix based on above findings #690 |
Similar to #204, but with task outputs. Closes #178.