org.junit.platform.commons.JUnitException: TestEngine with ID ‘junit-jupiter’ failed to discover tests

I had this issue when I upgraded the versions of JUnit from 5.7.0 to 5.8.2.
Try with version 5.7.0 for org.junit.jupiter:junit-jupiter-api and org.junit.jupiter:junit-jupiter-engine

Leave a Comment