Skip to content

angarsky/docker-codeception-phantomjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

A Docker image with Codeception and PhantomJS toolkit.

Usage

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

Bitbucket Pipelines

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

About

A Docker image with Codeception and PhantomJS toolkits.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published