Hi everyone, I’m facing an interesting situation where I’m using Kotest assertions with Junit5 and Testcontainers.
If I have a test function that contains a call to shouldThrow or shouldThrowAny, then that function is no longer being recognised as a test. If I run the enclosing test class then all test functions will be run except those that contain shouldThrow/Any and if I run the test against that function specifically I get a “No tests found for given includes:”
Does anyone know what could cause such a thing where including shouldThrow no longer makes a function recognisable as a test?