41 lines
772 B
ReStructuredText
41 lines
772 B
ReStructuredText
Workshop GitLab Acceptance Testing
|
|
==================================
|
|
|
|
This repository provides material for GitLab Acceptance testing.
|
|
|
|
Install
|
|
-------
|
|
|
|
#. Run ``composer install``
|
|
|
|
#. Setup database ``own_workshopgitlabacceptance_testing``
|
|
|
|
#. Setup Mailhog.
|
|
|
|
Execute
|
|
-------
|
|
|
|
|
|
#. Start selenium
|
|
E.g.::
|
|
|
|
ChromeDriver=~/Applications/chromedriver-76 java -Djava.awt.headless=true -jar ~/Applications/selenium-server-standalone-3.141.59.jar
|
|
|
|
#. Start mailhog
|
|
|
|
#. Start php server::
|
|
|
|
TYPO3_CONTEXT=Testing/Acceptance php -S 127.0.0.1:8080 -t web
|
|
|
|
#. 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
|