O'Reilly logo

SAP ABAP Objects: A Practical Guide to the Basics and Beyond by Rehan Zaidi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required