A Docker image with Codeception and PhantomJS toolkit.
674
A Docker image with Codeception and PhantomJS toolkit.
Navigate to a directory with a codeception.yml file and run:
docker run -it -d -v $(pwd):/project --name angarsky-codeception-phantomjs angarsky/codeception-phantomjs
Run your tests:
docker exec -it angarsky-codeception-phantomjs ./vendor/bin/codecept run functional -d
Install Composer dependencies (if it's necessary):
docker exec -it angarsky-codeception-phantomjs composer install
This image can be used for the Bitbucket Pipelines:
image: angarsky/codeception-phantomjs
pipelines:
custom:
my-custom-name:
- step:
script:
- composer install
- /bin/bash -c "phantomjs --webdriver=4444" > /dev/null &
- ./vendor/bin/codecept run acceptance -d
- ./vendor/bin/codecept run functional -d
Content type
Image
Digest
Size
239.3 MB
Last updated
about 8 years ago
docker pull angarsky/codeception-phantomjs