Getting to Grips with SilverStripe Testing

Mark Rickerby
Mark RickerbyWriter, software designer, educator
Getting to Grips with SilverStripe Testing Mark Rickerby May, 2008
Continuous Integration ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Sapphire Tools ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating New Tests ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Running Tests ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Writing Unit Tests ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Writing Unit Tests ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Assertions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Testing Objects ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Testing Boundaries ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Functional Tests ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Functional Tests ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
When? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Where? What? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Rules of Thumb ,[object Object],[object Object],[object Object],[object Object],[object Object]
Questions? ,[object Object],[object Object],[object Object],[object Object],[object Object]
1 of 16

Recommended

JUnit 4 by
JUnit 4JUnit 4
JUnit 4Sunil OS
513.5K views25 slides
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ... by
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...Animesh Singh
8.4K views49 slides
Selenium IDE LOCATORS by
Selenium IDE LOCATORSSelenium IDE LOCATORS
Selenium IDE LOCATORSMindfire Solutions
4.2K views16 slides
Deep dive into Coroutines on JVM @ KotlinConf 2017 by
Deep dive into Coroutines on JVM @ KotlinConf 2017Deep dive into Coroutines on JVM @ KotlinConf 2017
Deep dive into Coroutines on JVM @ KotlinConf 2017Roman Elizarov
5.8K views107 slides
F# for C# Programmers by
F# for C# ProgrammersF# for C# Programmers
F# for C# ProgrammersScott Wlaschin
14.4K views149 slides

More Related Content

What's hot

Javascript this keyword by
Javascript this keywordJavascript this keyword
Javascript this keywordPham Huy Tung
2.3K views22 slides
Understanding the nodejs event loop by
Understanding the nodejs event loopUnderstanding the nodejs event loop
Understanding the nodejs event loopSaurabh Kumar
459 views29 slides
Clojure Monad by
Clojure MonadClojure Monad
Clojure MonadEunmin Kim
1.4K views51 slides
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 by
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 [Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 Yunho Maeng
1.9K views77 slides
Resource Bundle by
Resource BundleResource Bundle
Resource BundleSunil OS
506.8K views15 slides
Rspec by
RspecRspec
RspecAmitai Barnea
171 views28 slides

What's hot(20)

Javascript this keyword by Pham Huy Tung
Javascript this keywordJavascript this keyword
Javascript this keyword
Pham Huy Tung2.3K views
Understanding the nodejs event loop by Saurabh Kumar
Understanding the nodejs event loopUnderstanding the nodejs event loop
Understanding the nodejs event loop
Saurabh Kumar459 views
Clojure Monad by Eunmin Kim
Clojure MonadClojure Monad
Clojure Monad
Eunmin Kim1.4K views
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 by Yunho Maeng
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 [Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
Yunho Maeng1.9K views
Resource Bundle by Sunil OS
Resource BundleResource Bundle
Resource Bundle
Sunil OS506.8K views
JDBC by Sunil OS
JDBCJDBC
JDBC
Sunil OS458.2K views
Hearts Of Darkness - a Spring DevOps Apocalypse by Joris Kuipers
Hearts Of Darkness - a Spring DevOps ApocalypseHearts Of Darkness - a Spring DevOps Apocalypse
Hearts Of Darkness - a Spring DevOps Apocalypse
Joris Kuipers282 views
An Introduction to JUnit 5 and how to use it with Spring boot tests and Mockito by shaunthomas999
An Introduction to JUnit 5 and how to use it with Spring boot tests and MockitoAn Introduction to JUnit 5 and how to use it with Spring boot tests and Mockito
An Introduction to JUnit 5 and how to use it with Spring boot tests and Mockito
shaunthomas999368 views
Introduction to RxJS by Abul Hasan
Introduction to RxJSIntroduction to RxJS
Introduction to RxJS
Abul Hasan117 views
How to implement sso using o auth in golang application by Katy Slemon
How to implement sso using o auth in golang applicationHow to implement sso using o auth in golang application
How to implement sso using o auth in golang application
Katy Slemon238 views
Threading Made Easy! A Busy Developer’s Guide to Kotlin Coroutines by Lauren Yew
Threading Made Easy! A Busy Developer’s Guide to Kotlin CoroutinesThreading Made Easy! A Busy Developer’s Guide to Kotlin Coroutines
Threading Made Easy! A Busy Developer’s Guide to Kotlin Coroutines
Lauren Yew134 views
ZIO: Powerful and Principled Functional Programming in Scala by Wiem Zine Elabidine
ZIO: Powerful and Principled Functional Programming in ScalaZIO: Powerful and Principled Functional Programming in Scala
ZIO: Powerful and Principled Functional Programming in Scala
HyperLedger Fabric V2.5.pdf by wonyong hwang
HyperLedger Fabric V2.5.pdfHyperLedger Fabric V2.5.pdf
HyperLedger Fabric V2.5.pdf
wonyong hwang354 views
FIDO 생체인증 기술 개발 사례 by Lee Ji Eun
FIDO 생체인증 기술 개발 사례FIDO 생체인증 기술 개발 사례
FIDO 생체인증 기술 개발 사례
Lee Ji Eun3.8K views
PowerShell: Automation for Everyone by Intergen
PowerShell: Automation for EveryonePowerShell: Automation for Everyone
PowerShell: Automation for Everyone
Intergen1.3K views
Advanced front-end automation with npm scripts by k88hudson
Advanced front-end automation with npm scriptsAdvanced front-end automation with npm scripts
Advanced front-end automation with npm scripts
k88hudson2.9K views
Kotlin Coroutines in Practice @ KotlinConf 2018 by Roman Elizarov
Kotlin Coroutines in Practice @ KotlinConf 2018Kotlin Coroutines in Practice @ KotlinConf 2018
Kotlin Coroutines in Practice @ KotlinConf 2018
Roman Elizarov4.6K views

Similar to Getting to Grips with SilverStripe Testing

Android Automated Testing by
Android Automated TestingAndroid Automated Testing
Android Automated Testingroisagiv
142 views109 slides
Quality Assurance for PHP projects - ZendCon 2012 by
Quality Assurance for PHP projects - ZendCon 2012Quality Assurance for PHP projects - ZendCon 2012
Quality Assurance for PHP projects - ZendCon 2012Michelangelo van Dam
9.3K views223 slides
Workshop quality assurance for php projects tek12 by
Workshop quality assurance for php projects tek12Workshop quality assurance for php projects tek12
Workshop quality assurance for php projects tek12Michelangelo van Dam
3.2K views221 slides
Pragmatic unittestingwithj unit by
Pragmatic unittestingwithj unitPragmatic unittestingwithj unit
Pragmatic unittestingwithj unitliminescence
324 views37 slides
Apex Testing and Best Practices by
Apex Testing and Best PracticesApex Testing and Best Practices
Apex Testing and Best PracticesJitendra Zaa
8.2K views30 slides
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012) by
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)Jen Wong
2.8K views27 slides

Similar to Getting to Grips with SilverStripe Testing(20)

Android Automated Testing by roisagiv
Android Automated TestingAndroid Automated Testing
Android Automated Testing
roisagiv142 views
Quality Assurance for PHP projects - ZendCon 2012 by Michelangelo van Dam
Quality Assurance for PHP projects - ZendCon 2012Quality Assurance for PHP projects - ZendCon 2012
Quality Assurance for PHP projects - ZendCon 2012
Workshop quality assurance for php projects tek12 by Michelangelo van Dam
Workshop quality assurance for php projects tek12Workshop quality assurance for php projects tek12
Workshop quality assurance for php projects tek12
Pragmatic unittestingwithj unit by liminescence
Pragmatic unittestingwithj unitPragmatic unittestingwithj unit
Pragmatic unittestingwithj unit
liminescence324 views
Apex Testing and Best Practices by Jitendra Zaa
Apex Testing and Best PracticesApex Testing and Best Practices
Apex Testing and Best Practices
Jitendra Zaa8.2K views
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012) by Jen Wong
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
Jen Wong2.8K views
ZendCon2010 The Doctrine Project by Jonathan Wage
ZendCon2010 The Doctrine ProjectZendCon2010 The Doctrine Project
ZendCon2010 The Doctrine Project
Jonathan Wage1.8K views
Automated Unit Testing by Mike Lively
Automated Unit TestingAutomated Unit Testing
Automated Unit Testing
Mike Lively4.7K views
How To Test Everything by noelrap
How To Test EverythingHow To Test Everything
How To Test Everything
noelrap840 views
Pragmatic Parallels: Java and JavaScript by davejohnson
Pragmatic Parallels: Java and JavaScriptPragmatic Parallels: Java and JavaScript
Pragmatic Parallels: Java and JavaScript
davejohnson1.2K views
Unit Testing from Setup to Deployment by Mark Niebergall
Unit Testing from Setup to DeploymentUnit Testing from Setup to Deployment
Unit Testing from Setup to Deployment
Mark Niebergall101 views
Test in action week 2 by Yi-Huan Chan
Test in action   week 2Test in action   week 2
Test in action week 2
Yi-Huan Chan1.4K views
Grails unit testing by pleeps
Grails unit testingGrails unit testing
Grails unit testing
pleeps4.1K views
PHPUnit best practices presentation by Thanh Robi
PHPUnit best practices presentationPHPUnit best practices presentation
PHPUnit best practices presentation
Thanh Robi2.3K views
Test in action week 4 by Yi-Huan Chan
Test in action   week 4Test in action   week 4
Test in action week 4
Yi-Huan Chan919 views
We Are All Testers Now: The Testing Pyramid and Front-End Development by All Things Open
We Are All Testers Now: The Testing Pyramid and Front-End DevelopmentWe Are All Testers Now: The Testing Pyramid and Front-End Development
We Are All Testers Now: The Testing Pyramid and Front-End Development
All Things Open375 views

More from Mark Rickerby

The D3 Toolbox by
The D3 ToolboxThe D3 Toolbox
The D3 ToolboxMark Rickerby
4.2K views55 slides
Behaviour Driven Development by
Behaviour Driven DevelopmentBehaviour Driven Development
Behaviour Driven DevelopmentMark Rickerby
509 views22 slides
Readme Driven Development by
Readme Driven DevelopmentReadme Driven Development
Readme Driven DevelopmentMark Rickerby
2.3K views50 slides
Relentless Refactoring by
Relentless RefactoringRelentless Refactoring
Relentless RefactoringMark Rickerby
1.4K views45 slides
Evolving Software Patterns by
Evolving Software PatternsEvolving Software Patterns
Evolving Software PatternsMark Rickerby
381 views19 slides
NetArt History by
NetArt HistoryNetArt History
NetArt HistoryMark Rickerby
481 views5 slides

More from Mark Rickerby(10)

Recently uploaded

The Forbidden VPN Secrets.pdf by
The Forbidden VPN Secrets.pdfThe Forbidden VPN Secrets.pdf
The Forbidden VPN Secrets.pdfMariam Shaba
20 views72 slides
20231123_Camunda Meetup Vienna.pdf by
20231123_Camunda Meetup Vienna.pdf20231123_Camunda Meetup Vienna.pdf
20231123_Camunda Meetup Vienna.pdfPhactum Softwareentwicklung GmbH
45 views73 slides
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院IttrainingIttraining
69 views8 slides
Design Driven Network Assurance by
Design Driven Network AssuranceDesign Driven Network Assurance
Design Driven Network AssuranceNetwork Automation Forum
19 views42 slides
Future of AR - Facebook Presentation by
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentationssuserb54b561
22 views27 slides
Uni Systems for Power Platform.pptx by
Uni Systems for Power Platform.pptxUni Systems for Power Platform.pptx
Uni Systems for Power Platform.pptxUni Systems S.M.S.A.
58 views21 slides

Recently uploaded(20)

The Forbidden VPN Secrets.pdf by Mariam Shaba
The Forbidden VPN Secrets.pdfThe Forbidden VPN Secrets.pdf
The Forbidden VPN Secrets.pdf
Mariam Shaba20 views
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by IttrainingIttraining
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
Future of AR - Facebook Presentation by ssuserb54b561
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentation
ssuserb54b56122 views
STPI OctaNE CoE Brochure.pdf by madhurjyapb
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdf
madhurjyapb14 views
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... by Jasper Oosterveld
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
"Surviving highload with Node.js", Andrii Shumada by Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays33 views
"Node.js Development in 2024: trends and tools", Nikita Galkin by Fwdays
"Node.js Development in 2024: trends and tools", Nikita Galkin "Node.js Development in 2024: trends and tools", Nikita Galkin
"Node.js Development in 2024: trends and tools", Nikita Galkin
Fwdays17 views
Unit 1_Lecture 2_Physical Design of IoT.pdf by StephenTec
Unit 1_Lecture 2_Physical Design of IoT.pdfUnit 1_Lecture 2_Physical Design of IoT.pdf
Unit 1_Lecture 2_Physical Design of IoT.pdf
StephenTec15 views
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive by Network Automation Forum
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive

Getting to Grips with SilverStripe Testing

  • 1. Getting to Grips with SilverStripe Testing Mark Rickerby May, 2008
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.