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

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -