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

Skip to content

Commit 2205a7f

Browse files
committed
Fixed a bug, where coverage was not excluding unit tests when the explicit exclude_list was null.
1 parent 0c57f09 commit 2205a7f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

source/core/coverage/ut_coverage.pkb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ create or replace package body ut_coverage is
253253

254254
if not ut_coverage_helper.is_develop_mode() then
255255
--skip all the utplsql framework objects and all the unit test packages that could potentially be reported by coverage.
256-
l_skipped_objects := ut_utils.get_utplsql_objects_list() multiset union all g_unit_test_packages multiset union all g_exclude_list;
256+
l_skipped_objects := ut_utils.get_utplsql_objects_list()
257+
multiset union all g_unit_test_packages
258+
multiset union all coalesce(g_exclude_list, ut_object_names());
257259
end if;
258260

259261
--prepare global temp table with sources

0 commit comments

Comments
 (0)