SAP TEST CLASS - Glossary



Get Example source ABAP code based on a different SAP table
  


VERSION 5 IN

test class
A test class in a narrower sense is a special local or global class in which tests for ABAP Unit are implemented in the form of test methods. Test methods can be implemented in a test class. A test class groups together related tests that use the same fixture. Test classes are defined using the FOR TESTING addition of the CLASS statement. Test classes can only be used as part of test runs and, by default, are not generated in production systems. Test doubles and other auxiliary classes required for testing should also be defined with FOR TESTING but do not contain any test methods and are not test classes in a narrower sense.