@@ -33,31 +33,34 @@ create or replace package ut_runner authid current_user is
3333 function version_compatibility_check( a_requested varchar2, a_current varchar2 := null ) return integer;
3434
3535 /**
36- * Run suites/tests by path
37- * Accepts value of the following formats:
38- * schema - executes all suites in the schema
39- * schema:suite1[.suite2] - executes all items of suite1 (suite2) in the schema.
36+ * Execute specified suites/tests by paths
37+ * @param a_paths list of schemes, packages, procedures or suite-paths to execute
38+ * @param a_reporters list of reporter objects (formats) to use for reporting
39+ * @param a_color_console true/false - should the console format reporters use ANSI color tags
40+ * @param a_coverage_schemes list of database schemes to include in coverage
41+ * @param a_source_file_mappings list of project source files mapped to DB objects that coverage should be reported on
42+ * @param a_test_file_mappings list of project test files mapped to DB objects that test results should be reported on
43+ * @param a_include_objects list of database objects (in format 'owner.name') that coverage should be reported on
44+ * @param a_exclude_objects list of database objects (in format 'owner.name') that coverage should be skipped for
45+ * @param a_fail_on_errors true/false - should an exception be thrown when tests are completed with failures/errors
46+ *
47+ * @example
48+ * Parameter `a_paths` accepts values of the following formats:
49+ * schema - executes all suites in the schema
50+ * schema:suite1[.suite2] - executes all items of suite1 (suite2) in the schema.
4051 * suite1.suite2 is a suitepath variable
41- * schema:suite1[.suite2][.test1] - executes test1 in suite suite1.suite2
42- * schema.suite1 - executes the suite package suite1 in the schema "schema"
52+ * schema:suite1[.suite2][.test1] - executes test1 in suite suite1.suite2
53+ * schema.suite1 - executes the suite package suite1 in the schema "schema"
4354 * all the parent suites in the hiearcy setups/teardown procedures as also executed
4455 * all chile items are executed
45- * schema.suite1.test2 - executes test2 procedure of suite1 suite with execution of all
46- * parent setup/teardown procedures
56+ * schema.suite1.test2 - executes test2 procedure of suite1 suite with execution of all parent setup/teardown procedures
4757 */
48-
4958 procedure run(
5059 a_paths ut_varchar2_list, a_reporters ut_reporters, a_color_console boolean := false,
5160 a_coverage_schemes ut_varchar2_list := null, a_source_file_mappings ut_file_mappings := null, a_test_file_mappings ut_file_mappings := null,
5261 a_include_objects ut_varchar2_list := null, a_exclude_objects ut_varchar2_list := null, a_fail_on_errors boolean default false
5362 );
5463
55- procedure run(
56- a_paths ut_varchar2_list, a_reporters ut_reporters, a_color_console boolean := false,
57- a_coverage_schemes ut_varchar2_list := null, a_source_files ut_varchar2_list, a_test_files ut_varchar2_list,
58- a_include_objects ut_varchar2_list := null, a_exclude_objects ut_varchar2_list := null, a_fail_on_errors boolean default false
59- );
60-
6164 /**
6265 * Rebuilds annotation cache for a specified schema and object type.
6366 * The procedure is called internally by `get_annotated_objects` function.
0 commit comments