Different results of unit test with ututil and GUI
792537Aug 19 2010 — edited Dec 7 2010I discovered strange behaviour of ututil utility. I made a simple example, which shows my problem:
Table A with column AA includes one row with the value 222.
Function AAA source code:
-------------
create or replace
PROCEDURE AAA AS
BEGIN
NULL;
END AAA;
Test suite AS, which contains AAA test and its tearup is:
-------------
BEGIN
delete from a;
commit;
END;
Test AAA:
-------------
Tearup:
BEGIN
insert into a (aa) values ('222');
END;
-------------
Teardown:
BEGIN
ROLLBACK;
END;
Table A should be empty after this testsuite. If I run this testsuite from GUI and from commandline (ututil) I become different results.
After GUI-run is table clear, but after ututil-run is table still with row 222. (SQL Developer 2.1.1.64 build MAN-64.45)
Ututil-run: ututil -run -suite -name AS -repo TEST
Thanks for any help