You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RISK LEVEL describes the effects that a test can have on the data security of the system:
30
+
30
31
• CRITICAL - such as changes to system settings or Customizing
31
32
• DANGEROUS - such as changes to persistent data
32
33
• HARMLESS - no effects on persistent data or system settings
34
+
33
35
The RISK LEVEL is assigned by the following extension to the CLASS DEFINITION statement of a test class:
36
+
34
37
• RISK LEVEL CRITICAL - default
35
38
• RISK LEVEL DANGEROUS
36
39
• RISK LEVEL HARMLESS
37
40
41
+
38
42
### Duration
39
43
Definition
40
44
The DURATION property allows you to define an expected runtime for all methods of a test class.
45
+
41
46
• SHORT - within the blink of an eye ( < 10 seconds )
42
47
• MEDIUM - take a sip of tea ( < 2 minutes )
43
48
• LONG - get another cup
49
+
44
50
At runtime the cumulated duration of all test methods is measured. If the actual duration exceeds the expectation ABAP Unit will raise an alert.
45
51
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
+
46
53
Maintenance
47
54
Use on of the following key words in the CLASS DEFINITON statement of a test class to specify the duration category:
0 commit comments