From b20a0206371c485999dd46403ab61f395c6872f9 Mon Sep 17 00:00:00 2001 From: pokrakam Date: Wed, 19 Aug 2020 07:41:55 +0100 Subject: [PATCH] Allow naming of different test class types (#3771) * Allow naming of different test class types Propose to use the more commonly used naming conventions for test classes rather than naming everything ltcl_. These are used by SAP and also referenced in the style guides e.g. the section on [Helper Methods](https://github.com/SAP/styleguides/blob/master/clean-abap/CleanABAP.md#put-help-methods-in-help-classes) and used in the ABAP unit testing book. ltc_: test class lth_: test helper ltd_: test double lts_: test suite Oh, and also corrected bug in exception class name that I spotted when editing * Update with generic naming suggestions Co-authored-by: Lars Hvam Co-authored-by: Lars Hvam --- abaplint.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abaplint.json b/abaplint.json index 729690dd0..c7a79815c 100644 --- a/abaplint.json +++ b/abaplint.json @@ -215,9 +215,9 @@ "ignoreExceptions": true }, "local_class_naming": { - "exception": "^LCL_.*$", + "exception": "^LCX_.*$", "local": "^LCL_.*$", - "test": "^LTCL_.*$" + "test": "^LT.+$" }, "local_testclass_location": true, "local_variable_names": {