Skip to content

Commit 904ac2a

Browse files
authored
Update en/development/testing.rst
1 parent 0d94159 commit 904ac2a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

en/development/testing.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -752,11 +752,7 @@ To switch out the general default strategy, use Configure key ``TestSuite.fixtur
752752
],
753753

754754

755-
The recommended strategy for medium and large applications is the TransactionStrategy, as it also
756-
leaves the test cases after each run in a more clean state, making cross-contamination and side-effects less likely.
757-
As pointed out before, the fixture's should not have primary keys fixated, and neither should the tests
758-
expect fixture data with a specific ID. Instead, query the fixtures before your test run and use those then for the subsequent
759-
tests.
755+
The recommended strategy for medium and large applications is the ``TransactionStrategy``, as using rollbacks to undo changes from tests is simpler to maintain, and reduces the chances of cross-contamination and side-effects between tests.
760756

761757
Fixture Factories
762758
-----------------

0 commit comments

Comments
 (0)