7

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.
Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Esti
  • 3,677
  • 8
  • 35
  • 57

4 Answers4

2

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.

Thorsten
  • 12,921
  • 17
  • 60
  • 79
  • +1 for letting me earn the tumbleweed badge before answering :P Thanks, my German's not that great, but the sap help is useful. I will try to word this question a bit better sometime. I just find that unit testing does not seem to feature at all in many SAP projects, and I believe there is merit in at least considering it. – Esti Sep 30 '09 at 05:55
1

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

Esti
  • 3,677
  • 8
  • 35
  • 57
1

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

Siddharth Rout
  • 147,039
  • 17
  • 206
  • 250
nath
  • 178
  • 1
  • 3
1

Wondering if you'd checked these links...

Thanks.

closebrace
  • 333
  • 1
  • 4