Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d0cdc63

Browse files
authored
Merge pull request #1261 from gassenmj/patch-1
fix(doc): Update running-unit-tests.md - remove example
2 parents 550ea32 + fc8c520 commit d0cdc63

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

docs/userguide/running-unit-tests.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,17 @@ 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+
122123

123124
```sql linenums="1"
124125
set serveroutput on
125126
begin
126-
ut.run(ut_varchar2_list('hr.test_apply_bonus,cust)');
127+
ut.run(ut_varchar2_list('hr.test_apply_bonus,cust'));
127128
end;
128129
```
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).
129131

130-
Executes all tests from package _hr.test_apply_bonus_ and all tests from schema _cust_.
131132

132133
```sql linenums="1"
133134
set serveroutput on
@@ -136,7 +137,7 @@ begin
136137
end;
137138
```
138139

139-
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).
140141

141142
Using a list of items to execute allows you to execute a fine-grained set of tests.
142143

@@ -566,4 +567,4 @@ Example call with characterset provided:
566567
begin
567568
ut.run('hr.test_apply_bonus', ut_junit_reporter(), a_client_character_set => 'Windows-1251');
568569
end;
569-
```
570+
```

0 commit comments

Comments
 (0)