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

Skip to content

Commit 78cc772

Browse files
committed
Added skipped test with no reason
1 parent ef7f811 commit 78cc772

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

test/ut3_user/reporters/test_tap_reporter.pkb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,19 @@ create or replace package body test_tap_reporter as
5656
ut.expect(ut3_tester_helper.main_helper.table_to_clob(l_output_data)).to_match(l_expected);
5757
end disabled_test;
5858

59+
60+
procedure disabled_test_no_description as
61+
l_output_data ut3_develop.ut_varchar2_list;
62+
l_expected varchar2(32767);
63+
begin
64+
l_expected := gc_boilerplate_suitepath_expression || q'[\s*1..1\s*# <!beforeall!>\s*ok - a disabled test with no reason # SKIP\s*# <!afterall!>\s*ok - org\s*]';
65+
66+
select *
67+
bulk collect into l_output_data
68+
from table(ut3_develop.ut.run('test_reporters.disabled_test_no_reason',ut3_develop.ut_tap_reporter()));
69+
70+
ut.expect(ut3_tester_helper.main_helper.table_to_clob(l_output_data)).to_match(l_expected);
71+
end disabled_test_no_description;
72+
5973
end test_tap_reporter;
6074
/

test/ut3_user/reporters/test_tap_reporter.pks

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@ create or replace package test_tap_reporter as
1515
--%test(Skipped test)
1616
procedure disabled_test;
1717

18+
--%test(Skipped test without description)
19+
procedure disabled_test_no_description;
20+
1821
end test_tap_reporter;
1922
/

0 commit comments

Comments
 (0)