Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4695d62

Browse files
authored
Update annotations.md
1 parent c8ead98 commit 4695d62

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/userguide/annotations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ Keeping the transactions uncommitted allows your changes to be isolated and the
8484
If however you're in situation, where the code you are testing, is using transaction control (like ETL code is usually doing), then your tests should not use the default rollback(auto)
8585
You should make sure that thr entire suitepath all the way to the root is using manual transaction control in that case.
8686

87+
In some cases it is needed to perform DDL in setup/teardown. It is recommended to move such DDL statements to a procedure with pragma autonomous_transaction to eliminate implicit commit of the main session.
8788

8889
# Suitepath concept
8990
It is very likely that the application for which you are going to introduce tests consists of many different packages or procedures/functions. Usually procedures can be logically grouped inside a package, there also might be several logical groups of procedure in a single package or even packages themselves might relate to a common module.

0 commit comments

Comments
 (0)