开发者

Unit testing and SAP software

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 s开发者_运维技巧oftware, making it much more interesting option for unit testing SAP software. However, the information is quite scarce and I would appreciate some help on the subject.


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.


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.


There is 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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜