© Rehan Zaidi 2019
R. ZaidiSAP ABAP Objectshttps://doi.org/10.1007/978-1-4842-4964-2_7

7. ABAP Unit Test-Driven Development

Rehan Zaidi1 
(1)
Dubai, United Arab Emirates
 
An important topic that remains to be discussed is testing the methods and code that we write. SAP provides the unit test framework embedded in ABAP. In this chapter, we learn in detail about the following topics:
  • Unit testing advantages

  • Defining unit classes

  • Exception handling in unit testing

  • Using the unit test browser

We will start with a brief explanation of testing and its various types. We will then see what unit testing and test-driven development are. We will also cover the advantages of unit testing. We will then cover creation of the unit test method and classes in detail and ...

Get SAP ABAP Objects: A Practical Guide to the Basics and Beyond now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.