Test event not received with Junit 5

i am trying to create a test suite for Unit test of android application, but it always fails with different kinds of configuration error, one among that is as follows,

Error: Test event not received

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':appModules:factList:testDebugUnitTest'.
> No tests found for given includes: [reprator.wipro.factlist.FactListTestSuite] 
 (filter.includeTestsMatching)

RepoDetails: https://github.com/TheReprator/Wipro/tree/junit5

Branch: junit5

TestSuite Class: https://github.com/TheReprator/Wipro/blob/junit5/appModules/factList/src/test/kotlin/reprator/wipro/factlist/FactListTestSuite.kt

 

Stackoverflow Question Link: https://stackoverflow.com/questions/68750803/junit5-testsuite-with-selectclasses-not-working-in-android-unit-test 

My whole code works perfectly with junit4 in master branch.

Please assist.

0

Please sign in to leave a comment.