Some test scripts (e.g., testHelpters.sql use COMMIT unnecessarily.
Unless absolutely necessary all test scripts should use ROLLBACK. Then, tests should forego dropping/deleting objects as part of cleanup unless dropping/deleting is part of the test.
I recommend that as test scripts are edited/created, COMMIT statements at the end of scripts be replaced with ROLLBACK. This change will leave the DB unchanged and can greatly simplify code.
Some test scripts (e.g.,
testHelpters.sql
useCOMMIT
unnecessarily.Unless absolutely necessary all test scripts should use
ROLLBACK
. Then, tests should forego dropping/deleting objects as part of cleanup unless dropping/deleting is part of the test.