Skip to main content

Automated Unit Testing with ABAP

  • Chapter
  • First Online:
Automated Unit Testing with ABAP

Abstract

With the concepts underlying xUnit now familiar to us, this next chapter covers how ABAP Unit provides the xUnit capabilities to the ABAP language.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Except, of course, the Class Browser is used to define the local test classes used for testing global classes

  2. 2.

    Keller, Horst and Thümmel, Wolf Hagen, Official ABAP Programming Guidelines, Galileo Press, 2010, p. 287

  3. 3.

    Ibid

  4. 4.

    Keller, Horst and Thümmel, Wolf Hagen, Official ABAP Programming Guidelines, Galileo Press, 2010, p. 54

  5. 5.

    ABAP Keyword Documentation ➤ CLASS ➤ class_options ➤ FOR TESTING ➤ Test properties

  6. 6.

    Ibid

  7. 7.

    Osherove, Roy, The Art of Unit Testing, second edition, Manning, 2014, p. 166

  8. 8.

    Ibid, p. 184

  9. 9.

    SAP online help text. To access via SE38, locate or create a call to method abort of class cl_abap_unit_assert in one of the unit test methods, place the cursor on the method name, and press F1.

  10. 10.

    Osherove, Roy, The Art of Unit Testing, second edition, Manning, 2014, p. 6

  11. 11.

    Keller, Horst and Thümmel, Wolf Hagen, Official ABAP Programming Guidelines, Galileo Press, 2010, p. 204

  12. 12.

    Meszaros, Gerard, xUnit Test Patterns: Refactoring Test Code, Addison Wesley, 2007, p. 233

  13. 13.

    Ibid, p. 228

  14. 14.

    Martin, Robert C., Clean Code: A Handbook of Agile Software Craftsmanship, Prentice Hall, 2009, p. 132

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

McDonough, J.E. (2021). Automated Unit Testing with ABAP. In: Automated Unit Testing with ABAP. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6951-0_5

Download citation

Publish with us

Policies and ethics