Disadvantages of using Inherited tests in JUnit
Introduction In this tutorial, we will learn why inherited tests in JUnit create lot of confusion. Many people tend to inherit test classes for the sake of reusing the annotated code or methods. There are many drawbacks using this approach. Coupling Tests Together The derived tests tend to run in the frame of the parent […]