Extending SAP ATC Checks
SAP ATC (ABAP Test Cockpit) is a powerful tool for code analysis. In this post, we’ll explore how to extend it with custom checks.
Creating a Custom Check Class
To create a custom ATC check, you need to inherit from CL_CI_TEST_SCAN:
CLASS zcl_my_custom_check DEFINITION
PUBLIC
INHERITING FROM cl_ci_test_scan
FINAL
CREATE PUBLIC.
PUBLIC SECTION.
METHODS constructor.
METHODS run REDEFINITION.
ENDCLASS.
Key Takeaways
- Custom ATC checks help enforce coding standards
- They integrate seamlessly into CI/CD pipelines
- The framework is extensible and well-documented