Skip to content

koehnlein/docker-codeception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codeception

Docker image to run your automated acceptance tests in deplyoment pipelines, e.g. GitLab CI.

Docker Images

  • akoehnlein/codeception
  • akoehnlein/codeception:nodejs (including node.js and npm)

GitLab CI

Update your .gitlab-ci.yml file:

stages:
  - acceptance

test staging after deployment:
  stage: acceptance
  image: akoehnlein/codeception
  services:
    - name: selenium/standalone-chrome
      alias: selenium
  variables:
    SELENIUM_HOST: 'selenium'
  script:
    - codecept run --html
  artifacts:
    paths:
      - tests/_output/
    expire_in: 2 weeks

Update your codeception.yml file:

params:
    - env # load params from environment vars

Update your tests/acceptance.suite.yml file:

modules:
    enabled:
        - WebDriver:
            host: %SELENIUM_HOST%

If you have problems with fatal errors, telling "no such session", it can help to increase shared memory in your runner configuration. More information

About

Docker image to run your automated acceptance tests in deplyoment pipelines, e.g. GitLab CI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published