Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
933f41a
Added TAP reporter and synonyms
WayneNani Jul 10, 2025
c5f07a7
Larger variables to prevent failure during reporting
WayneNani Jul 10, 2025
4ed6837
Added TAP Reporter to install script
WayneNani Jul 11, 2025
5e656fe
Add TAP to expected reporters
WayneNani Jul 11, 2025
6f47bb9
Added simple test for TAP reporter
WayneNani Jul 14, 2025
641ef7d
Added failing test for TAP
WayneNani Jul 15, 2025
2500604
Added erroring Test for TAP reporter
WayneNani Jul 15, 2025
9d765a4
Added test for disabled TAP test
WayneNani Jul 16, 2025
ef7f811
Added boilerplate expression for shorter tests
WayneNani Jul 16, 2025
78cc772
Added skipped test with no reason
WayneNani Jul 18, 2025
1e78987
Add explicit spaces for correct indentation
WayneNani Jul 18, 2025
ee22669
Added test for multiple test outcomes in one go
WayneNani Jul 18, 2025
55d5b61
Added serverout for beforetest procedures
WayneNani Jul 18, 2025
e451e4b
Included print of serverout as comment
WayneNani Jul 21, 2025
fb9ef0b
Added suite name escaping
WayneNani Jul 21, 2025
f18981d
Included escaped test name
WayneNani Jul 26, 2025
f1c0f86
Included escaped skip reason
WayneNani Jul 26, 2025
33865dd
Added escaped comment test
WayneNani Jul 27, 2025
a477d68
Central use of comment procedure
WayneNani Jul 27, 2025
2e399fd
Comments shouldn't escape special characters
WayneNani Jul 29, 2025
3193f5b
Added TAP reporter to documentation
WayneNani Aug 2, 2025
707fadd
Added empty lines at the end
WayneNani Mar 16, 2026
7ddbacc
Added tests for contexts and suites
WayneNani Mar 17, 2026
3d38fbe
Added TAP subtests to documentation
WayneNani Mar 17, 2026
18af6b0
Added test for including context when it only contains skipped tests
WayneNani Mar 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Comments shouldn't escape special characters
  • Loading branch information
WayneNani committed Jul 29, 2025
commit 2e399fdc33d6b1ce8dfdbb3f3b27281c2a0350ab
2 changes: 1 addition & 1 deletion source/reporters/ut_tap_reporter.tpb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ create or replace type body ut_tap_reporter is

member procedure print_comment(self in out nocopy ut_tap_reporter, a_comment clob) as
begin
self.print_clob(regexp_replace(self.escape_special_chars(a_comment), '^', '# ', 1, 0, 'm'));
self.print_clob(regexp_replace(a_comment, '^', '# ', 1, 0, 'm'));
end print_comment;

member function escape_special_chars(self in out nocopy ut_tap_reporter, a_string_to_escape clob) return clob as
Expand Down
4 changes: 2 additions & 2 deletions test/ut3_user/reporters/test_tap_reporter.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ create or replace package body test_tap_reporter as

procedure escaped_comments as
begin
dbms_output.put_line('This \ and # should be escaped, but this not!!!');
dbms_output.put_line('This \ and # should not be escaped, and this not as well!!!');
ut.expect(1).to_equal(1);
end escaped_comments;
end test_tap_escaping;
Expand Down Expand Up @@ -177,7 +177,7 @@ create or replace package body test_tap_reporter as
l_output_data ut3_develop.ut_varchar2_list;
l_expected varchar2(32767);
begin
l_expected := q'[%ok - Escaped Comments%# This \\ and \# should be escaped, but this not!!!%]';
l_expected := q'[%ok - Escaped Comments%# This \ and # should not be escaped, and this not as well!!!%]';

select *
bulk collect into l_output_data
Expand Down
2 changes: 1 addition & 1 deletion test/ut3_user/reporters/test_tap_reporter.pks
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ create or replace package test_tap_reporter as
--%test(Disabled Test with special characters in disable reason)
procedure special_characters_in_deisabled_reason;

--%test(Escape special characters in comment)
--%test(Don't escape special characters in comment)
procedure special_characters_in_comment;


Expand Down