2006 Sep 22 8:02 PM
I am looking for information examples on ABAPUnit and for some reason I am coming up with a blank. I know I have seen dem programs in the ABAP area but for the life of me I cannot find them again. If someone knows where they are I would really appreciate a pointer.
I am looking for information examples on ABAPUnit and for some reason I am coming up with a blank. I know I have seen dem programs in the ABAP area but for the life of me I cannot find them again. If someone knows where they are I would really appreciate a pointer.
2006 Sep 22 8:04 PM
Have you seen this yet?
http://help.sap.com/saphelp_nw2004s/helpdata/en/a2/8a1b602e858645b8aac1559b638ea4/frameset.htm
Regards
Rich Heilman
2006 Sep 22 8:07 PM
HI,
/docs/DOC-18474#idaew3me [original link is broken]
http://xunitpatterns.com/AbapUnit.html
Regards
Sudheer
2006 Sep 22 8:18 PM
This is funny. I am working with the person that is writing the Xunit Patterns book.... We had a good laugh.
on the serious note, I saw in the ABAP system some sample code that used ABAP Unit. I touched it and ran it but I have lost it... Help. I have tried searching but I am not looking for the correct name so I was hoping if someone know the program and class names for the examples it would be helpful
2006 Sep 22 8:23 PM
I did a quick search for program in my nw2004s system. This is what I got, anything look familar?
RS_AU_LIGHT ABAP Unit Self-Test Task
RS_AUNIT_LEGACY_CONFIG_CM ABAP Unit / CheckMan: Define/Display Execution Mode
RS_AUNIT_LEGACY_EXTRACT_CM ABAP Unit / CheckMan: Extract Results
RS_AUNIT_LEGACY_REPLICATE_CM ABAP Unit / CheckMan: Replicate Results
RS_AUNIT_LOAD_FLAGS ABAP Unit Flags Within Byte Load
RS_AUST_CHILD_OF_GLOBAL_CLASS ABAP Unit: Subclasses of Global Test Classes
RS_AUST_SELF_TEST ABAP Unit Self-Test Task
RS_AUST_WARNING Tests ABAP Unit Warnings
SAUNIT_CLIENT_SETUP ABAP Unit Configuration
SAUNIT_GETCACHE Final Assembly: Import ABAP Unit Cache
SAUNIT_PROG_INFO ABAP Unit: Internal Tool for Updating Test Information
SAUNIT_PROG_METRICS ABAP Unit: Internal Tool for Ascertaining Test Metrics
SAUNIT_SHOW_LOAD_FLAGS Internal only: Test ABAP Unit flags within the byte load
Regards,
Rich Heilman
2006 Sep 22 9:00 PM
Hey Glenn,
more or less any package Devclass with the SABP_UNIT* pattern should contain some tests. Save the SABP_UNIT_SELFTEST package as these are very special ones.
For an inital search SAUNIT_PROG_METRICS is a handy tool. With report RS_AU_LIGHT you can start them quick n dirty. But the offical interface is integrated in Code Inspector/SCI (see Dynamic Tests).
Best Regards,
Klaus
And there are some blogs:
/people/thomas.weiss/blog/2004/12/17/a-spotlight-on-abap-unit-part-1