14.01.2020 Views

ABAP_to_the_Future

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4

ABAP Test Cockpit

Once you have saved your settings, this ensures that, during a Code Inspector

check, the unit test will run along with the static code checks and amalgamate the

results. The result of such a test is shown in Figure 4.2.

Figure 4.2 ATC: Amalgamated Result List

In the same way that the ATC can perform static code checks on multiple programs

at once, it can also do unit test runs on the same set of objects. Provided

you have a lot of unit tests in your custom programs, this can be enormously beneficial

as a regression test.

RS_AUCV_RUNNER

If you are only interested in th e results of unit tests, report RS_AUCV_RUNNER can be

used to run a batch job for mass checks of unit tests and emailing the results; this report

became available in the 7.02 system.

4.2 Mass Checks

Usually, when creating development objects (executable programs, function

modules, and classes), you would perform an extended syntax check and then a

Code Inspector analysis when you are finished with your changes and are signaling

that they are ready for transport to the test system.

This is all good, but it’s possible that if(for example) you have added a new obligatory

import parameter to a function mo dule or method (which you should not

really do) or changed the data type of such a parameter, then you might break a

178

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

Saved successfully!

Ooh no, something went wrong!