TYPO3-docker-boilerplate icon indicating copy to clipboard operation
TYPO3-docker-boilerplate copied to clipboard

Database for functional testing

Open elmar-hinz opened this issue 9 years ago • 1 comments

Functional testing became a canonical part of the TYPO3 CI workflow. I am new to the field. As far as I understand a dedicated test DB is used. The current setup only provides the DB typo3 by default.

I suggest to consider a second DB for those functional tests for the default setup.

To boot test performance they describe a DB on a RAM disk in the wiki. Is that approach possible from inside a docker container?

https://wiki.typo3.org/Functional_testing#Performance_boost_for_test_running

elmar-hinz avatar Apr 18 '16 15:04 elmar-hinz

You could mount /var/lib/mysql (mysql container) inside docker-compose.yml to a faster disk (ssd or tmpfs).

mblaschke avatar Apr 18 '16 16:04 mblaschke