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

Skip to content

Commit 9096940

Browse files
authored
Merge pull request #229 from jgebal/feature/coverage_exclude_unit_tests_fix
Fixed a bug, where coverage was not excluding unit tests when the exp…
2 parents 2bfe52f + 44824d9 commit 9096940

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)