testing - Making a JUnit test case for an abstract java class? -


this question has answer here:

i have develop junit test cases application has several abstract classes , methods. is possible create junit test cases abstract classes without being extended class? if subclass extends abstract class, enough test subclass? how create test cases non abstract methods of abstract class?

since cannot create instance of abstract class must use derived class test it. can create simple class extends abstract class testing purposes. when testing ensure subclass used test methods requiring testing in abstract class.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -