-
Notifications
You must be signed in to change notification settings - Fork 187
Closed
Labels
Milestone
Description
Describe the bug
When you write comment after annotation, then this comment becomes the part of test report as well.
Provide version info
v3.1.8.3190
Information about client software
PLSQL Developer
To Reproduce
Steps to reproduce the behavior:
- Compile procedures with comments:
create or replace package test_demo is
-- %suite (Demo suite) this suite name will be used in test report (see below)
-- %test (Demo test case success) -- this test case name will be used in test report (see below)
procedure demo_test_pass;
-- %test (Demo test case failure) -- this test case name will be used in test report (see below)
procedure demo_test_failure;
end;
/
create or replace package body test_demo is
procedure demo_test_pass is
begin
ut.expect(1).to_equal(1);
end;
procedure demo_test_failure is
begin
ut.expect(2).to_equal(1);
end;
end;
/
- Run utPLSQL:
select * from table(ut.run());
/
- Scroll down to '....'
- See error
Actual behavior
Comments after closing parenthesis became a part of test report:
Demo suite) this suite name will be used in test report (see below
Demo test case success) -- this test case name will be used in test report (see below [.128 sec]
Demo test case failure) -- this test case name will be used in test report (see below [.018 sec] (FAILED - 1)
Failures:
1) demo_test_failure
Expected behavior
Closed annotation parenthesis stops annotation:
Demo suite
Demo test case success [.128 sec]
Demo test case failure [.018 sec] (FAILED - 1)
Failures:
1) demo_test_failure
Additional context
I didn't expect that comment will become the part of test report