GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Annotation that goes to test report is not stopped by closing parenthesis · Issue #1010 · utPLSQL/utPLSQL

Annotation that goes to test report is not stopped by closing parenthesis #1010

New issue
Copy link
New issue
Copy link
Closed
Closed
Annotation that goes to test report is not stopped by closing parenthesis#1010
Copy link
Labels
documentationenhancement
Milestone
v3.1.9

Description

@alexeyhimself
alexeyhimself
opened on Oct 22, 2019
Issue body actions

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:

  1. 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;
/
  1. Run utPLSQL:
select * from table(ut.run());
/
  1. Scroll down to '....'
  2. 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

Activity

  1. jgebal commented on Oct 26, 2019

    @jgebal
    jgebal
    on Oct 26, 2019
    Member
    More actions

    Comments inside annotations are not supported.
    If you need to add comment, add it in line before annotation.
    Whole line of annotation is considered annotation.

  2. jgebal
    added
    documentation
    enhancement
    on Nov 6, 2019
  3. jgebal
    added this to the 3.1.9 milestone on Nov 6, 2019
  4. jgebal
    added a commit that references this issue on Nov 6, 2019

    Updated documentation.

    This issue will close once commit c724493 is merged into the 'develop' branch.
    c724493
  5. jgebal commented on Nov 6, 2019

    @jgebal
    jgebal
    on Nov 6, 2019
    Member
    More actions

    Updated documentation will be part of release 3.1.9.
    https://github.com/utPLSQL/utPLSQL/blob/release/v3.1.9/docs/userguide/annotations.md

    Hope this helps.

  6. jgebal
    closed this as completedon Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      • v3.1.9

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.