Are tests flavour specific (newbie question, sorry...
# kotest
m
Are tests flavour specific (newbie question, sorry). I'm just starting to add tests to a codebase. My first couple of tests in the commonMain section of a KMM project cause a process to run without ever returning and show error messages in the run panel as
Test events were not received
> Task :<shared module>:compile<flavour>UnitTestJavaWithJavac NO-SOURCE
> Task :<shared module>:test<flavour>UnitTest FAILED
I don't want it flavour specific. I'm not aware of doing anything that would cause that, except have flavours in the project. I'm using a shouldSpec (irrelevant?) and version 5.4.2. Does that make it obvious (to you) what I've got wrong?
I think I've fixed the "doesn't return" issue by making sure the JDK usage is correct. Still saying "tests not received" though 😕
s
I think by default the gradle junit block errors if no tests are present in a particular module, which you can disable.