Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Ignored inheritance #139

Open
krpiotrek opened this issue May 29, 2018 · 0 comments
Open

Ignored inheritance #139

krpiotrek opened this issue May 29, 2018 · 0 comments

Comments

@krpiotrek
Copy link

krpiotrek commented May 29, 2018

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant