mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
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:
parent
a176682f44
commit
b20a020637
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user