SlideShare a Scribd company logo
2014/8/23@yando
Testing your App

with Selenium on Travis CI
me
Yusuke Ando
2002
10 20 meetups / month
Engine Yard / Japan
mean while in Japan
yando
github.com/yandod
seene.co/u/yando
Testing your app with Selenium on Travis CI
candycane
Testing your app with Selenium on Travis CI
Testing your app with Selenium on Travis CI
Agenda
Why Travis CI
Overview
Selenium on Travis CI
Why Travis CI?
Testing Era
Every
project
night
commit
Jenkins
HELL
on Jenkins
Application A
Application B
Application C
Testing your app with Selenium on Travis CI
Yak Shaving
SAVE US
CI as a Service
February 2011 born in Berlin
Mathias Meyer & Josh Kalderimis
Open Source
Travis CI
Distributed
Disposable VM
parallel, multiple version
for library developer
Features
Testing your app with Selenium on Travis CI
C
C++
Clojure
Erlang
Go
Groovy
Haskell
Java
JavaScript
Objective-C
Perl
PHP
Python
Ruby
Scala
…
polyglot
Email
IRC
Campfire
Flowdock
HipChat
Sqwiggle
Slack
Webhook
Notification
Price
Getting Started
Ubuntu 12.04 LTS Server Edition 64bit
Mac OSX as option
Chef
VM
Testing your app with Selenium on Travis CI
push to github
account registration
turn on
pre requirement
Testing your app with Selenium on Travis CI
configuration file
language, version, scripts
encrypted key
.travis.yml
.travis.yml
php versions
Testing your app with Selenium on Travis CI
Testing your app with Selenium on Travis CI
badges
flexible
override default if necessary
phpunit or any commands
composer pyrus pear
pecl, apt-get, make
phalcon/cphalcon
Unity?
coverage report?
encryption
secret key, email address, endpoint
travis gem
secure: aaabbbbccccdddeeeee
will be decoded on travis vm
example
re-run
network timeout
api error?
stay calm, click a button
Testing your app with Selenium on Travis CI
skip build?
changing only README
put [ci skip] or [skip ci]
Mobile App
Testing your app with Selenium on Travis CI
Testing your app with Selenium on Travis CI
with just a yml file
easy of use
great of productivity
Travis CI for Unit Testing
Travis for Unit Testing
major use case
modern library might use Travis
CakePHP uses Travis
Testing your app with Selenium on Travis CI
Testing your app with Selenium on Travis CI
Testing your app with Selenium on Travis CI
if you on cake way
app/Console/Cake test app All
call extra tests if necessary
just rewrite line of .travis.yml
Travis CI for App Testing
Selenium
control browser remotely
tests entire app includes JavaScript,
pixel, click, etc..
WebDriver accepts call from PHPUnit
require java, x, firefox
No..
Selenium RC
Selenium IDE
Phantom.js
Selenium on Travis
firefox, xVfb, java by default
selenium-server
phpunit-selenium
boot webserver by php -S or https
Travis CI VM
xVfb
firefox
Java
Selenium
PHP
WebApp
phpunit
Testing your app with Selenium on Travis CI
Testing your app with Selenium on Travis CI
turn into phpunit
Testing your app with Selenium on Travis CI
Testing your app with Selenium on Travis CI
Testing your app with Selenium on Travis CI
Testing your app with Selenium on Travis CI
screenshot
DEMO?
Do you really keep DIY?
Testing your app with Selenium on Travis CI

More Related Content

What's hot (20)

PDF
Stackup deck
Edwin Fuquen
 
PPTX
Async webdriverjs
Manoj Kumar Kumar
 
PDF
Run your Appium tests using Docker Android - AppiumConf 2019
Sargis Sargsyan
 
PDF
End to-end testing from rookie to pro
Domenico Gemoli
 
PDF
Appium Dockerization: from Scratch to Advanced Implementation - HUSTEF 2019
Sargis Sargsyan
 
PPT
Griffon: Swing just got fun again
James Williams
 
PPTX
Build Automation in Android
Angelo Rüggeberg
 
PPTX
Automated Testing Overview
antsh
 
PDF
Grunt, Gulp & fabs: Build Systems and Development-Workflow for Modern Web-App...
Philipp Burgmer
 
PDF
Appium mobile web+dev conference
Isaac Murchie
 
PPTX
Continuous Integration of Mobile Apps with Docker and Appium
Emergya
 
PPTX
Docker and Selenoid - Make Autotests Great Again
COMAQA.BY
 
PDF
Test Inside Containers: Dockerise Appium Tests
Srinivasan Sekar
 
KEY
Testing with Jenkins, Selenium and Continuous Deployment
Max Klymyshyn
 
PPTX
Automated Testing with Cucumber, PhantomJS and Selenium
Dev9Com
 
PDF
Getting started with .net on openSUSE (asp.net with c#)
Alin Alifah
 
PDF
Kubernetes x PaaS – コンテナアプリケーションのNoOpsへの挑戦
Yoichi Kawasaki
 
PDF
No more video loss - Alex Rivkin, Motorola Solutions
DroidConTLV
 
PDF
Tdd
dasdom
 
PDF
DevOps Camp 2017 NYC Local Development using Vagrant by Anthony Alvarez
Anthony Alvarez
 
Stackup deck
Edwin Fuquen
 
Async webdriverjs
Manoj Kumar Kumar
 
Run your Appium tests using Docker Android - AppiumConf 2019
Sargis Sargsyan
 
End to-end testing from rookie to pro
Domenico Gemoli
 
Appium Dockerization: from Scratch to Advanced Implementation - HUSTEF 2019
Sargis Sargsyan
 
Griffon: Swing just got fun again
James Williams
 
Build Automation in Android
Angelo Rüggeberg
 
Automated Testing Overview
antsh
 
Grunt, Gulp & fabs: Build Systems and Development-Workflow for Modern Web-App...
Philipp Burgmer
 
Appium mobile web+dev conference
Isaac Murchie
 
Continuous Integration of Mobile Apps with Docker and Appium
Emergya
 
Docker and Selenoid - Make Autotests Great Again
COMAQA.BY
 
Test Inside Containers: Dockerise Appium Tests
Srinivasan Sekar
 
Testing with Jenkins, Selenium and Continuous Deployment
Max Klymyshyn
 
Automated Testing with Cucumber, PhantomJS and Selenium
Dev9Com
 
Getting started with .net on openSUSE (asp.net with c#)
Alin Alifah
 
Kubernetes x PaaS – コンテナアプリケーションのNoOpsへの挑戦
Yoichi Kawasaki
 
No more video loss - Alex Rivkin, Motorola Solutions
DroidConTLV
 
Tdd
dasdom
 
DevOps Camp 2017 NYC Local Development using Vagrant by Anthony Alvarez
Anthony Alvarez
 

Similar to Testing your app with Selenium on Travis CI (20)

PPTX
Continuous Testing and New Tools for Automation - Presentation from StarWest ...
Sauce Labs
 
PDF
Travis-CI - Continuos integration in the cloud for PHP
Federico Damián Lozada Mosto
 
PDF
Using Travis CI to Test and Deploy Plugins
Joe Cartonia
 
PPTX
Continuous Testing in the Cloud
Sauce Labs
 
PDF
TRAVIS CI-KNOLX
Knoldus Inc.
 
PPTX
CI in the mobile world
Godfrey Nolan
 
PPTX
Travis CI - PHP
Adam Englander
 
PDF
Continuous Integration Testing in Django
Kevin Harvey
 
PDF
Show an Open Source Project Some Love and Start Using Travis-CI
Joel Byler
 
PPTX
Getting Started With Selenium
SmartBear
 
PDF
CI comparison (Romobos-2017)
Veaceslav Gaidarji
 
KEY
Travis CI: Fun and easy CI for your Plone packages
Nejc Zupan
 
PDF
Selenium: What Is It Good For
Allan Chappell
 
PDF
Continuous Integration for your Android projects
Sergii Zhuk
 
PPTX
Continuous integration
Yoshan madhumal
 
PPTX
Ios driver presentation copy
David O'Dowd
 
PDF
Continuous Integration
Danilo Pianini
 
PDF
MBLTDev15: Brigit Lyons, Soundcloud
e-Legion
 
PDF
Selenium Israel Meetup
Justin Ison
 
Continuous Testing and New Tools for Automation - Presentation from StarWest ...
Sauce Labs
 
Travis-CI - Continuos integration in the cloud for PHP
Federico Damián Lozada Mosto
 
Using Travis CI to Test and Deploy Plugins
Joe Cartonia
 
Continuous Testing in the Cloud
Sauce Labs
 
TRAVIS CI-KNOLX
Knoldus Inc.
 
CI in the mobile world
Godfrey Nolan
 
Travis CI - PHP
Adam Englander
 
Continuous Integration Testing in Django
Kevin Harvey
 
Show an Open Source Project Some Love and Start Using Travis-CI
Joel Byler
 
Getting Started With Selenium
SmartBear
 
CI comparison (Romobos-2017)
Veaceslav Gaidarji
 
Travis CI: Fun and easy CI for your Plone packages
Nejc Zupan
 
Selenium: What Is It Good For
Allan Chappell
 
Continuous Integration for your Android projects
Sergii Zhuk
 
Continuous integration
Yoshan madhumal
 
Ios driver presentation copy
David O'Dowd
 
Continuous Integration
Danilo Pianini
 
MBLTDev15: Brigit Lyons, Soundcloud
e-Legion
 
Selenium Israel Meetup
Justin Ison
 
Ad

More from Yusuke Ando (20)

PDF
ダイナミック広告の改善と拡大
Yusuke Ando
 
PDF
DevOpsを実現するChef活用テクニック
Yusuke Ando
 
PDF
DevOpsを実現する為のChef実践テクニック Chef12対応版
Yusuke Ando
 
PDF
Travis CIで実現するPHPアプリの自動テスト
Yusuke Ando
 
PDF
Shimokita.Unity Detonatorで爆発
Yusuke Ando
 
PDF
Shimokita.Unity RigidbodyとColliderで衝突
Yusuke Ando
 
PDF
Webプログラマの為のUnity入門
Yusuke Ando
 
PDF
ゴールデンウィークに最適な学習コンテンツ
Yusuke Ando
 
PDF
Travis CIですぐに始める継続的インテグレーション
Yusuke Ando
 
PDF
ブログやサイトのJekyllへの移行
Yusuke Ando
 
PDF
PHPとTravis CIでブラウザテスト
Yusuke Ando
 
PDF
Shimokita.Unity パリの街をユニティちゃんが駆ける
Yusuke Ando
 
PDF
Dev opschef
Yusuke Ando
 
PDF
Paa s and oss
Yusuke Ando
 
PDF
New relic
Yusuke Ando
 
PDF
Engine Yardで作る NetCommons3のクラウド環境
Yusuke Ando
 
PDF
Engine Yard Cloud
Yusuke Ando
 
PDF
最近のCandyCane - PHP版Redmineでタスク管理を始めよう
Yusuke Ando
 
PDF
PHPの教室「foreachを極める」
Yusuke Ando
 
PDF
20121225 php
Yusuke Ando
 
ダイナミック広告の改善と拡大
Yusuke Ando
 
DevOpsを実現するChef活用テクニック
Yusuke Ando
 
DevOpsを実現する為のChef実践テクニック Chef12対応版
Yusuke Ando
 
Travis CIで実現するPHPアプリの自動テスト
Yusuke Ando
 
Shimokita.Unity Detonatorで爆発
Yusuke Ando
 
Shimokita.Unity RigidbodyとColliderで衝突
Yusuke Ando
 
Webプログラマの為のUnity入門
Yusuke Ando
 
ゴールデンウィークに最適な学習コンテンツ
Yusuke Ando
 
Travis CIですぐに始める継続的インテグレーション
Yusuke Ando
 
ブログやサイトのJekyllへの移行
Yusuke Ando
 
PHPとTravis CIでブラウザテスト
Yusuke Ando
 
Shimokita.Unity パリの街をユニティちゃんが駆ける
Yusuke Ando
 
Dev opschef
Yusuke Ando
 
Paa s and oss
Yusuke Ando
 
New relic
Yusuke Ando
 
Engine Yardで作る NetCommons3のクラウド環境
Yusuke Ando
 
Engine Yard Cloud
Yusuke Ando
 
最近のCandyCane - PHP版Redmineでタスク管理を始めよう
Yusuke Ando
 
PHPの教室「foreachを極める」
Yusuke Ando
 
20121225 php
Yusuke Ando
 
Ad

Recently uploaded (20)

PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Python basic programing language for automation
DanialHabibi2
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 

Testing your app with Selenium on Travis CI