workshop-gitlab-acceptance/README.rst
2019-08-27 09:04:17 +02:00

772 B

Workshop GitLab Acceptance Testing

This repository provides material for GitLab Acceptance testing.

Install

  1. Run composer install
  2. Setup database own_workshopgitlabacceptance_testing
  3. Setup Mailhog.

Execute

  1. Start selenium E.g.:

    ChromeDriver=~/Applications/chromedriver-76 java -Djava.awt.headless=true -jar ~/Applications/selenium-server-standalone-3.141.59.jar
  2. Start mailhog

  3. Start php server:

    TYPO3_CONTEXT=Testing/Acceptance php -S 127.0.0.1:8080 -t web
  4. Execute tests:

    ./vendor/bin/codecept run --env local

TODO

  • Add css / js for testing
  • Use docker registry for finished container with php support for mysql
  • Add db tests as examples to cest