8000 fix(doc): Update running-unit-tests.md add comments · utPLSQL/utPLSQL@fc8c520 · GitHub
[go: up one dir, main page]

Skip to content

Commit fc8c520

Browse files
authored
fix(doc): Update running-unit-tests.md add comments
1 parent 63e4ba4 commit fc8c520

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/userguide/running-unit-tests.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,16 @@ begin
118118
ut.run(ut_varchar2_list('hr.test_apply_bonus','cust'));
119119
end;
120120
```
121-
Executes all tests from package _hr.test_apply_bonus_ and all tests from schema _cust_.
121+
Executes all tests from package _hr.test_apply_bonus_ and all tests from schema _cust_ (passing individual items to be executed as elements of the ut_varchar2_list table type).
122+
123+
124+
```sql linenums="1"
125+
set serveroutput on
126+
begin
127+
ut.run(ut_varchar2_list('hr.test_apply_bonus,cust'));
128+
end;
129+
```
130+
Executes all tests from package _hr.test_apply_bonus_ and all tests from schema _cust_ (passing all items as a comma-separated-list of values into a single element of the ut_varchar2_list table type).
122131

123132

124133
```sql linenums="1"
@@ -128,7 +137,7 @@ begin
128137
end;
129138
```
130139

131-
Executes all tests from package _hr.test_apply_bonus_ and all tests from schema _cust_.
140+
Executes all tests from package _hr.test_apply_bonus_ and all tests from schema _cust_ (no explicit ut_varchar2_list table type).
132141

133142
Using a list of items to execute allows you to execute a fine-grained set of tests.
134143

0 commit comments

Comments
 (0)
0