views:

113

answers:

3

I am looking for some tutorials and guides for unit testing on SAP platform. So far, I have found some mention of ABAP Unit and of Ruby programming language being implemented on SAP platform, making it much more interesting option for unit testing SAP. However, the information is quite scarce and I would appreciate some help on the subject.

+1  A: 

The ABAP Unit Wiki on the SDN is a good place to start, as well as this ABAP Unit Best Practices article.

SAPTechnical.com also has an ABAP Unit overview.

And finally, you should check out the links in this question.

BenV
+1  A: 

Just with regards to your reference to Ruby on the SAP ABAP platform, what you are referring to is "Blue Ruby". This is a project of SAP's research labs and you can find information about it on the SAP Developer Network wiki

In my testing a year ago, I found that Blue Ruby was much preferable to ABAPUnit in several ways, including the ability to be more true to test/behavior-driven-development principles by (for example) writing a test for a method before implementing the method.

Ruby, of course, also has far more and more mature TDD/BDD libraries than ABAP, which pretty much just has ABAPUnit and the eCATT tools. These libraries (RSpec, Cucumber, etc) seem to work under Blue Ruby. Both ABAPUnit and Blue Ruby have improved a lot since I looked in to them a year ago, but only for the better, I think.

Ethan Jewett
A: 

Detroubulator (http://www.applicon.dk/Detroubulator/) is a unit test tool for mapping programs (XML transformations) running in SAP's PI product. It's written in Java and might be considered a JUnit/Schematron hybrid.

mwittrock