Archive for February 2nd, 2010
Refactoring JUnit 3.8 to 4.0 when hierarchy extends TestCase
February 2nd, 2010 by Jeanne BoyarskyProblem: I want to start writing tests in JUnit 4.0, but I have a lot of tests in JUnit 3.8. I can’t just start writing tests in 4.0, because I rely on common setup/assertions in my custom superclass which extends TestCase. (Which means JUnit will only look for 3.8 style tests) Solution: Create one or [...]
Categories: Java/J2EE.
Tags: junit, testing
Comments: none
