Question

I'm looking for good reference material regarding the use of ABAP Unit Test Classes.

I'm interested in any of the following:

  • Documentation on the functionality
  • Best Practises
  • "How To Guides"
  • Blogs/Books on people's experience in using test-driven development in a SAP environment, particularly what sort of scenarios leans themselves to test-driven development & how you get around the dependency of SAP on business data.
Was it helpful?

Solution

There is some documentation in sap.com.

Also, there is a German PDF (see here) that may be helpful if you know some German ;-) At least it contains a few email addresses of people that may be able to help. Not sure because the PDF is from a conference in 2003, so the contact info may not be too up to date.

Lastly. there seems to be a German book (on Amazon Germany) .. again not sure if that helps you.

OTHER TIPS

I recently wrote a blog article on my experiences here: Adopting Test Driven Development using ABAP Unit

There is some documentation in SE24 for class CL_AUNIT_ASSERT. Doing a where-used on the class gives an indication of how it is meant to be used.

There also is a 5 part blog series on SAP SDN

UPDATE: There is now also an excellent course on ABAP Unit on OpenSAP.com. It is called

Writing Testable Code for ABAP

The URL for the course is: https://open.sap.com/courses/wtc1

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top