Skip to content

Commit 32eee6f

Browse files
Update db-access-in-ut.md
1 parent 601f493 commit 32eee6f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/checks/db-access-in-ut.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,29 @@ SELECT XXXXX. "#EC DB_ACCESS_UT
2727
### Risk Level
2828
Definition
2929
The RISK LEVEL describes the effects that a test can have on the data security of the system:
30+
3031
• CRITICAL - such as changes to system settings or Customizing
3132
• DANGEROUS - such as changes to persistent data
3233
• HARMLESS - no effects on persistent data or system settings
34+
3335
The RISK LEVEL is assigned by the following extension to the CLASS DEFINITION statement of a test class:
36+
3437
• RISK LEVEL CRITICAL - default
3538
• RISK LEVEL DANGEROUS
3639
• RISK LEVEL HARMLESS
3740

41+
3842
### Duration
3943
Definition
4044
The DURATION property allows you to define an expected runtime for all methods of a test class.
45+
4146
• SHORT - within the blink of an eye ( < 10 seconds )
4247
• MEDIUM - take a sip of tea ( < 2 minutes )
4348
• LONG - get another cup
49+
4450
At runtime the cumulated duration of all test methods is measured. If the actual duration exceeds the expectation ABAP Unit will raise an alert.
4551
Please not the cumulated duration contains also system activities as program compilation. In case of doubts it is recommend to choose the higher category.
52+
4653
Maintenance
4754
Use on of the following key words in the CLASS DEFINITON statement of a test class to specify the duration category:
4855
• DURATION SHORT (default)

0 commit comments

Comments
 (0)