Excessive AutoTest Check (ExcessiveAutoTestCheck)¶
Type | Scope | Severity | Activated by default |
Minutes to fix |
Tags |
---|---|---|---|---|---|
Code smell |
BSL OS |
Minor |
Yes |
1 |
standard deprecated |
Description¶
Standard 772, Interaction with Automated Testing Tools, has been canceled. In this regard, verification of the "АвтоТест" parameter in the form code is no longer necessary.
Examples¶
If Parameters.Property("АвтоТест") Then
Return;
EndIf;
and in handler Filling in object module:
// Skip processing to get the form when sending the "АвтоТест" program.
If FillData = "АвтоТест" Then
Return;
EndIf;
Sources¶
- Источник: Standard: Modules. Part 3 (RU)
Snippets¶
Diagnostic ignorance in code¶
// BSLLS:ExcessiveAutoTestCheck-off
// BSLLS:ExcessiveAutoTestCheck-on
Parameter for config¶
"ExcessiveAutoTestCheck": false