skippy-io / skippy

Mono-repo for all Skippy projects.
https://www.skippy.io
Apache License 2.0
15 stars 0 forks source link

Using Skippy with Android Projects #162

Open helios66 opened 1 week ago

helios66 commented 1 week ago

Hello! Amazing work with this library. I am currently trying to get it setup for a multi-module android project (~400 modules). The project is in Kotlin and used both Junit4 and Junit5.

I was able to apply the plugin to modules in the project, running tests generates the .skippy folder with the config.json, LATEST, predictions.log and test-impact-analysis.json files.

However, subsequent runs with or without changes don't seem to update the predictions.log file the way the tutorial says. All tests annotated by @PredictWithSkippy and using the @ClassRule never get updated from the {testname}, EXECUTE,TEST_IMPACT_ANALYSIS_NOT_FOUND phase in the predictions.log file. I would expect that running the tests with no changes should at least update the entries to {testname}, SKIP,NO_CHANGE and vice-versa.

I would like to know if there's a configuration somewhere I might be missing?

fmck3516 commented 1 week ago

That sounds like a bug. Is there a way for you to share a minimal sample project for me to look at?