You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create or replace package tst_part is
--%suite--%test
procedure test_1;
--%test
procedure test_12;
end;
/
create or replace package body tst_part is
procedure test_1 is
beginut.expect(1).to_equal(1);
end;
procedure test_12 is
beginut.expect(1).to_equal(2);
end;
end;
/
exec ut.run('tst_part.test_1');
Results in:
tst_part
test_1 [.006 sec]
test_12 [.099 sec] (FAILED - 1)
Failures:
1) test_12
Actual: 1 (number) was expected to equal: 2 (number)
at "UT3_TESTER.TST_PART", line 8 ut.expect(1).to_equal(2);
Finished in .109422 seconds
2 tests, 1 failed, 0 errored, 0 disabled, 0 warning(s)
Procedure test_12 gets executed while it should not.
The functionality works correctly, when invoking packages.
So if I create a copy of package tst_part and name it tst_part_1, calling: exec ut.run('tst_part'); is working fine and only procedures from package tst_part are executed.
The text was updated successfully, but these errors were encountered:
Example:
exec ut.run('tst_part.test_1');
Results in:
Procedure
test_12
gets executed while it should not.The functionality works correctly, when invoking packages.
So if I create a copy of package
tst_part
and name ittst_part_1
, calling:exec ut.run('tst_part');
is working fine and only procedures from packagetst_part
are executed.The text was updated successfully, but these errors were encountered: