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
Fixed running single test procedure in context by path
Changed context naming (context name can be now explicit)
Context description is now only set from `--%displayname` annotation
ResolvesutPLSQL#679ResolvesutPLSQL#674
Fixed most of compiler-warnings
Copy file name to clipboardExpand all lines: docs/userguide/annotations.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ We strongly recommend putting package level annotations at the very top of packa
30
30
|`--%aftertest(<procedure_name>)`| Procedure | Denotes that mentioned procedure should be executed after the annotated `%test` procedure. |
31
31
|`--%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) |
32
32
|`--%disabled`| Package/procedure | Used to disable a suite or a test. Disabled suites/tests do not get executed, they are however marked and reported as disabled in a test run. |
33
-
|`--%context(<description>)`| Package | Denotes start of a nested context (sub-suite) in a suite package |
33
+
|`--%context(<name>)`| Package | Denotes start of a named context (sub-suite) in a suite package |
34
34
|`--%endcontext`| Package | Denotes end of a nested context (sub-suite) in a suite package |
35
35
36
36
### Suite
@@ -863,7 +863,7 @@ In essence, context behaves like a suite within a suite.
863
863
864
864
Context have following characteristics:
865
865
- start with the `--%context` annotation and ends with `--%endcontext`
866
-
- can have a name provided a parameter for example `--%context(Remove rooms by name)`
866
+
- can have a name provided as parameter for example `--%context(remove_rooms_by_name)`
867
867
- when no name is provided for context, the context is names `context_N` where `N` is the number of the context in suite
868
868
- can have their own `--%beforeall`, `--%beforeeach`, `--%afterall` and `--%aftereach` procedures
869
869
-`--%beforeall`, `--%beforeeach`, `--%afterall` and `--%aftereach` procedures defined at suite level, propagate to context
@@ -945,6 +945,7 @@ create or replace package test_rooms_management is
945
945
946
946
947
947
--%context(remove_rooms_by_name)
948
+
--%description(Remove rooms by name)
948
949
949
950
--%test(Removes a room without content in it)
950
951
procedure remove_empty_room;
@@ -957,6 +958,7 @@ create or replace package test_rooms_management is
0 commit comments