SlideShare a Scribd company logo
Submit Search
Upload
Login
Signup
Continuous Testing
Report
Eric Hogue
Follow
Software Developer at DataCandy
Nov. 10, 2013
•
0 likes
•
1,886 views
1
of
48
Continuous Testing
Nov. 10, 2013
•
0 likes
•
1,886 views
Download Now
Download to read offline
Report
Technology
Sports
A talk on continuous testing in PHP I gave at the uncon of True North PHP 2013.
Eric Hogue
Follow
Software Developer at DataCandy
Recommended
Oow08slides
Jake Kuramoto
724 views
•
15 slides
Owen wallace week two
owwallace
632 views
•
20 slides
Presentación1
Miguel Manzano Alonso
452 views
•
22 slides
Evernote - Taking Notes
Schipul - The Web Marketing Company
702 views
•
100 slides
Manuel deangelo visual_resumestoryboard
dmanuel1
678 views
•
19 slides
Theory of Multiple Intelligences
Gary Schrader
317 views
•
17 slides
More Related Content
What's hot
A glimpse into the future of higher education
Aisyah Saad Abdul Rahim
1.4K views
•
20 slides
Lit Final Presentation
cpost7
718 views
•
29 slides
On Compelling Storytelling
Alan Levine
979 views
•
24 slides
Tech integration pk 1
University Liggett School
707 views
•
20 slides
Firefox小技巧-快速看圖
Justin Lee
1.1K views
•
21 slides
Online Film Distribution
Chi-chi Ekweozor
1.1K views
•
53 slides
What's hot
(20)
A glimpse into the future of higher education
Aisyah Saad Abdul Rahim
•
1.4K views
Lit Final Presentation
cpost7
•
718 views
On Compelling Storytelling
Alan Levine
•
979 views
Tech integration pk 1
University Liggett School
•
707 views
Firefox小技巧-快速看圖
Justin Lee
•
1.1K views
Online Film Distribution
Chi-chi Ekweozor
•
1.1K views
What is a PhotoCamp?
Pete Prodoehl
•
1.8K views
Shots and Angles
spmath
•
397 views
Our students won_t_research_the_way_we_did
Nate Kogan
•
492 views
Growing Grails Software, Driven by Domain
Yukei Wachi
•
1.7K views
Perceptive media for #CanvasConf
Ian Forrester
•
3.1K views
Presentation notes and references
Lexi Mills
•
88 views
How to not hate your job
Mark Cohen
•
2.1K views
Ibarra francisco industry_speech_slides
fjibarra
•
247 views
Simon david 4.4_finalppp_slideshow
David Simon
•
80 views
Avoiding Traps in Projects
Patrick McAndrew
•
450 views
Listening To Each Other
Rev. Chris Cahill
•
550 views
7 Facts Every Author Ought To Know
TreDigital
•
570 views
What do a leaky roof, a greasy spoon, a bear sighting, and a man with a torto...
Peter Bromberg
•
1.5K views
Creating Compelling Digital Stories
Alan Levine
•
862 views
Similar to Continuous Testing
ALA Preconference Making it Stick
Lori Reed
2.9K views
•
89 slides
How to mobilize followers
Vicki Davis
1.3K views
•
27 slides
Knowing God
imedia322
402 views
•
28 slides
Building your Personal Brand
ThinkTank Collective Intelligence Software
699 views
•
43 slides
Connectivist PD
Brendan Murphy
345 views
•
12 slides
Social Business: Be Social, Don't Use Social
Gina Schreck
75.5K views
•
12 slides
Similar to Continuous Testing
(20)
ALA Preconference Making it Stick
Lori Reed
•
2.9K views
How to mobilize followers
Vicki Davis
•
1.3K views
Knowing God
imedia322
•
402 views
Building your Personal Brand
ThinkTank Collective Intelligence Software
•
699 views
Connectivist PD
Brendan Murphy
•
345 views
Social Business: Be Social, Don't Use Social
Gina Schreck
•
75.5K views
Just Me
[ki:]®Learning Business Skills
•
608 views
The challenge
Shiv Chaudhary
•
202 views
Leading Through Change: Inspiring Awakening
Michelle Pacansky-Brock
•
1.1K views
Success Factors of the Connected Home - Applications
DSP-Partners
•
1.7K views
Secrets Of An Impromptu
LouisetteZurita
•
589 views
Oow 2008 Final
Jake Kuramoto
•
732 views
#Marketing
Filippo Selden
•
927 views
The Product Manager Paradox
Steve Paddon
•
784 views
Inspiring Students
sraslim
•
1.6K views
戦略的設計入門
Yukei Wachi
•
2.2K views
Top ten slide tips
kpraet1
•
234 views
Improving Bounce Rate
Matthew Culnane
•
333 views
Email Marketing For Small Business
John Walker
•
1.4K views
The Lord's Prayer
Rev. Chris Cahill
•
337 views
More from Eric Hogue
Au secours, mon application est brisée - Ou comment déboguer
Eric Hogue
148 views
•
50 slides
Introduction à l'intégration continue en PHP
Eric Hogue
808 views
•
100 slides
Commencer avec le TDD
Eric Hogue
674 views
•
77 slides
Introduction à l’intégration continue avec Jenkins
Eric Hogue
9.1K views
•
94 slides
Introduction to Continuous Integration with Jenkins
Eric Hogue
2.7K views
•
94 slides
Guarding Your Code Against Bugs with Continuous Testing
Eric Hogue
718 views
•
108 slides
More from Eric Hogue
(12)
Au secours, mon application est brisée - Ou comment déboguer
Eric Hogue
•
148 views
Introduction à l'intégration continue en PHP
Eric Hogue
•
808 views
Commencer avec le TDD
Eric Hogue
•
674 views
Introduction à l’intégration continue avec Jenkins
Eric Hogue
•
9.1K views
Introduction to Continuous Integration with Jenkins
Eric Hogue
•
2.7K views
Guarding Your Code Against Bugs with Continuous Testing
Eric Hogue
•
718 views
Continuous testing In PHP
Eric Hogue
•
758 views
La sécurité des communications avec GPG
Eric Hogue
•
1K views
Getting started with TDD - Confoo 2014
Eric Hogue
•
1.6K views
Commencer avec le tdd
Eric Hogue
•
8K views
Introduction to ci with jenkins
Eric Hogue
•
2.3K views
Integration continue
Eric Hogue
•
938 views
Recently uploaded
Future of Skills
Alison B. Lowndes
44 views
•
50 slides
Mitigating Third-Party Risks: Best Practices for CISOs in Ensuring Robust Sec...
TrustArc
44 views
•
21 slides
Experts Live Europe 2023 - Ensure your compliance in Microsoft Teams with Mic...
Jasper Oosterveld
58 views
•
76 slides
Common WordPress APIs - Options API
Jonathan Bossenger
24 views
•
10 slides
LLaMA 2.pptx
RkRahul16
24 views
•
19 slides
UiPath Tips and Techniques for Error Handling - Session 2
DianaGray10
25 views
•
9 slides
Recently uploaded
(20)
Future of Skills
Alison B. Lowndes
•
44 views
Mitigating Third-Party Risks: Best Practices for CISOs in Ensuring Robust Sec...
TrustArc
•
44 views
Experts Live Europe 2023 - Ensure your compliance in Microsoft Teams with Mic...
Jasper Oosterveld
•
58 views
Common WordPress APIs - Options API
Jonathan Bossenger
•
24 views
LLaMA 2.pptx
RkRahul16
•
24 views
UiPath Tips and Techniques for Error Handling - Session 2
DianaGray10
•
25 views
Machine learning with quantum computers
Speck&Tech
•
18 views
web test repair.pptx
YuanzhangLin
•
31 views
Announcing InfluxDB Clustered
InfluxData
•
55 views
The Ultimate Administrator’s Guide to HCL Nomad Web
panagenda
•
53 views
Product Listing Presentation_Cathy.pptx
CatarinaTorrenuevaMa
•
67 views
How is AI changing journalism? Strategic considerations for publishers and ne...
Damian Radcliffe
•
56 views
Data Formats: Reading and writing JSON – XML - YAML
CSUC - Consorci de Serveis Universitaris de Catalunya
•
54 views
Connecting Africa.docx
Eric Annan
•
13 views
How to use the Cataloguing Code Ethics at your day job : a hands-on workshop ...
CILIP MDG
•
36 views
Safe Community Call #12.pdf
LornyPfeifer
•
15 views
ISO Survey 2022: ISO 27001 certificates (ISMS)
Andrey Prozorov, CISM, CIPP/E, CDPSE. LA 27001
•
90 views
Unleashing Innovation: IoT Project with MicroPython
Vubon Roy
•
30 views
Elevate Your Enterprise with FME 23.1
Safe Software
•
289 views
Improving Employee Experiences on Cisco RoomOS Devices, Webex, and Microsoft ...
ThousandEyes
•
68 views
Continuous Testing
1.
Continuous Testing Eric Hogue @ehogue erichogue.ca TrueNorth
<?PHP?> Uncon November 9, 2013
2.
Cont inuo us Test ing
3.
How Dis I cov ere d it Photo: Morten
Diesen http://www.flickr.com/photos/mortendiesen/8091682612
4.
DD T Photo: William Warby http://www.flickr.com/photos/wwarby/2460655511
5.
Photo: ser... ser... http://www.flickr.com/photos/el_ser_lomo/3267627038
6.
Au to Au ma to te m Te
at the sts ed Photo: Markus http://www.flickr.com/photos/tschiae/9758986651/
7.
ed Fe ck ba
8.
Photo: Jeffrey Beall http://www.flickr.com/photos/denverjeffrey/5133538450/
9.
G rd ua
10.
lu P ns gi
11.
Guard::PHPUnit2
12.
Installation
13.
Installation Gemfile source 'https://rubygems.org' group :development
do gem 'guard' gem 'guard-phpunit2' end
14.
Installation Gemfile source 'https://rubygems.org' group :development
do gem 'guard' gem 'guard-phpunit2' end $ bundle install
15.
$ bundle exec
guard
16.
$ bundle exec
guard
17.
Guardfile guard 'phpunit2', :cli
=> '--colors' do watch(%r{^.+Test.php$}) end
19.
guard 'phpunit2', :cli
=> '--colors' do watch(%r{^tests/.+Test.php$}) watch(%r{^src/(.+).php$}) { |m| "tests/#{m[1]}Test.php" } end
20.
%r{^src/(.+).php$} src/TDD/Factorial.php
21.
%r{^src/(.+).php$} src/TDD/Factorial.php "tests/#{m[1]}Test.php" phpunit tests/TDD/FactorialTest.php
22.
Photo: Luis Humberto
Molinar Márquez http://www.flickr.com/photos/anktsunamunh/3271371910/ gs tin et S
23.
:all_on_start => true
24.
:all_after_pass => true
25.
:keep_failed => true
27.
Guard::PHPCS Gemfile gem 'guard-phpcs' Guardfile guard 'phpcs',
:standard => 'PSR2' do watch(%r{.*.php$}) end
29.
Guard::PHPMD Gemfile gem 'guard-phpmd' Guardfile guard 'phpmd'
do watch(%r{.*.php$}) end
31.
Guard::Shell Gemfile gem 'guard-shell' Guardfile guard 'shell'
do watch(%r{^.+.php$}) {|m| `php -l #{m[0]}` true } end
32.
Guard::Shell
33.
Ot Gu her ar ds
34.
Inline Guard module ::Guard class
Behat < Guard end end
35.
def start puts 'Run
all Behat tests' puts `bin/behat --format progress` end
36.
def run_on_change(paths) paths.each do
|file| puts "Running behat on #{file}" puts `bin/behat #{file} --format progress` end end
37.
guard 'behat' do watch
%r{^features/.+.feature$} end
40.
s n io t a c fi ti Photo: Ben Schumin http://www.flickr.com/photos/schuminweb/9806474636/ o N
41.
Libnotify/Growl Gemfile gem 'libnotify' Guardfile # Linux notification
:libnotify # Mac notification :growl
43.
Console Title notification :terminal_title
44.
Console Title notification :terminal_title
45.
tmux notification :tmux, :default_message_format =>
'%s >> %s', :line_separator => ' > ', :color_location => 'status-left-bg'
46.
notification :off
47.
G rd ua
48.
Questions Comments: https://joind.in/10013 Twitter: @ehogue Blog: http://erichogue.ca/ Damián Navas http://www.flickr.com/photos/wingedwolf/5471047557/