https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

robstoll

08/09/2021, 10:24 PM
why does allTest not fail if it failed previously? I worked around (I still let it fail if it failed without the need to execute the tests again) but I realised that gradle's test task does not have the same behaviour. And what surprised me even more is that :jvmTest also executes the test again if it failed previously.
r

russhwolf

08/09/2021, 10:50 PM
Try running
cleanAllTests
first
r

robstoll

08/09/2021, 11:00 PM
I am more wondering about the reason for the different behaviours. Personally I don't mind/prefer if no tests are executed again whereas cleanAllTests would execute all tests again (also from platforms which might have been run with success)
3 Views