Skip to content
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.

[READ-ONLY] Codeception Acceptance Testing on Travis-CI

License

Notifications You must be signed in to change notification settings

ankurk91/codeception-travis-ci-example

Repository files navigation

Codeception Acceptance Testing on Travis-CI

TravisCI Status

Prerequisites

Prepare

  • Clone the repo / Download the master branch
git clone https://github.com/ankurk91/codeception-travis-ci-example.git
cd codeception-travis-ci-example
  • Install dependencies
composer install
  • Run php inbuilt server, allow port 8000 in your firewall
php -S localhost:8000 -t app

Chrome

  • In a new terminal tab - Start selenium server
 java -Dwebdriver.chrome.driver=/full/path/to/chromedriver -jar selenium-server-standalone-3.4.0.jar 
  • In a new terminal tab - Execute tests on Chrome
./vendor/bin/codecept run --env chrome
  • You can also try Chrome in headless mode
./vendor/bin/codecept run --env chrome-headless

Firefox

  • In a new terminal tab - Start selenium server and keep it running
java -Dwebdriver.gecko.driver=/full/path/to/geckodriver -jar selenium-server-standalone-3.4.0.jar 
  • In a new terminal tab - Execute tests on Firefox
./vendor/bin/codecept run --env firefox

Quick Links

TODOs

License

MIT License

About

[READ-ONLY] Codeception Acceptance Testing on Travis-CI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages