单元测试和 SAP 软件
我正在寻找一些有关 SAP 平台上的单元测试的教程和指南。 到目前为止,我发现了一些提及 ABAP 单元 Ruby 编程语言在 SAP 软件上实现,使其成为 SAP 软件单元测试的更有趣的选择。然而,信息非常匮乏,我希望能在这个问题上得到一些帮助。
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 software, 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
SDN 上的 ABAP Unit Wiki 是一个很好的地方start,以及此 ABAP 单元最佳实践文章。
SAPTechnical.com 也有 ABAP 单元概述。
最后,您应该查看此问题中的链接。
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.
就您对 SAP ABAP 平台上的 Ruby 的引用而言,您指的是“Blue Ruby”。这是 SAP 研究实验室的一个项目,您可以在 SAP 上找到相关信息Developer Network wiki
在我一年前的测试中,我发现 Blue Ruby 在几个方面比 ABAPUnit 更可取,包括通过(例如)编写来更忠实于测试/行为驱动开发原则的能力在实施方法之前对方法进行测试。
当然,Ruby 还拥有比 ABAP 更成熟的 TDD/BDD 库,ABAP 几乎只有 ABAPUnit 和 eCATT 工具。这些库(RSpec、Cucumber 等)似乎可以在 Blue Ruby 下工作。自从我一年前研究以来,ABAPUnit 和 Blue Ruby 都取得了很大的进步,但我认为只是为了变得更好。
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.
OpenSAP.com 上有关于 ABAP 单元的优秀课程。它被称为
课程的 URL 为: https://open.sap.com/courses/世贸中心1
There is an excellent course on ABAP Unit on OpenSAP.com. It is called
The URL for the course is: https://open.sap.com/courses/wtc1
Detroubulator (http://www.applicon.dk/Detroubulator/) 是一个单元测试工具,用于SAP PI 产品中运行的映射程序(XML 转换)。它是用 Java 编写的,可以被视为 JUnit/Schematron 混合体。
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.