Use CoreTests suite in Derby Flow and Standalone mode tests#371
Use CoreTests suite in Derby Flow and Standalone mode tests#371javornikolov merged 1 commit intomasterfrom
Conversation
There was a problem hiding this comment.
Is that Commit necessary here?
There was a problem hiding this comment.
I'm using the Commit here to simulate having a permanent table in a DB where the structure (DDL) is persisted rather than created for each test.
This is to enable the tests, that include the slightly irregular TransactionsTest, to run properly. TransactionsTest includes a Commit and this makes commits the DDL and so the next test fails because of the Execute Ddl in the SetUp.
The Rollback in the TearDown undoes the DML that's executed in the test as would normally happen at the end of a flow mode test.
I then need to drop the DB objects and commit that drops so that any subsequent test's SetUp will run correctly.
It might be better to do something with the TransactionsTest test but I'm not sure what.
There was a problem hiding this comment.
OK, it's fine as is. I was just curious.
|
👍 Looks OK to me now. |
|
Cool. I thought the new test classes JAR task could be a point of discussion as it sets a convention. Have you guys done something similar before? |
|
The int-tests jar is indeed something I stared at for a while to figure out what it's doing. A bit similar thing is what we've done with |
|
Just checking situation with the integration test JARs again. I can only see one for Derby ( |
There was a problem hiding this comment.
There is trailing whitespace here.
When I tested I ran Let's fix the trailing whitespace and squash the commits into one: then we can merge. |
93ce9e4 to
1cee8f8
Compare
|
Whitespace removed and fix-ups squashed. |
|
Ah, I guess I still need to rebase first. |
…ss resolving issue #23
1cee8f8 to
fc079b2
Compare
Use CoreTests suite in Derby Flow and Standalone mode tests
Enhance test coverage for Derby and progress work on simplifying acceptance tests (issue #23).