jpignata/temping

Support MySQL and Oracle

Opened this issue · 1 comments

Both MySQL and Oracle commit the current transaction when you execute DDL statements.
Temping executes DDL statements during a test, ergo: the data created during a test is committed because the test suite can't rollback the transaction created for the test.

Issue #15 is one symptom of this.

It would be cool if support for this problem would be added!

kitop commented

As mentioned in #15, calling Temping.teardown before rolling back the transaction fixes the issue.