★ wanayoo — archive 1999 https://github.com/ankurk91/codeception-travis-ci-exampleNouvelle recherche | Portail wanayoo
Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.