When analyzing the source code, the object creation code of the concrete class that inherits the abstract class is automatically generated in the class factory so that the object of the abstract class can be created. In the object creation code of the abstract class, a framework for the concrete class is provided so that the user can easily create the concrete class.

When creating a test, if a concrete class that inherits that abstract class exists in the source code, that class is linked with the test, and if the concrete class does not exist, the object creation code in the class factory is linked.

You can apply different types of abstract classes to your tests by adding object creation code.

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.