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

Skip to content

Commit 3937737

Browse files
committed
Fixing a documentation
1 parent 274d80a commit 3937737

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs/userguide/running-unit-tests.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ The **functions** can only be used in SELECT statements. They execute the specif
4545
## ut.run procedures
4646

4747
The examples below illustrate different ways and options to invoke `ut.run` procedures.
48-
As part of the syntax you can use a wildcard character `*` to call test by part of his name or to call few tests that match a call.
49-
Schema name is still mandatory and cannot contain a wildcard character whether is a suitepath or object.
50-
51-
48+
You can use a wildcard character `*` to call tests by part of their name or to call tests that are located on paths matched by part of path string.
49+
Schema name cannot contain a wildcard character whether is in a suitepath call or call by object name.
5250

5351
```sql
5452
alter session set current_schema=hr;
@@ -142,7 +140,7 @@ begin
142140
ut.run('hr.test*');
143141
end;
144142
```
145-
Executes all tests from schema _hr_ starting with name _test_.
143+
Executes all tests in schema `hr` located in packages starting with name `test`.
146144

147145
```sql
148146
set serveroutput on

source/core/types/ut_path_item.tpb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ create or replace type body ut_path_item as
3939
return;
4040
end;
4141
end;
42-
/
42+
/

source/core/types/ut_path_item.tps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ create or replace type ut_path_item as object (
2323
constructor function ut_path_item(self in out nocopy ut_path_item, schema_name varchar2, suite_path varchar2) return self as result,
2424
constructor function ut_path_item(self in out nocopy ut_path_item, schema_name varchar2, object_name varchar2,procedure_name varchar2,suite_path varchar2) return self as result
2525
)
26-
/
26+
/

source/core/ut_suite_cache_manager.pkb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,10 @@ create or replace package body ut_suite_cache_manager is
258258
We will sort a suites in hierarchical structure.
259259
Sorting from bottom to top so when we consolidate
260260
we will go in proper order.
261-
For random seed we will add an extra sort that can be null
262-
TODO: Verify object owner join
261+
For random seed we will add an extra sort that can be null.
262+
The object owner is irrelevant on joing via path as we already
263+
resolved a list of test we want to use so as long they share a suitepath
264+
they are correct.
263265
*/
264266
procedure sort_and_randomize_tests(
265267
a_suite_rows in out ut_suite_cache_rows,

0 commit comments

Comments
 (0)