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
<xs:documentationxml:lang="en">Indicates that the test errored. An errored test is one that had an unanticipated problem. e.g., an unchecked throwable; or a problem with the implementation of the test. Contains as a text node relevant data for the error, e.g., a stack trace</xs:documentation>
<xs:documentationxml:lang="en">Indicates that the test errored. An errored test is one that had an unanticipated problem. e.g., an unchecked throwable; or a problem with the implementation of the test. Contains as a text node relevant data for the error, e.g., a stack trace</xs:documentation>
78
+
</xs:annotation>
78
79
<xs:complexType>
79
80
<xs:simpleContent>
80
81
<xs:extensionbase="pre-string">
@@ -93,9 +94,9 @@ Permission to waive conditions of this license may be requested from Windy Road
93
94
</xs:complexType>
94
95
</xs:element>
95
96
<xs:elementname="failure">
96
-
<xs:annotation>
97
-
<xs:documentationxml:lang="en">Indicates that the test failed. A failure is a test which the code has explicitly failed by using the mechanisms for that purpose. e.g., via an assertEquals. Contains as a text node relevant data for the failure, e.g., a stack trace</xs:documentation>
98
-
</xs:annotation>
97
+
<xs:annotation>
98
+
<xs:documentationxml:lang="en">Indicates that the test failed. A failure is a test which the code has explicitly failed by using the mechanisms for that purpose. e.g., via an assertEquals. Contains as a text node relevant data for the failure, e.g., a stack trace</xs:documentation>
99
+
</xs:annotation>
99
100
<xs:complexType>
100
101
<xs:simpleContent>
101
102
<xs:extensionbase="pre-string">
@@ -192,6 +193,11 @@ Permission to waive conditions of this license may be requested from Windy Road
192
193
<xs:documentationxml:lang="en">The total number of tests in the suite that errored. An errored test is one that had an unanticipated problem. e.g., an unchecked throwable; or a problem with the implementation of the test.</xs:documentation>
Copy file name to clipboardExpand all lines: docs/userguide/annotations.md
+52-6Lines changed: 52 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,7 +140,7 @@ end;
140
140
|`--%beforetest([[<owner>.]<package>.]<procedure>[,...])`| Procedure | Denotes that mentioned procedure(s) should be executed before the annotated `%test` procedure. |
141
141
|`--%aftertest([[<owner>.]<package>.]<procedure>[,...])`| Procedure | Denotes that mentioned procedure(s) should be executed after the annotated `%test` procedure. |
142
142
|`--%rollback(<type>)`| Package/procedure | Defines transaction control. Supported values: `auto`(default) - a savepoint is created before invocation of each "before block" is and a rollback to specific savepoint is issued after each "after" block; `manual` - rollback is never issued automatically. Property can be overridden for child element (test in suite) |
143
-
|`--%disabled`| Package/procedure | Used to disable a suiteor a test. Disabled suites/tests do not get executed, they are however marked and reported as disabled in a test run. |
143
+
|`--%disabled(<reason>)`| Package/procedure | Used to disable a suite, whole context or a test. Disabled suites/contexts/tests do not get executed, they are however marked and reported as disabled in a test run. The reason that will be displayed next to disabled tests is decided based on hierarchy suites -> context -> test|
144
144
|`--%context(<description>)`| Package | Denotes start of a named context (sub-suite) in a suite package an optional description for context can be provided. |
145
145
|`--%name(<name>)`| Package | Denotes name for a context. Must be placed after the context annotation and before start of nested context. |
146
146
|`--%endcontext`| Package | Denotes end of a nested context (sub-suite) in a suite package |
@@ -343,12 +343,13 @@ Finished in .008815 seconds
343
343
344
344
### Disabled
345
345
Marks annotated suite package or test procedure as disabled.
346
+
You can provide the reason why the test is disabled that will be displayed in output.
0 commit comments