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 <larshp@hotmail.com>

Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
pokrakam 2020-08-19 07:41:55 +01:00 committed by GitHub
parent a176682f44
commit b20a020637
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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": {