Test unit test method has been implemented in the parent class abstract class

1: write test method in a subclass (the implementation class), the method calls the inherited parent class has been achieved.

Write test classes, test classes with the beginning of the statement.

"! @testing CL_CRMS4_TECHOBJ_SEARCH_SRV,

Wherein: CL_CRMS4_TECHOBJ_SEARCH_SRV is an abstract class (parent class) for a write test classes can be used to test coverage of the parent class.

 

 

Call the inherited method.

 

 

2: View coverage abstract class (parent class) method, performing t-code: sut

 

 

3: Fill select classes and parent classes include foreign related tests (test the above classes include the room).

 

 4: The parent class test coverage.

 

Guess you like

Origin www.cnblogs.com/liyafei/p/11445557.html