21.03.2013 Views

Object Oriented ABAP

Object Oriented ABAP

Object Oriented ABAP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Executing Unit Tests:<br />

For program,<br />

For class,<br />

Program -> Test -> Unit Test.<br />

Class -> Unit Test.<br />

For Function Module,<br />

Function Module -> Test -> Unit Test.<br />

Result of Unit Test:<br />

If both the actual and the expected result is same, then Unit test does not find any errors.<br />

In that case one message will be displayed on status bar like,<br />

If it finds errors then a result will be displayed as follows:<br />

The task is displayed in a tree structure with a Program name, Class name and method<br />

name. Both the expected and the actual results can be seen in the Unit test results. Also in

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!