You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
right now (v4.12) the isTestMethod method of TestSuite class ignores the methods those annotated with @test, and only accepts a method as test method is it starts with "test".
TestSuite is for legacy tests that don't use JUnit annotations. If your test classes use @Test then your test classes should not extend junit.framework.TestCase directly or indirectly.
In general, your classes should either import classes from org.junit or junit.framework but not both.
right now (v4.12) the isTestMethod method of TestSuite class ignores the methods those annotated with @test, and only accepts a method as test method is it starts with "test".
Suggest to fix it in the following way:
The text was updated successfully, but these errors were encountered: