S
S
sokolnikov2015-06-30 20:51:55
Codeception
sokolnikov, 2015-06-30 20:51:55

How to clean records in the database after an acceptance test?

Acceptance tests are performed using CodeCeption.
During the tests, different records are created in the database.
How to clean up test records after test execution?
The Db module has the ability to load a dump after and before testing. But this is not convenient, because. Before each test, you have to make a fresh database dump in order to return to it after the test.
Are there any more logical tools?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2015-06-30
@sim3x

All tests are carried out on a separate database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question