SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
TDD it’s not Tester Driven Development 
Stephen Readman, Sopra Group & 
Kevin Campbell, CloudReach 
www.eurostarconferences.com 
@esconfs 
#esconfs 
#trackw07
2 
TDD it’s not tester driven development 
EuroSTAR 2012, 
Amsterdam RAI 
#trackw07 @esconfs #esconfs
3 
Who are we? 
 Stephen Readman 
 Lead Consultant @ Sopra Group 
 14 years experience in Software Testing 
 Multiple business environments 
 Based in Edinburgh, UK 
 Kevin Campbell 
 Quality Assurance Manager @ Cloudreach 
 18 years in the financial services industry 
Aspiring cloud computing aficionado 
 Also based in Edinburgh, UK
4 
Why are you here? 
 Maybe you got lost? This is track W07! 
 More likely, you know of TDD / Practice TDD 
 This is a case study, with a difference ;-) 
We'll talk about the background 
We'll talk about the process and content 
We'll give you some tips - take it or leave it!
5 
Tweeting 
 Be interactive 
 Mobiles at the ready! 
 Please Tweet your questions or observations 
 We'll read and answer some later on 
#trackw07 @esconfs #esconfs
6 
Twitter Poll: 
What is the main barrier to TDD? 
 Testers not technical enough? 
 Business engagement? 
 Cost of change? 
 Lack of experience? 
 Cultural fit/change? 
 Technology/Infrastructure limitations? 
.... Please share your thoughts
7 
Innovate & Renovate 
 ... is testing really dead? 
 You need to Innovate and Renovate your 
testing, this is EuroSTAR 2012 after all
8 
Project Overview 
 Replacing an existing consumer web platform 
 Major architectural rewrite of a core business application 
 Improving the customer experience 
 UX designers mapping stories to personas 
 UI developers focussing on UI only 
 Big focus on customer experience
9 
Testing with Visual Studio 2010
10 
Business Analysts 
define and write User 
Stories and Use Cases 
Use 
Cases User 
Stories 
Testers define and 
prepare « business » 
Test Cases 
Test 
Cases 
Developers implement 
and unit-test their code 
(with the TDD practice) 
The TDD practice 
is siloed inside 
the developer’s 
activities 
Application 
Unit Tests 
Traditional Test Driven Development
11 
Business Analysts, Testers and developers 
work together to understand the requirements, 
define the associated tests, whether they can be 
automated, and who executes them 
Use 
Cases 
User 
Stories 
Test 
Cases 
The differents roles’ 
points of view are 
complementary: they 
help each other 
Developers have a 
better understanding 
of what has to be 
developed, and why 
Testers have a good 
view of what can be 
tested by developers, 
and can focus on high-value 
business tests 
A real collaboration, 
highly efficient in an 
agile process with 
short iterations
12 
So that’s “Why TDD” 
 Conversation is powerful 
 Examples are powerful 
 Automated examples are powerful 
 Red -> Green ->Refactor 
 Sitting on the fence between BDD and TDD 
 Remove Testing Silos 
Collaboration is key!
13 
We’ve been on a journey 
 Culture Change 
Collaboration between the key players 
Role changes 
Responsibilities 
 Behavioural Shift 
Testers asked to operate out side 
the perceived norm 
Ownership
14 
We’ve been on a journey 
 Software Changes 
Hello Visual Studio 2010 
Hello Gherkin 
Hello Selenium 
Hello SpecFlow 
 Technology Changes 
.NET based technology 
Completely new Infrastructure
15 
Twitter Poll: 
What is the main barrier to TDD? 
 Testers not technical enough? 
 Business engagement? 
 Cost of change? 
 Lack of experience? 
 Cultural fit/change? 
 Technology/Infrastructure limitations? 
.... Please share your thoughts
16 
 Business: Acceptance is formal structured English 
 Developer: Responsible for automation services 
Key Point 
It is important to create concrete 
examples to ensure high quality 
stories/designs through the 
Three Amigos process 
Three Amigos 
The Three Amigos 
 Testers: Contribute to product definition
17 
Human Aspects: Developer 
 Stories are throw away once tests written 
 More time implementing tests than developing 
application code 
 It doesn’t feel like TDD 
 Gherkin tests not ready - I’ll just develop! 
 Developers can write Gherkin Tests too 
 Unit Test Code Coverage was mandatory 
#trackw07 @esconfs #esconfs
18 
Human Aspects: Tester 
 I can’t do automation code 
 I am the gateway to quality 
 A developer has changed my test 
 Acceptance Criteria on stories missing. I can’t therefore 
write tests 
 I can’t see test results, is this quality code? 
 So I’ll just do everything I used to do then. 
 Ownership of scenario automation and exploratory 
testing to compliment automation 
#trackw07 @esconfs #esconfs
19 
Human Aspects: Business 
 Gherkin Tests make it easy for me to 
understand the way the system is designed to 
work 
 Pickles ‘living documentation’ really works for 
me, with high levels of visibility 
 I can’t see test results, is this quality code? 
 I am part of the team and a key sign-off stage 
#trackw07 @esconfs #esconfs
20 
What the Management said 
 I can’t see the results of the tests 
 Progress through stories seems slow 
 Sprint planning metrics seem mysterious 
 Delighted with the iterative delivery 
 Documentation is always accessible 
#trackw07 @esconfs #esconfs
21 
Summary: Human Aspects 
 Test Analyst 
 Test Analyst – focussed on ‘what’ to test 
 Tests are formal but not technical 
 Developer 
 Focussed on the ‘how’ i.e. writing the automation 
 Test Automation Engineer or Software Developer but 
not the Test Analyst 
 Business 
Actively engaged throughout the SDLC 
 Continuous show case and sign off 
#trackw07 @esconfs #esconfs
22 
Bringing excellent testing foward 
 There’s a big difference between testing and checking 
 A check has three linked parts: 
 An observation 
 A decision rule 
 The “setting of a bit” 
 A check can be applied non-sapiently, without human 
involvement, but… 
 Excellent checking is surrounded by sapient activities 
that require testing skill and programming skill 
 Checking is very valuable when we don’t fall asleep 
Michael Bolton, Burning Issue of the day , Scottish Testing Group – May 2010
23 
Twitter Poll : 
What is the main barrier to TDD? 
 Lack of technical testers? 
 Business engagement? 
 Cost of change? 
 Lack of experience? 
 Cultural fit/change? 
 Technology/Infrastructure limitations? 
.... Please share your thoughts
24 
Online survey 
What is the main barrier to introducing TDD?
25 
What helped us: Hints & Tips 
 Exploratory Test sessions and activity in HP 
Quality Center (QC) 
 Synced defects between HP QC and MS TFS 
 Pickles: Docs always up to date and available 
 Team Build Screen 
 TFS Work Bench
26 
What worked well 
 Developers can be automation kings 
 Testers will always be testing kings 
 We didn’t develop, if when pushed, the business 
often can’t specify what they wanted clearly 
 All layers of management must demand clear 
metrics 
 TDD isn’t faster than other methods 
 TDD enforces rigor and therefore quality
27 
Summary: Human Aspects 
 Test Analyst 
 Test Analyst – focussed on ‘what’ to test 
 Tests are formal but not technical 
 Developer 
 Focussed on the ‘how’ i.e. writing the automation 
 Test Automation Engineer or Software Developer but 
not the Test Analyst 
 Business 
Actively engaged throughout the SDLC 
 Continuous show case and sign off 
#trackw07 @esconfs #esconfs
28 
Questions & Thank You 
Contact: 
sreadman@uk.sopragroup.com | @sarcx 
kevin.campbell@cloudreach.co.uk | @zooldafool 
#trackw07 @esconfs #esconfs

Contenu connexe

Tendances

Tester career path
Tester career pathTester career path
Tester career path
gaoliang641
 
How testers add value to the organization appium conf
How testers add value to the organization  appium confHow testers add value to the organization  appium conf
How testers add value to the organization appium conf
Corina Pip
 
Marlabs test digest Sep 2014
Marlabs test digest Sep 2014Marlabs test digest Sep 2014
Marlabs test digest Sep 2014
Marlabs
 
software testing for beginners
software testing for beginnerssoftware testing for beginners
software testing for beginners
Bharathi Ashok
 
Agile Testing Process
Agile Testing ProcessAgile Testing Process
Agile Testing Process
Intetics
 
The testing skillset
The testing skillsetThe testing skillset
The testing skillset
Johan Hoberg
 

Tendances (20)

James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011
James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011
James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011
 
Tester career path
Tester career pathTester career path
Tester career path
 
Quality engineering & testing in DevOps IT delivery with TMAP
Quality engineering & testing in DevOps IT delivery with TMAPQuality engineering & testing in DevOps IT delivery with TMAP
Quality engineering & testing in DevOps IT delivery with TMAP
 
НІКОЛАЙ ЛОТОЦКИЙ «Тестування всьому голова або будуємо тест план в голові роз...
НІКОЛАЙ ЛОТОЦКИЙ «Тестування всьому голова або будуємо тест план в голові роз...НІКОЛАЙ ЛОТОЦКИЙ «Тестування всьому голова або будуємо тест план в голові роз...
НІКОЛАЙ ЛОТОЦКИЙ «Тестування всьому голова або будуємо тест план в голові роз...
 
How to test when robots become part of your process? Workshop robotesting agi...
How to test when robots become part of your process? Workshop robotesting agi...How to test when robots become part of your process? Workshop robotesting agi...
How to test when robots become part of your process? Workshop robotesting agi...
 
How testers add value to the organization appium conf
How testers add value to the organization  appium confHow testers add value to the organization  appium conf
How testers add value to the organization appium conf
 
Ian Cooper webinar for DDD Iran: Kent beck style tdd seven years after
Ian Cooper webinar for DDD Iran: Kent beck style tdd   seven years afterIan Cooper webinar for DDD Iran: Kent beck style tdd   seven years after
Ian Cooper webinar for DDD Iran: Kent beck style tdd seven years after
 
Michael Bolton - Two Futures of Software Testing
Michael Bolton - Two Futures of Software TestingMichael Bolton - Two Futures of Software Testing
Michael Bolton - Two Futures of Software Testing
 
Marlabs test digest Sep 2014
Marlabs test digest Sep 2014Marlabs test digest Sep 2014
Marlabs test digest Sep 2014
 
Javed sayyed resume
Javed sayyed resumeJaved sayyed resume
Javed sayyed resume
 
software testing for beginners
software testing for beginnerssoftware testing for beginners
software testing for beginners
 
Agile testing presentation
Agile testing presentationAgile testing presentation
Agile testing presentation
 
Agile Testing Process
Agile Testing ProcessAgile Testing Process
Agile Testing Process
 
Behavior Driven Development—A Guide to Agile Practices by Josh Eastman
Behavior Driven Development—A Guide to Agile Practices by Josh EastmanBehavior Driven Development—A Guide to Agile Practices by Josh Eastman
Behavior Driven Development—A Guide to Agile Practices by Josh Eastman
 
Agile Testing Agile Ottawa April 2015
Agile Testing   Agile Ottawa April 2015Agile Testing   Agile Ottawa April 2015
Agile Testing Agile Ottawa April 2015
 
DevLabs Alliance Top 20 Software Testing Interview Questions for SDET - by De...
DevLabs Alliance Top 20 Software Testing Interview Questions for SDET - by De...DevLabs Alliance Top 20 Software Testing Interview Questions for SDET - by De...
DevLabs Alliance Top 20 Software Testing Interview Questions for SDET - by De...
 
Testing in Agile Projects
Testing in Agile ProjectsTesting in Agile Projects
Testing in Agile Projects
 
Modern Testing in Today's World
Modern Testing in Today's WorldModern Testing in Today's World
Modern Testing in Today's World
 
The testing skillset
The testing skillsetThe testing skillset
The testing skillset
 
Quality Jam: BDD, TDD and ATDD for the Enterprise
Quality Jam: BDD, TDD and ATDD for the EnterpriseQuality Jam: BDD, TDD and ATDD for the Enterprise
Quality Jam: BDD, TDD and ATDD for the Enterprise
 

Similaire à Campbell & Readman - TDD It's Not Tester Driven Development - EuroSTAR 2012

Agile adoption julen c. mohanty
Agile adoption   julen c. mohantyAgile adoption   julen c. mohanty
Agile adoption julen c. mohanty
Julen Mohanty
 

Similaire à Campbell & Readman - TDD It's Not Tester Driven Development - EuroSTAR 2012 (20)

Quality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps cultureQuality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps culture
 
Agile Mëtteg #5: Agile Testing
Agile Mëtteg #5: Agile TestingAgile Mëtteg #5: Agile Testing
Agile Mëtteg #5: Agile Testing
 
Effective Testing Practices in an Agile Environment
Effective Testing Practices in an Agile EnvironmentEffective Testing Practices in an Agile Environment
Effective Testing Practices in an Agile Environment
 
Keynote Evento TestingUY 2018 - The Art of Excellence Adding value as an IT p...
Keynote Evento TestingUY 2018 - The Art of Excellence Adding value as an IT p...Keynote Evento TestingUY 2018 - The Art of Excellence Adding value as an IT p...
Keynote Evento TestingUY 2018 - The Art of Excellence Adding value as an IT p...
 
Test team dynamics, Антон Мужайло
Test team dynamics, Антон МужайлоTest team dynamics, Антон Мужайло
Test team dynamics, Антон Мужайло
 
ATDD with SpecFlow
ATDD with SpecFlowATDD with SpecFlow
ATDD with SpecFlow
 
Creating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran KinsbrunerCreating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran Kinsbruner
 
Agile adoption julen c. mohanty
Agile adoption   julen c. mohantyAgile adoption   julen c. mohanty
Agile adoption julen c. mohanty
 
IBM Innovate - Uderstanding DevOps
IBM Innovate - Uderstanding DevOpsIBM Innovate - Uderstanding DevOps
IBM Innovate - Uderstanding DevOps
 
Der Test Manager ist tot - lang lebe der Test Master
Der Test Manager ist tot - lang lebe der Test MasterDer Test Manager ist tot - lang lebe der Test Master
Der Test Manager ist tot - lang lebe der Test Master
 
DevOps culture: Computer scientists are only human ... ;)
DevOps culture: Computer scientists are only human ... ;)DevOps culture: Computer scientists are only human ... ;)
DevOps culture: Computer scientists are only human ... ;)
 
The Need for Speed
The Need for SpeedThe Need for Speed
The Need for Speed
 
Continuous delivery its not about the technology, its about the people. @pipe...
Continuous delivery its not about the technology, its about the people. @pipe...Continuous delivery its not about the technology, its about the people. @pipe...
Continuous delivery its not about the technology, its about the people. @pipe...
 
How to Leverage AI to Enhance UI Testing
How to Leverage AI to Enhance UI TestingHow to Leverage AI to Enhance UI Testing
How to Leverage AI to Enhance UI Testing
 
Software Quality Management.pptx
Software Quality Management.pptxSoftware Quality Management.pptx
Software Quality Management.pptx
 
Dev ops lpi-701
Dev ops lpi-701Dev ops lpi-701
Dev ops lpi-701
 
Test-Driven Development
Test-Driven DevelopmentTest-Driven Development
Test-Driven Development
 
Agile Software Process Improvement
Agile Software Process ImprovementAgile Software Process Improvement
Agile Software Process Improvement
 
Practical Testing Strategy for Agile Team
Practical Testing Strategy for Agile TeamPractical Testing Strategy for Agile Team
Practical Testing Strategy for Agile Team
 
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael BueningAgile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
 

Plus de TEST Huddle

Plus de TEST Huddle (20)

Why We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- AccentureWhy We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- Accenture
 
Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar
 
Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway
 
Being a Tester in Scrum
Being a Tester in ScrumBeing a Tester in Scrum
Being a Tester in Scrum
 
Leveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional TestsLeveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional Tests
 
Using Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test WorkUsing Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test Work
 
Big Data: The Magic to Attain New Heights
Big Data:  The Magic to Attain New HeightsBig Data:  The Magic to Attain New Heights
Big Data: The Magic to Attain New Heights
 
Will Robots Replace Testers?
Will Robots Replace Testers?Will Robots Replace Testers?
Will Robots Replace Testers?
 
TDD For The Rest Of Us
TDD For The Rest Of UsTDD For The Rest Of Us
TDD For The Rest Of Us
 
Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)
 
Creating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger EnterprisesCreating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger Enterprises
 
Is There A Risk?
Is There A Risk?Is There A Risk?
Is There A Risk?
 
Are Your Tests Well-Travelled? Thoughts About Test Coverage
Are Your Tests Well-Travelled? Thoughts About Test CoverageAre Your Tests Well-Travelled? Thoughts About Test Coverage
Are Your Tests Well-Travelled? Thoughts About Test Coverage
 
Growing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersGrowing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for Testers
 
Do we need testers on agile teams?
Do we need testers on agile teams?Do we need testers on agile teams?
Do we need testers on agile teams?
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfully
 
Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey
 
Practical Test Strategy Using Heuristics
Practical Test Strategy Using HeuristicsPractical Test Strategy Using Heuristics
Practical Test Strategy Using Heuristics
 
Thinking Through Your Role
Thinking Through Your RoleThinking Through Your Role
Thinking Through Your Role
 
Using Selenium 3 0
Using Selenium 3 0Using Selenium 3 0
Using Selenium 3 0
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 

Campbell & Readman - TDD It's Not Tester Driven Development - EuroSTAR 2012

  • 1. TDD it’s not Tester Driven Development Stephen Readman, Sopra Group & Kevin Campbell, CloudReach www.eurostarconferences.com @esconfs #esconfs #trackw07
  • 2. 2 TDD it’s not tester driven development EuroSTAR 2012, Amsterdam RAI #trackw07 @esconfs #esconfs
  • 3. 3 Who are we?  Stephen Readman  Lead Consultant @ Sopra Group  14 years experience in Software Testing  Multiple business environments  Based in Edinburgh, UK  Kevin Campbell  Quality Assurance Manager @ Cloudreach  18 years in the financial services industry Aspiring cloud computing aficionado  Also based in Edinburgh, UK
  • 4. 4 Why are you here?  Maybe you got lost? This is track W07!  More likely, you know of TDD / Practice TDD  This is a case study, with a difference ;-) We'll talk about the background We'll talk about the process and content We'll give you some tips - take it or leave it!
  • 5. 5 Tweeting  Be interactive  Mobiles at the ready!  Please Tweet your questions or observations  We'll read and answer some later on #trackw07 @esconfs #esconfs
  • 6. 6 Twitter Poll: What is the main barrier to TDD?  Testers not technical enough?  Business engagement?  Cost of change?  Lack of experience?  Cultural fit/change?  Technology/Infrastructure limitations? .... Please share your thoughts
  • 7. 7 Innovate & Renovate  ... is testing really dead?  You need to Innovate and Renovate your testing, this is EuroSTAR 2012 after all
  • 8. 8 Project Overview  Replacing an existing consumer web platform  Major architectural rewrite of a core business application  Improving the customer experience  UX designers mapping stories to personas  UI developers focussing on UI only  Big focus on customer experience
  • 9. 9 Testing with Visual Studio 2010
  • 10. 10 Business Analysts define and write User Stories and Use Cases Use Cases User Stories Testers define and prepare « business » Test Cases Test Cases Developers implement and unit-test their code (with the TDD practice) The TDD practice is siloed inside the developer’s activities Application Unit Tests Traditional Test Driven Development
  • 11. 11 Business Analysts, Testers and developers work together to understand the requirements, define the associated tests, whether they can be automated, and who executes them Use Cases User Stories Test Cases The differents roles’ points of view are complementary: they help each other Developers have a better understanding of what has to be developed, and why Testers have a good view of what can be tested by developers, and can focus on high-value business tests A real collaboration, highly efficient in an agile process with short iterations
  • 12. 12 So that’s “Why TDD”  Conversation is powerful  Examples are powerful  Automated examples are powerful  Red -> Green ->Refactor  Sitting on the fence between BDD and TDD  Remove Testing Silos Collaboration is key!
  • 13. 13 We’ve been on a journey  Culture Change Collaboration between the key players Role changes Responsibilities  Behavioural Shift Testers asked to operate out side the perceived norm Ownership
  • 14. 14 We’ve been on a journey  Software Changes Hello Visual Studio 2010 Hello Gherkin Hello Selenium Hello SpecFlow  Technology Changes .NET based technology Completely new Infrastructure
  • 15. 15 Twitter Poll: What is the main barrier to TDD?  Testers not technical enough?  Business engagement?  Cost of change?  Lack of experience?  Cultural fit/change?  Technology/Infrastructure limitations? .... Please share your thoughts
  • 16. 16  Business: Acceptance is formal structured English  Developer: Responsible for automation services Key Point It is important to create concrete examples to ensure high quality stories/designs through the Three Amigos process Three Amigos The Three Amigos  Testers: Contribute to product definition
  • 17. 17 Human Aspects: Developer  Stories are throw away once tests written  More time implementing tests than developing application code  It doesn’t feel like TDD  Gherkin tests not ready - I’ll just develop!  Developers can write Gherkin Tests too  Unit Test Code Coverage was mandatory #trackw07 @esconfs #esconfs
  • 18. 18 Human Aspects: Tester  I can’t do automation code  I am the gateway to quality  A developer has changed my test  Acceptance Criteria on stories missing. I can’t therefore write tests  I can’t see test results, is this quality code?  So I’ll just do everything I used to do then.  Ownership of scenario automation and exploratory testing to compliment automation #trackw07 @esconfs #esconfs
  • 19. 19 Human Aspects: Business  Gherkin Tests make it easy for me to understand the way the system is designed to work  Pickles ‘living documentation’ really works for me, with high levels of visibility  I can’t see test results, is this quality code?  I am part of the team and a key sign-off stage #trackw07 @esconfs #esconfs
  • 20. 20 What the Management said  I can’t see the results of the tests  Progress through stories seems slow  Sprint planning metrics seem mysterious  Delighted with the iterative delivery  Documentation is always accessible #trackw07 @esconfs #esconfs
  • 21. 21 Summary: Human Aspects  Test Analyst  Test Analyst – focussed on ‘what’ to test  Tests are formal but not technical  Developer  Focussed on the ‘how’ i.e. writing the automation  Test Automation Engineer or Software Developer but not the Test Analyst  Business Actively engaged throughout the SDLC  Continuous show case and sign off #trackw07 @esconfs #esconfs
  • 22. 22 Bringing excellent testing foward  There’s a big difference between testing and checking  A check has three linked parts:  An observation  A decision rule  The “setting of a bit”  A check can be applied non-sapiently, without human involvement, but…  Excellent checking is surrounded by sapient activities that require testing skill and programming skill  Checking is very valuable when we don’t fall asleep Michael Bolton, Burning Issue of the day , Scottish Testing Group – May 2010
  • 23. 23 Twitter Poll : What is the main barrier to TDD?  Lack of technical testers?  Business engagement?  Cost of change?  Lack of experience?  Cultural fit/change?  Technology/Infrastructure limitations? .... Please share your thoughts
  • 24. 24 Online survey What is the main barrier to introducing TDD?
  • 25. 25 What helped us: Hints & Tips  Exploratory Test sessions and activity in HP Quality Center (QC)  Synced defects between HP QC and MS TFS  Pickles: Docs always up to date and available  Team Build Screen  TFS Work Bench
  • 26. 26 What worked well  Developers can be automation kings  Testers will always be testing kings  We didn’t develop, if when pushed, the business often can’t specify what they wanted clearly  All layers of management must demand clear metrics  TDD isn’t faster than other methods  TDD enforces rigor and therefore quality
  • 27. 27 Summary: Human Aspects  Test Analyst  Test Analyst – focussed on ‘what’ to test  Tests are formal but not technical  Developer  Focussed on the ‘how’ i.e. writing the automation  Test Automation Engineer or Software Developer but not the Test Analyst  Business Actively engaged throughout the SDLC  Continuous show case and sign off #trackw07 @esconfs #esconfs
  • 28. 28 Questions & Thank You Contact: sreadman@uk.sopragroup.com | @sarcx kevin.campbell@cloudreach.co.uk | @zooldafool #trackw07 @esconfs #esconfs