- Notifications
You must be signed in to change notification settings - Fork17
Closed
Description
This is the PL/SQL package to test:
createor 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:
createor replace package test_etl is--%suite(test_etl)--%test procedure refresh_deptsal;end test_etl;/createor replace package body test_etl is procedure refresh_deptsal is l_actualinteger :=0; l_expectedinteger :=1;beginut.expect(l_actual).to_equal(l_expected); end refresh_deptsal;end test_etl;/
Generator settings look like this:
Since there is no empty line between--%suite(test_etl)
and--%test
the test is not found by the utPLSQL framework.
This run:
set serveroutputon size unlimitedexecuteut.run;
produced this result:
Finished in 0 seconds0 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s) PL/SQL procedure successfully completed.
Maybe this is related to#156.