SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Downloaden Sie, um offline zu lesen
Copyright © Institut Lean France 2011




Ten things we know to be true
        about testing

        Mark Striebeck
Ten things we know to be true
… about Testing




Mark Striebeck
Engineering Manager
Ten things we know to be true

1. Focus on the user and all else will follow.                            We first wrote these
                                                                          “10 things” several
                                                                          years ago. From time
                                                                          to time we revisit this
2. It's best to do one thing really, really well.                         list to see if it still
                                                                          holds true. We hope it
                                                                          does-and you can
3. Fast is better then slow.                                              hold us to that.
                                                                          (September 2009)

4. Democracy on the web works.

5. You don't need to be at your desk to need an answer.

6. You can make money without doing evil.

7. There is always more information out there.

8. The need for information crosses all borders.

                                 http://www.google.com/about/corporate/company/tenthings.htm
9. You can be serious without a suit.                                                       l
Development Culture at Google
The need for information crosses all borders


• One, open source code repository
• Code Reviews
• Open Tools
• No binary dependencies (build everything from HEAD)
Democracy on the web works


• Very little top-down management and standards
• Delegate responsibility downwards – (almost) all of it!




How to drive change?
Democracy on the web works


• Very little top-down management and standards
• Delegate responsibility downwards – (almost) all of it!




How to drive change?
• Grouplets (20% time)
• Sponsored/Supported by upper management
Where to start?
2006


• Google grows fast (product, people, source code, dependencies)
• QA is doing mostly manual testing
• Engineers can write automated tests, but adoption isn't great, coverage is
  spotty
• But integration/release problems are showing up
It's better to do one thing really, really well


• What to focus on (end-to-end testing, unit testing, latency testing, UI testing
  …)?
• Decided to focus on
       What we feel passionate about
       Where we have experience
       What can make a difference
       What we can affect


Unit / Developer testing
You can be serious without a suit

First, focus on getting the message out
• Fixits
• Tech Talks (M. Feathers,
  J. Kerievsky, G. Meszaros,
  E. Evans...)

and ...
You can be serious without a suit

… and of course: Testing on the Toilet
You can be serious without a suit

        … and of course: Testing on the Toilet
Forbes, January 10, 2007                                                San Jose Mercury News, October 22, 2007

Google is No. 1: Search and enjoy The people are brilliant. The         "Tech Notebook: Google embraces workers in unlikely places"
perks are epic. But can Google's founders build a culture that          By Vindu Goel, Scott Duke Harrisand Dean Takahashi
doesn't depend on the stock price?
                                                                        We were at Google recently, working on a story, and after consuming a little too much of that free
I'm sitting on a heated toilet in my pajamas. I'm in engineering        Google water, we felt the need to visit the restroom.
building 40 at Google on "pajama day," and directly in front of         We were surprised to find that Googlers can't escape the Mountain View company's warm embrace
me, attached to the inside door of the toilet stall, is a one-page      even in the loo. Not only are the toilet seats heated, but the company also strategically posts tips on
flier, printed on plain white paper, titled "Testing on the Toilet,     testing software code. Engineers can ponder them while they're, ahem, doing their business.
Episode 21." The document, which is designed to prod the brains         ...
of engineers who test software code, explores such subjects as          "We'll be putting episodes on this blog on a regular basis and providing PDFs so you can print them
"lode coverage" and reminds engineers that even biobreaks need          out and put them up in your own bathrooms, hallways, kitchens, moon bases, secret underground
not interrupt their work.                                               fortresses, billionaire founders' Priuses, wherever," the company said.

Presuming that ones's stay here isn't sufficient to process that
lesson, the sheet provides a link to two internal Web
sites, http://tott/ (for Testing on the Toilet) and http://botw/ (Bug
of the Week). Not being a software engineer, I understand little
of what I'm reading. Yet it reminds me of the first two sentences
of the now famous founders' letter Page and Brin distributed to
prospective Google shareholders before the company's 2004 IPO:
"Google is not a conventional company. We do not intend to
become one." Mission accomplished.
You can be serious without a suit

        … and of course: Testing on the Toilet
Forbes, January 10, 2007                                                   San Jose Mercury News, October 22, 2007

Google is No. 1: Search and enjoy The people are brilliant. The            "Tech Notebook: Google embraces workers in unlikely places"
perks are epic. But can Google's founders build a culture that             By Vindu Goel, Scott Duke Harrisand Dean Takahashi
doesn't depend on the stock price?
                                                                           We were at Google recently, working on a story, and after consuming a little too much of that free
I'm sitting on a heated toilet in my pajamas. I'm in engineering           Google water, we felt the need to visit the restroom.
building 40 at Google on "pajama day," and directly in front of            We were surprised to find that Googlers can't escape the Mountain View company's warm embrace
me, attached to the inside door of the toilet stall, is a one-page         even in the loo. Not only are the toilet seats heated, but the company also strategically posts tips on
flier, printed on plain white paper, titled "Testing on the Toilet,        testing software code. Engineers can ponder them while they're, ahem, doing their business.
Episode 21." The document, which is designed to prod the brains            ...
of engineers who test software code, explores such subjects as             "We'll be putting episodes on this blog on a regular basis and providing PDFs so you can print them
                                        Washington Post, October 21, 2006
"lode coverage" and reminds engineers that even biobreaks need             out and put them up in your own bathrooms, hallways, kitchens, moon bases, secret underground
not interrupt their work.                                                  fortresses, billionaire founders' Priuses, wherever," the company said.

Presuming that ones's stay here isn't sufficient to process that Workforce Corporate Culture Breeds Innovation”
                                           “Building a 'Googley'
lesson, the sheet provides a link to two By Sara Web
                                           internal Kehaulani Goo Washington Post Staff Writer Saturday, October 21, 2006; Page D01
sites, http://tott/ (for Testing on the Toilet) and http://botw/ (Bug
of the Week). Not being a software engineer, I understand little
of what I'm reading. Yet it reminds me MOUNTAIN VIEW, Calif. -- To understand the corporate culture at Google Inc., take a look at the
                                            of the first two sentences
                                           toilets.
of the now famous founders' letter Page and Brin distributed to
prospective Google shareholders before the company's 2004 on the company campus holds a Japanese high-tech commode with a heated
                                           Every bathroom stall IPO:
"Google is not a conventional company. We If a not intend toenough, a wireless button on the door activates a bidet and drying.
                                           seat. do flush is not
become one." Mission accomplished. Yet even while they are being pampered with high-tech toiletry, Google employees are encouraged
                                           to make good use of their downtime: A flier tacked inside each stall bears the title, "Testing on the
                                           Toilet, Testing code that uses databases." It features a geek quiz that changes every few weeks and
                                           asks technical questions about testing programming code for bugs.
                                           The toilets reflect Google's general philosophy of work: Generous, quirky perks keep employees
                                           happy and thinking in unconventional ways, helping Google innovate as it rapidly expands into new
                                           lines of business.
Problem solved?
Focus on the user and all else will follow

After all these events and education, engineers knew the value of unit
testing

… yet nothing material changed!

“Well, they don't get it!”
Focus on the user and all else will follow

After all these events and education, engineers knew the value of unit
testing

… yet nothing material changed!

“Well, they don't get it!” “What did we do wrong?”
Focus on the user and all else will follow

After all these events and education, engineers knew the value of unit
testing

… yet nothing material changed!

“Well, they don't get it!” “What did we do wrong?”

“Why did engineers not do what they knew is the right thing to do?”

2 main issues:
• Where to start?
• Legacy code
Focus on the user and all else will follow



Test Certified
• Small steps to get teams started
    1. Setup Tools – get familiar with testing

    2. Learn techniques and technologies that enable your team to write
       tests for all new code and refactor code accordingly

    3. Improve test suite and get all code under test

    4. ...
Focus on the user and all else will follow

Test Mercenaries
• Internal consulting group that embedded itself into teams to
      Refactor code to make it testable
      Educate and train team
      Start writing tests
      Drive development process changes
Now problem solved?
Fast is better then slow

If it takes 30+ minutes to build and run your tests...
… you just don't bother
Fast is better then slow

If it takes 30+ minutes to build and run your tests...
… you just don't bother

• Parallelized all builds and test runs into the cloud – build+test time went
  down to minutes
• Company-wide continuous integration system (“Run all affected tests at each
  change!”)
• Presubmit system that runs all tests before submitting


Today:
- 10,000+ developers across 40+ offices around the world
- 20+ changes per minute; 50% code base changes every month
- More than 50 million test cases executed every day

                                                         http://google-
                                                         engtools.blogspot.com/
There is always more information out there

Needed a BIG test storage system
• Created an open system with a web UI, an API and a query interface
• Integrated into all build/test tools
• Result: EVERY build/test run is logged
There is always more information out there

Needed a BIG test storage system
• Created an open system with a web UI, an API and a query interface
• Integrated into all build/test tools
• Result: EVERY build/test run is logged



Today:
• Engineers send URL's to build runs instead of copy/paste build logs
• Used by many Dashboard and other systems
• Lots of quality analysis (bug trends, flakiness, code quality...) - per team, but
  also Google-wide
Today
Great just isn't great enough

Could vastly increase release frequency (“push on green”)

Some teams were asked to release less often because other
  teams/systems can't deal with the high churn!

Main bottleneck: Time to release and to analyze if a release causes
  issues.
You don't need to be at your desk to need an
answer

And now do all this again – for mobile!
Observations
Changing the culture takes a LOOOOOOONG time

You need the right change agents (passionate, knowledgable,
  respected...)

Bottom-up is harder then top down – but it sticks!

Don't fall into the “They just don't get it” trap!

Focus on the next important thing!
Changing the culture takes a LOOOOOOONG time

You need the right change agents (passionate, knowledgable,
  respected...)

Bottom-up is harder then top down – but it sticks!

Don't fall into the “They just don't get it” trap!

Focus on the next important thing!



… and seriously: Don't take yourself too serious!
Lean...
Is Google a lean company?

What could Google learn from lean?

What could lean learn from Google?
Copyright © Institut Lean France 2011




www.lean-it-summit.com

Weitere ähnliche Inhalte

Was ist angesagt?

Better Product Definition with Lean UX and Design Thinking
Better Product Definition with Lean UX and Design ThinkingBetter Product Definition with Lean UX and Design Thinking
Better Product Definition with Lean UX and Design Thinking
Jeff Gothelf
 

Was ist angesagt? (20)

Bimodal IT: Shortcut to Innovation or Path to Dysfunction?
Bimodal IT: Shortcut to Innovation or Path to Dysfunction?Bimodal IT: Shortcut to Innovation or Path to Dysfunction?
Bimodal IT: Shortcut to Innovation or Path to Dysfunction?
 
PuppetConf2012GeneKim
PuppetConf2012GeneKimPuppetConf2012GeneKim
PuppetConf2012GeneKim
 
Continuous Innovation
Continuous InnovationContinuous Innovation
Continuous Innovation
 
DevOps: The Future is Already Here — It’s Just Unevenly Distributed
DevOps: The Future is Already Here — It’s Just Unevenly DistributedDevOps: The Future is Already Here — It’s Just Unevenly Distributed
DevOps: The Future is Already Here — It’s Just Unevenly Distributed
 
Ray Gallon - Complexity, Nemetics, and Wicked Tech Comm; soap! 2015
Ray Gallon - Complexity, Nemetics, and Wicked Tech Comm; soap! 2015Ray Gallon - Complexity, Nemetics, and Wicked Tech Comm; soap! 2015
Ray Gallon - Complexity, Nemetics, and Wicked Tech Comm; soap! 2015
 
Cosmetic Agile, il Prêt-à-porter dell'Agilità
Cosmetic Agile, il Prêt-à-porter dell'AgilitàCosmetic Agile, il Prêt-à-porter dell'Agilità
Cosmetic Agile, il Prêt-à-porter dell'Agilità
 
Enterprise Cloud Development and Agile Transformation Strategy - China 2012
Enterprise Cloud Development and Agile Transformation Strategy - China 2012 Enterprise Cloud Development and Agile Transformation Strategy - China 2012
Enterprise Cloud Development and Agile Transformation Strategy - China 2012
 
Agile 2008 Retrospective
Agile 2008 RetrospectiveAgile 2008 Retrospective
Agile 2008 Retrospective
 
Real World Lessons Using Lean UX (Workshop)
Real World Lessons Using Lean UX (Workshop)Real World Lessons Using Lean UX (Workshop)
Real World Lessons Using Lean UX (Workshop)
 
Lean Product Management User-Centered App Design
Lean Product Management User-Centered App DesignLean Product Management User-Centered App Design
Lean Product Management User-Centered App Design
 
Make User Experience Part of The KPI Conversation With Universal Measures
Make User Experience Part of The KPI Conversation With Universal MeasuresMake User Experience Part of The KPI Conversation With Universal Measures
Make User Experience Part of The KPI Conversation With Universal Measures
 
Understanding your customers
Understanding your customersUnderstanding your customers
Understanding your customers
 
Designing Agile Interactions
Designing Agile InteractionsDesigning Agile Interactions
Designing Agile Interactions
 
Better Product Definition with Lean UX and Design Thinking
Better Product Definition with Lean UX and Design ThinkingBetter Product Definition with Lean UX and Design Thinking
Better Product Definition with Lean UX and Design Thinking
 
No Projects - Beyond Projects (Refreshed version)
No Projects - Beyond Projects (Refreshed version)No Projects - Beyond Projects (Refreshed version)
No Projects - Beyond Projects (Refreshed version)
 
40 Agile Methods in 40 Minutes
40 Agile Methods in 40 Minutes40 Agile Methods in 40 Minutes
40 Agile Methods in 40 Minutes
 
Devops at scale is a hard problem challenges, insights and lessons learned
Devops at scale is a hard problem  challenges, insights and lessons learnedDevops at scale is a hard problem  challenges, insights and lessons learned
Devops at scale is a hard problem challenges, insights and lessons learned
 
Is Lean Architecture needed in Agile
Is Lean Architecture needed in AgileIs Lean Architecture needed in Agile
Is Lean Architecture needed in Agile
 
How (fr)agile we are. ALE2011
How (fr)agile we are. ALE2011How (fr)agile we are. ALE2011
How (fr)agile we are. ALE2011
 
40 Agile Methods in 40 Minutes
40 Agile Methods in 40 Minutes40 Agile Methods in 40 Minutes
40 Agile Methods in 40 Minutes
 

Andere mochten auch

Andere mochten auch (20)

One year as a lean (transition) CIO
One year as a lean (transition) CIOOne year as a lean (transition) CIO
One year as a lean (transition) CIO
 
"Scoping Lean IT: asking the right questions" by Daniel T Jones
"Scoping Lean IT: asking the right questions" by Daniel T Jones"Scoping Lean IT: asking the right questions" by Daniel T Jones
"Scoping Lean IT: asking the right questions" by Daniel T Jones
 
"Lean IT practices, from theory to application" by Mike Orzen
"Lean IT practices, from theory to application" by Mike Orzen"Lean IT practices, from theory to application" by Mike Orzen
"Lean IT practices, from theory to application" by Mike Orzen
 
"Deploying Lean in a bank IT department" by Paul Thysens
"Deploying Lean in a bank IT department" by Paul Thysens"Deploying Lean in a bank IT department" by Paul Thysens
"Deploying Lean in a bank IT department" by Paul Thysens
 
Lean with distributed teams
Lean with distributed teamsLean with distributed teams
Lean with distributed teams
 
"The myth of Certainty - Is implementation a naughty word?" by Steve Bell
"The myth of Certainty - Is implementation a naughty word?" by Steve Bell"The myth of Certainty - Is implementation a naughty word?" by Steve Bell
"The myth of Certainty - Is implementation a naughty word?" by Steve Bell
 
"Make problems visible and users happy" by Catherine Chabiron
"Make problems visible and users happy" by Catherine Chabiron"Make problems visible and users happy" by Catherine Chabiron
"Make problems visible and users happy" by Catherine Chabiron
 
"Kaizen spirit in Design work" by Michael Ballé
"Kaizen spirit in Design work" by Michael Ballé"Kaizen spirit in Design work" by Michael Ballé
"Kaizen spirit in Design work" by Michael Ballé
 
Enterprise 2.0 by Dr Yves Caseau
Enterprise 2.0 by Dr Yves CaseauEnterprise 2.0 by Dr Yves Caseau
Enterprise 2.0 by Dr Yves Caseau
 
Lean Software management: BBC Worldwide case study
Lean Software management: BBC Worldwide case studyLean Software management: BBC Worldwide case study
Lean Software management: BBC Worldwide case study
 
Lean IT strategy, lean measurement and organizational design
Lean IT strategy, lean measurement and organizational designLean IT strategy, lean measurement and organizational design
Lean IT strategy, lean measurement and organizational design
 
A 7 year lean journey
A 7 year lean journeyA 7 year lean journey
A 7 year lean journey
 
"Information needs for the lean organization" by Jean Cunningham
"Information needs for the lean organization" by Jean Cunningham"Information needs for the lean organization" by Jean Cunningham
"Information needs for the lean organization" by Jean Cunningham
 
"Lean IT in a nutshell" by Régis Medina, lean coach
"Lean IT in a nutshell" by Régis Medina, lean coach"Lean IT in a nutshell" by Régis Medina, lean coach
"Lean IT in a nutshell" by Régis Medina, lean coach
 
"Our approach to Kaizen" by J Prochazka and M Chmelar
"Our approach to Kaizen" by J Prochazka and M Chmelar "Our approach to Kaizen" by J Prochazka and M Chmelar
"Our approach to Kaizen" by J Prochazka and M Chmelar
 
00 Lean Concepts Foundations 23 Pgs
00 Lean Concepts Foundations 23 Pgs00 Lean Concepts Foundations 23 Pgs
00 Lean Concepts Foundations 23 Pgs
 
This is lean
This is lean This is lean
This is lean
 
Organizational Culture And Change
Organizational Culture And ChangeOrganizational Culture And Change
Organizational Culture And Change
 
The Lean Transformation
The Lean Transformation The Lean Transformation
The Lean Transformation
 
Lean Change Management
Lean Change ManagementLean Change Management
Lean Change Management
 

Ähnlich wie "Creating a testing culture" by Mark Striebeck

Software Engineering at Google by Hyrum Wright, Tom Manshreck, Titus Winters ...
Software Engineering at Google by Hyrum Wright, Tom Manshreck, Titus Winters ...Software Engineering at Google by Hyrum Wright, Tom Manshreck, Titus Winters ...
Software Engineering at Google by Hyrum Wright, Tom Manshreck, Titus Winters ...
HbBazan
 
Google Product Development Process
Google Product Development ProcessGoogle Product Development Process
Google Product Development Process
Abhinav Goel
 
Google's Innovation Factory (ICST 2010)
Google's Innovation Factory (ICST 2010)Google's Innovation Factory (ICST 2010)
Google's Innovation Factory (ICST 2010)
Go Ku
 

Ähnlich wie "Creating a testing culture" by Mark Striebeck (20)

Mini Case Study on Google (Kotler, 14th Edition)
Mini Case Study on Google (Kotler, 14th Edition)Mini Case Study on Google (Kotler, 14th Edition)
Mini Case Study on Google (Kotler, 14th Edition)
 
Going paperless nema.ppt
Going paperless nema.pptGoing paperless nema.ppt
Going paperless nema.ppt
 
Software Engineering at Google by Hyrum Wright, Tom Manshreck, Titus Winters ...
Software Engineering at Google by Hyrum Wright, Tom Manshreck, Titus Winters ...Software Engineering at Google by Hyrum Wright, Tom Manshreck, Titus Winters ...
Software Engineering at Google by Hyrum Wright, Tom Manshreck, Titus Winters ...
 
090218 Madtech Google Apps
090218 Madtech Google Apps090218 Madtech Google Apps
090218 Madtech Google Apps
 
The Lean Hardware Toolbox
The Lean Hardware ToolboxThe Lean Hardware Toolbox
The Lean Hardware Toolbox
 
Google's guide to innovation: How to unlock strategy, resources and technology
Google's guide to innovation: How to unlock strategy, resources and technologyGoogle's guide to innovation: How to unlock strategy, resources and technology
Google's guide to innovation: How to unlock strategy, resources and technology
 
Google assignment
Google assignmentGoogle assignment
Google assignment
 
Hackdays and [in]cubator
Hackdays and [in]cubatorHackdays and [in]cubator
Hackdays and [in]cubator
 
Biz Product Learnings
Biz Product LearningsBiz Product Learnings
Biz Product Learnings
 
Designing for (and with) New Technology
Designing for (and with) New TechnologyDesigning for (and with) New Technology
Designing for (and with) New Technology
 
Google Product Development Process
Google Product Development ProcessGoogle Product Development Process
Google Product Development Process
 
Resisting The Feature Creature
Resisting The Feature CreatureResisting The Feature Creature
Resisting The Feature Creature
 
iCame iSaw iGoogled - MDGAFE
iCame iSaw iGoogled - MDGAFE iCame iSaw iGoogled - MDGAFE
iCame iSaw iGoogled - MDGAFE
 
Presentation1
Presentation1Presentation1
Presentation1
 
Why you don't add new features
Why you  don't add new featuresWhy you  don't add new features
Why you don't add new features
 
Happiness machines
Happiness machinesHappiness machines
Happiness machines
 
Google's Innovation Factory (ICST 2010)
Google's Innovation Factory (ICST 2010)Google's Innovation Factory (ICST 2010)
Google's Innovation Factory (ICST 2010)
 
Shipping to Learn and Accelerate Growth with GitHub
Shipping to Learn and Accelerate Growth with GitHubShipping to Learn and Accelerate Growth with GitHub
Shipping to Learn and Accelerate Growth with GitHub
 
Design Myths in Enterprise Software
Design Myths in Enterprise SoftwareDesign Myths in Enterprise Software
Design Myths in Enterprise Software
 
[DSC Adria 23] Radovan Bacovic Steal Our Knowledge Please.pptx
[DSC Adria 23] Radovan Bacovic Steal Our Knowledge Please.pptx[DSC Adria 23] Radovan Bacovic Steal Our Knowledge Please.pptx
[DSC Adria 23] Radovan Bacovic Steal Our Knowledge Please.pptx
 

Mehr von Operae Partners

Plus d agilité avec le lean par Régis Medina Agile France 2013
Plus d agilité avec le lean par Régis Medina Agile France 2013Plus d agilité avec le lean par Régis Medina Agile France 2013
Plus d agilité avec le lean par Régis Medina Agile France 2013
Operae Partners
 
Au-delà de l'Agile : Retour d'expérience Lean IT
Au-delà de l'Agile : Retour d'expérience Lean ITAu-delà de l'Agile : Retour d'expérience Lean IT
Au-delà de l'Agile : Retour d'expérience Lean IT
Operae Partners
 

Mehr von Operae Partners (14)

Gemba et teletravail
Gemba et teletravailGemba et teletravail
Gemba et teletravail
 
Notre offre pour un monde informatique sans incidents
Notre offre pour un monde informatique sans incidents Notre offre pour un monde informatique sans incidents
Notre offre pour un monde informatique sans incidents
 
From Lean IT to Lean Digital, Marie-Pia Ignace
From Lean IT to Lean Digital, Marie-Pia IgnaceFrom Lean IT to Lean Digital, Marie-Pia Ignace
From Lean IT to Lean Digital, Marie-Pia Ignace
 
Why IT needs Lean by Marie-Pia Ignace
Why IT needs Lean by Marie-Pia IgnaceWhy IT needs Lean by Marie-Pia Ignace
Why IT needs Lean by Marie-Pia Ignace
 
Where to start a Lean journey by Marie-Pia Ignace
Where to start a Lean journey by Marie-Pia IgnaceWhere to start a Lean journey by Marie-Pia Ignace
Where to start a Lean journey by Marie-Pia Ignace
 
Lean and digital transformation by Régis Medina
Lean and digital transformation by Régis MedinaLean and digital transformation by Régis Medina
Lean and digital transformation by Régis Medina
 
L'Obeya - Agile France 2015
L'Obeya - Agile France 2015L'Obeya - Agile France 2015
L'Obeya - Agile France 2015
 
Lean and Agile by Regis Medina - Lean IT Summit 2013
Lean and Agile by Regis Medina - Lean IT Summit 2013Lean and Agile by Regis Medina - Lean IT Summit 2013
Lean and Agile by Regis Medina - Lean IT Summit 2013
 
Plus d agilité avec le lean par Régis Medina Agile France 2013
Plus d agilité avec le lean par Régis Medina Agile France 2013Plus d agilité avec le lean par Régis Medina Agile France 2013
Plus d agilité avec le lean par Régis Medina Agile France 2013
 
Coacher des managers avec le Lean (Agile France 2013)
Coacher des managers avec le Lean (Agile France 2013)Coacher des managers avec le Lean (Agile France 2013)
Coacher des managers avec le Lean (Agile France 2013)
 
Perche lean nell it
Perche lean nell it Perche lean nell it
Perche lean nell it
 
Lean IT : Pourquoi l informatique a besoin du lean !
Lean IT : Pourquoi l informatique a besoin du lean !Lean IT : Pourquoi l informatique a besoin du lean !
Lean IT : Pourquoi l informatique a besoin du lean !
 
Why IT needs lean by Operae Partners
Why IT needs lean by Operae PartnersWhy IT needs lean by Operae Partners
Why IT needs lean by Operae Partners
 
Au-delà de l'Agile : Retour d'expérience Lean IT
Au-delà de l'Agile : Retour d'expérience Lean ITAu-delà de l'Agile : Retour d'expérience Lean IT
Au-delà de l'Agile : Retour d'expérience Lean IT
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

"Creating a testing culture" by Mark Striebeck

  • 1. Copyright © Institut Lean France 2011 Ten things we know to be true about testing Mark Striebeck
  • 2. Ten things we know to be true … about Testing Mark Striebeck Engineering Manager
  • 3. Ten things we know to be true 1. Focus on the user and all else will follow. We first wrote these “10 things” several years ago. From time to time we revisit this 2. It's best to do one thing really, really well. list to see if it still holds true. We hope it does-and you can 3. Fast is better then slow. hold us to that. (September 2009) 4. Democracy on the web works. 5. You don't need to be at your desk to need an answer. 6. You can make money without doing evil. 7. There is always more information out there. 8. The need for information crosses all borders. http://www.google.com/about/corporate/company/tenthings.htm 9. You can be serious without a suit. l
  • 5. The need for information crosses all borders • One, open source code repository • Code Reviews • Open Tools • No binary dependencies (build everything from HEAD)
  • 6. Democracy on the web works • Very little top-down management and standards • Delegate responsibility downwards – (almost) all of it! How to drive change?
  • 7. Democracy on the web works • Very little top-down management and standards • Delegate responsibility downwards – (almost) all of it! How to drive change? • Grouplets (20% time) • Sponsored/Supported by upper management
  • 9. 2006 • Google grows fast (product, people, source code, dependencies) • QA is doing mostly manual testing • Engineers can write automated tests, but adoption isn't great, coverage is spotty • But integration/release problems are showing up
  • 10. It's better to do one thing really, really well • What to focus on (end-to-end testing, unit testing, latency testing, UI testing …)? • Decided to focus on What we feel passionate about Where we have experience What can make a difference What we can affect Unit / Developer testing
  • 11. You can be serious without a suit First, focus on getting the message out • Fixits • Tech Talks (M. Feathers, J. Kerievsky, G. Meszaros, E. Evans...) and ...
  • 12. You can be serious without a suit … and of course: Testing on the Toilet
  • 13. You can be serious without a suit … and of course: Testing on the Toilet Forbes, January 10, 2007 San Jose Mercury News, October 22, 2007 Google is No. 1: Search and enjoy The people are brilliant. The "Tech Notebook: Google embraces workers in unlikely places" perks are epic. But can Google's founders build a culture that By Vindu Goel, Scott Duke Harrisand Dean Takahashi doesn't depend on the stock price? We were at Google recently, working on a story, and after consuming a little too much of that free I'm sitting on a heated toilet in my pajamas. I'm in engineering Google water, we felt the need to visit the restroom. building 40 at Google on "pajama day," and directly in front of We were surprised to find that Googlers can't escape the Mountain View company's warm embrace me, attached to the inside door of the toilet stall, is a one-page even in the loo. Not only are the toilet seats heated, but the company also strategically posts tips on flier, printed on plain white paper, titled "Testing on the Toilet, testing software code. Engineers can ponder them while they're, ahem, doing their business. Episode 21." The document, which is designed to prod the brains ... of engineers who test software code, explores such subjects as "We'll be putting episodes on this blog on a regular basis and providing PDFs so you can print them "lode coverage" and reminds engineers that even biobreaks need out and put them up in your own bathrooms, hallways, kitchens, moon bases, secret underground not interrupt their work. fortresses, billionaire founders' Priuses, wherever," the company said. Presuming that ones's stay here isn't sufficient to process that lesson, the sheet provides a link to two internal Web sites, http://tott/ (for Testing on the Toilet) and http://botw/ (Bug of the Week). Not being a software engineer, I understand little of what I'm reading. Yet it reminds me of the first two sentences of the now famous founders' letter Page and Brin distributed to prospective Google shareholders before the company's 2004 IPO: "Google is not a conventional company. We do not intend to become one." Mission accomplished.
  • 14. You can be serious without a suit … and of course: Testing on the Toilet Forbes, January 10, 2007 San Jose Mercury News, October 22, 2007 Google is No. 1: Search and enjoy The people are brilliant. The "Tech Notebook: Google embraces workers in unlikely places" perks are epic. But can Google's founders build a culture that By Vindu Goel, Scott Duke Harrisand Dean Takahashi doesn't depend on the stock price? We were at Google recently, working on a story, and after consuming a little too much of that free I'm sitting on a heated toilet in my pajamas. I'm in engineering Google water, we felt the need to visit the restroom. building 40 at Google on "pajama day," and directly in front of We were surprised to find that Googlers can't escape the Mountain View company's warm embrace me, attached to the inside door of the toilet stall, is a one-page even in the loo. Not only are the toilet seats heated, but the company also strategically posts tips on flier, printed on plain white paper, titled "Testing on the Toilet, testing software code. Engineers can ponder them while they're, ahem, doing their business. Episode 21." The document, which is designed to prod the brains ... of engineers who test software code, explores such subjects as "We'll be putting episodes on this blog on a regular basis and providing PDFs so you can print them Washington Post, October 21, 2006 "lode coverage" and reminds engineers that even biobreaks need out and put them up in your own bathrooms, hallways, kitchens, moon bases, secret underground not interrupt their work. fortresses, billionaire founders' Priuses, wherever," the company said. Presuming that ones's stay here isn't sufficient to process that Workforce Corporate Culture Breeds Innovation” “Building a 'Googley' lesson, the sheet provides a link to two By Sara Web internal Kehaulani Goo Washington Post Staff Writer Saturday, October 21, 2006; Page D01 sites, http://tott/ (for Testing on the Toilet) and http://botw/ (Bug of the Week). Not being a software engineer, I understand little of what I'm reading. Yet it reminds me MOUNTAIN VIEW, Calif. -- To understand the corporate culture at Google Inc., take a look at the of the first two sentences toilets. of the now famous founders' letter Page and Brin distributed to prospective Google shareholders before the company's 2004 on the company campus holds a Japanese high-tech commode with a heated Every bathroom stall IPO: "Google is not a conventional company. We If a not intend toenough, a wireless button on the door activates a bidet and drying. seat. do flush is not become one." Mission accomplished. Yet even while they are being pampered with high-tech toiletry, Google employees are encouraged to make good use of their downtime: A flier tacked inside each stall bears the title, "Testing on the Toilet, Testing code that uses databases." It features a geek quiz that changes every few weeks and asks technical questions about testing programming code for bugs. The toilets reflect Google's general philosophy of work: Generous, quirky perks keep employees happy and thinking in unconventional ways, helping Google innovate as it rapidly expands into new lines of business.
  • 16. Focus on the user and all else will follow After all these events and education, engineers knew the value of unit testing … yet nothing material changed! “Well, they don't get it!”
  • 17. Focus on the user and all else will follow After all these events and education, engineers knew the value of unit testing … yet nothing material changed! “Well, they don't get it!” “What did we do wrong?”
  • 18. Focus on the user and all else will follow After all these events and education, engineers knew the value of unit testing … yet nothing material changed! “Well, they don't get it!” “What did we do wrong?” “Why did engineers not do what they knew is the right thing to do?” 2 main issues: • Where to start? • Legacy code
  • 19. Focus on the user and all else will follow Test Certified • Small steps to get teams started 1. Setup Tools – get familiar with testing 2. Learn techniques and technologies that enable your team to write tests for all new code and refactor code accordingly 3. Improve test suite and get all code under test 4. ...
  • 20. Focus on the user and all else will follow Test Mercenaries • Internal consulting group that embedded itself into teams to Refactor code to make it testable Educate and train team Start writing tests Drive development process changes
  • 22. Fast is better then slow If it takes 30+ minutes to build and run your tests... … you just don't bother
  • 23. Fast is better then slow If it takes 30+ minutes to build and run your tests... … you just don't bother • Parallelized all builds and test runs into the cloud – build+test time went down to minutes • Company-wide continuous integration system (“Run all affected tests at each change!”) • Presubmit system that runs all tests before submitting Today: - 10,000+ developers across 40+ offices around the world - 20+ changes per minute; 50% code base changes every month - More than 50 million test cases executed every day http://google- engtools.blogspot.com/
  • 24. There is always more information out there Needed a BIG test storage system • Created an open system with a web UI, an API and a query interface • Integrated into all build/test tools • Result: EVERY build/test run is logged
  • 25. There is always more information out there Needed a BIG test storage system • Created an open system with a web UI, an API and a query interface • Integrated into all build/test tools • Result: EVERY build/test run is logged Today: • Engineers send URL's to build runs instead of copy/paste build logs • Used by many Dashboard and other systems • Lots of quality analysis (bug trends, flakiness, code quality...) - per team, but also Google-wide
  • 26. Today
  • 27. Great just isn't great enough Could vastly increase release frequency (“push on green”) Some teams were asked to release less often because other teams/systems can't deal with the high churn! Main bottleneck: Time to release and to analyze if a release causes issues.
  • 28. You don't need to be at your desk to need an answer And now do all this again – for mobile!
  • 30. Changing the culture takes a LOOOOOOONG time You need the right change agents (passionate, knowledgable, respected...) Bottom-up is harder then top down – but it sticks! Don't fall into the “They just don't get it” trap! Focus on the next important thing!
  • 31. Changing the culture takes a LOOOOOOONG time You need the right change agents (passionate, knowledgable, respected...) Bottom-up is harder then top down – but it sticks! Don't fall into the “They just don't get it” trap! Focus on the next important thing! … and seriously: Don't take yourself too serious!
  • 33. Is Google a lean company? What could Google learn from lean? What could lean learn from Google?
  • 34. Copyright © Institut Lean France 2011 www.lean-it-summit.com