vendredi 1 novembre 2019

how to use circleCi parallel testing while resetting the database between test suites?

I came across circleCi parallelism for tests : https://circleci.com/docs/2.0/parallelism-faster-jobs/

I'd like to implement it to reduce test time on my symfony4 application running behat for tests on circleCi.

However I am resetting the database between test suites. If tests run in parallel on the same database it won't work.

What would be a good strategy here and how can I implement it?

Can I distinguish multiple databases? on for each test suite?

Aucun commentaire:

Enregistrer un commentaire