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

Skip to content

fix(doc): Update running-unit-tests.md - remove example #1261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions docs/userguide/running-unit-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,17 @@ begin
ut.run(ut_varchar2_list('hr.test_apply_bonus','cust'));
end;
```
Executes all tests from package _hr.test_apply_bonus_ and all tests from schema _cust_.
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).


```sql linenums="1"
set serveroutput on
begin
ut.run(ut_varchar2_list('hr.test_apply_bonus,cust)');
ut.run(ut_varchar2_list('hr.test_apply_bonus,cust'));
end;
```
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).

Executes all tests from package _hr.test_apply_bonus_ and all tests from schema _cust_.

```sql linenums="1"
set serveroutput on
Expand All @@ -136,7 +137,7 @@ begin
end;
```

Executes all tests from package _hr.test_apply_bonus_ and all tests from schema _cust_.
Executes all tests from package _hr.test_apply_bonus_ and all tests from schema _cust_ (no explicit ut_varchar2_list table type).

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

Expand Down Expand Up @@ -566,4 +567,4 @@ Example call with characterset provided:
begin
ut.run('hr.test_apply_bonus', ut_junit_reporter(), a_client_character_set => 'Windows-1251');
end;
```
```