I have a JUNIT test class that contains a few test methods. Now I have a another test class which is parameterized with a bunch of parameters and I have a specific use case(test) that i'd like to keep in this new class. However, I do want to run the other tests in the earlier test class as well but I do not want to duplicate code.
So i inherit that class, and the tests run without an issue. But I am wondering if this is good testing design.