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
{{ message }}
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
Hi,
Currently TestSuiteLoader looks for methods annotated with @Test and only those methods are run for a specific class. Unfortunately this means, that inherited test methods will be ignored. Normally, when running a test with junit runner, if you have class B extends A, both B and A test methods will be run, which also allows you to modify class A tests behaviour by modifying @Before/@After. Looks like TestSuiteLoader could maybe analyse super classes as well and add those test cases as well. Is there a reason it is not done at this point and does it make sense to do this?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Currently
TestSuiteLoader
looks for methods annotated with@Test
and only those methods are run for a specific class. Unfortunately this means, that inherited test methods will be ignored. Normally, when running a test with junit runner, if you haveclass B extends A
, bothB
andA
test methods will be run, which also allows you to modify classA
tests behaviour by modifying@Before/@After
. Looks likeTestSuiteLoader
could maybe analyse super classes as well and add those test cases as well. Is there a reason it is not done at this point and does it make sense to do this?The text was updated successfully, but these errors were encountered: