I can't get utresult.show to show the results of my test suite run.
1 install test script and table
create or replace PACKAGE ut_whatever
IS
PROCEDURE ut_setup;
PROCEDURE ut_teardown;
PROCEDURE ut_whatever_true;
end;
CREATE OR REPLACE
PACKAGE BODY UT_WHATEVER AS
PROCEDURE ut_setup AS BEGIN NULL; END;
PROCEDURE ut_teardown AS BEGIN NULL; END;
PROCEDURE ut_whatever_true AS BEGIN
utassert.isnotnull('not null', 'not null string');
END;
END;
2
BEGIN
utsuite.ADD ('MyTests');
utpackage.ADD ('MyTests', 'ut_whatever');
utplsql.runsuite ('MyTests');
utresult.show();
END;
3
Results in two conflicting outputs: utplqsl.runsuit('AllTests') will give me success. utresult.show(); always outputs failure
http://utplsql.sourceforge.net/Doc/utresult.html#ShowResults
Big picture, what I'm up to is trying to use FlywayDB and utplsql together. I migrate my product code and my test code and execute them in a Flywaymigration script. When executing the migration script, Flyway doesn't show the output, so I need to run a query to get the test report. Here is the thread: http://stackoverflow.com/questions/33588201/how-to-use-flway-to-migrate-utplsql-into-a-db?rq=1