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 — Missing line break after suite annotation in generator skeleton template · Issue #157 · utPLSQL/utPLSQL-SQLDeveloper

Missing line break after suite annotation in generator skeleton template #157

New issue
Copy link
New issue
Copy link
Closed
#158
Closed
Missing line break after suite annotation in generator skeleton template#157
#158
Copy link
Assignees
PhilippSalvisberg
Labels
bug
Milestone
v1.4.1

Description

@PhilippSalvisberg
PhilippSalvisberg
opened on Jul 23, 2022
Issue body actions

This is the PL/SQL package to test:

create or replace package etl is
   procedure refresh_deptsal;
end etl;
/

When generating a utPLSQL test via context menu or via oddgen the generated code looks like this:

create or replace package test_etl is

   --%suite(test_etl)
   --%test
   procedure refresh_deptsal;

end test_etl;
/

create or replace package body test_etl is

   procedure refresh_deptsal is
      l_actual   integer := 0;
      l_expected integer := 1;
   begin
      ut.expect(l_actual).to_equal(l_expected);
   end refresh_deptsal;

end test_etl;
/

Generator settings look like this:

image

Since there is no empty line between --%suite(test_etl) and --%test the test is not found by the utPLSQL framework.

This run:

set serveroutput on size unlimited
execute ut.run;

produced this result:

Finished in 0 seconds
0 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)
 


PL/SQL procedure successfully completed.

Maybe this is related to #156.

Activity

  1. PhilippSalvisberg
    added
    bug
    on Jul 23, 2022
  2. PhilippSalvisberg
    self-assigned this
    on Jul 23, 2022
  3. PhilippSalvisberg
    added this to the v1.5.0 milestone on Jul 23, 2022
  4. PhilippSalvisberg
    closed this as completedin #158on Jul 23, 2022
  5. PhilippSalvisberg
    modified the milestones: v1.5.0, v1.4.1 on Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @PhilippSalvisberg
    PhilippSalvisberg

Labels

bug

Type

No type

Projects

No projects

    Milestone

    • v1.4.1

    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.