Previous | Next
Topic: Using utPackage.Add
Conf: 537, Msg: 38204
From: Chris Rimmer (chris@nominet.org.uk)
Date: 10/3/00 05:23 AM
Using utPackage.Add Chris Rimmer chrisrimmer chris.rimmer@tessella.co.uk
I'm not sure that utPackage.Add works quite how it should. I create a package, myPkg, and
then a package to test it, ut_myPkg. When I run the tests, it gets added to the UT_PACKAGE table with a NULL suite ID. Fine so far. Then I decide to add it to a suite I have created, mySuite. I issue the command:
>exec utPackage.add('mySuite', 'myPkg');
PL/SQL procedure successfully completed.
But when I try to run the test suite it does not get run. It seems I should remove the package first and then add it again. This had me confused for a while.
Also, if I issue the command:
>exec utPackage.add('mySuit', 'myPkg');
PL/SQL procedure successfully completed.
It is happy despite the fact that there is no such test suite. Shouldn't this raise an exception (like NO_DATA_FOUND)?
I'm using utPLSQL 1.5.1 by the way.
Chris