开发者

rollback in oracle10g (nunit unittesting)

开发者 https://www.devze.com 2023-02-23 14:08 出处:网络
i am doing unittesting in connecting to oracle database, i wanted to achieve rollback after the testcase,

i am doing unittesting in connecting to oracle database, i wanted to achieve rollback after the testcase,

I am having express edition of oracle 10g,开发者_StackOverflow

I tried xtUnit(Datarollback attribute does not works for me),Flashback(it works in enterprise edition only)

is there any other way to achieve this...

Please help me


with NUnit you can define methods that will be run before and after each test. In the before method, create a transaction to the oracle database. In the after method, abort the transaction.

0

精彩评论

暂无评论...
验证码 换一张
取 消