Hi,
I want the simplest parallel test running I can think of:
I would like to have my phpunit data level tests run parallel with my selenium UI tests.
The good thing about it - I already use 2 different commands for executing each:
#run tests
- run:
name: Run Unit tests
command: |
vendor/bin/phpunit tests/phpunit/ --coverage-php tests/coverage/phpunit.cov
cp .circleci/uicodecoverage.php tests/
vendor/bin/phpunit tests/selenium/
vendor/bin/phpcov merge tests/coverage/ --clover tests/coverage/clover.xml
rm tests/uicodecoverage.php
rm -R -f tests/coverage/*.cov
bash <(curl -s https://codecov.io/bash) -f tests/coverage/clover.xml
So I would only need to setup that calling vendor/bin/phpunit tests/phpunit/ --coverage-php tests/coverage/phpunit.cov is sent to container 1, and that vendor/bin/phpunit tests/selenium/ is sent to container 2.
However, after reading into quite everything I found about parallelism here, I didnt find any hint how to set this up - can someone point me in the right direction?
Best regards
Philipp
