|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Understanding "ABAP Unit"
Executing Unit Tests:
Program -> Test -> Unit Test.
Class -> Unit Test.
For Function Module,
Function Module -> Test -> Unit Test.
Result of Unit Test:
If both the actual and the expected result is same, then Unit test does not find any errors. In that case one message will be displayed on status bar like,
If it finds errors then a result will be displayed as
The task is displayed in a tree structure with a Program
name, Class name and method name. Both the expected and the actual results can
be seen in the Unit test results. Also in the stack it will be displaying the
line number where the error occurred. By double clicking the line number we can
enter into the source code.
ABAP Unit results in
We can see the ABAP unit results in code inspector. While creating the variant, check for the ABAP unit in Dynamic check.
In the Code inspector results we can check for the ABAP
unit errors, warnings and informations.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards