Archive for May, 2008
If you have created an Abstract Class you may want to test its non abstract methods. But there is one problem: we can’t instantiate abstract classes. There are two ways to test their non abstract methods: Testing Abstract Classes Through Their Children’s Suppose we have the following abstract class named Person: public abstract class Person […]
Filed under: TDD | 2 Comments
Tags: java, junit, TDD, testing, unit test