When running JUnit testing , it gave an initializationError: No tests found matching. Like this:
prodapi-main-junit initializationError(org.junit.runner.man
Had the same issue with PowerMock @RunWith(PowerMockRunner.class) then discovered that my @Test was the wrong implementation. Was using import org.junit.jupiter.api.Test;
@RunWith(PowerMockRunner.class)
@Test
import org.junit.jupiter.api.Test
I switched to import org.junit.Test; and that fixed the problem for me.
import org.junit.Test;