SlideShare uma empresa Scribd logo
1 de 15
TEST LIKE A BADGER
by: Mike Badger
mike@devBadger.com
801-231-4692
MANUALTESTING SUCKS
Sucks time and resources
Sucks development
productivity
Sucks product confidence out
of the customers and
stakeholders
ManualTesting
UI
System
Integration
Unit
AUTOMATEDTESTING ROCKS
(WHEN DONE RIGHT)
UI
System
Integration
Unit
 Majority of test maintenance is
done in tandem with
development
 Feedback is reliable ,
continuous and same or next
day.
 Regression is built in at every
level of testing and is reliably
reported.
 Ability to test early and often
means bugs are found and fixed
as they are created
Manual
Exploratory
WHERE DOWE GET STARTED?
Visibility Accountability
Then
Automation
FROM ASSUMPTIONSTO
MEASURABLES
Visibility
Where are we?
Where do we want to be?
How do we get there?
How will we measure our progress?
Establish:
• How to create and execute test
plans
• How to report, track bugs &
suggestions
• Prioritization process
• Measure turning manual tests
into automated tests
• How to make progress visible to
stakeholders
Visibility Accountability
1 – BUY IN FROM STAKEHOLDERS
 Are the quality and reliability of our software being sold as a
feature?
 Development and QA must have a symbiotic relationship
 Create natural consequences for not breaking the build
(you break it, you fix it)
 Visually report quality metrics on centrally located monitor/TV
(X Days Since Last Incident, Kanban, Scrum, Burndown…)
 Celebrate successes in quality across company
Visibility Accountability
Final ReleaseRequirements
User Stories
1 or 2 week cyclesWork with Dev, PM
create test plans
2 - BUILD QUALITY INTO
THE PROCESS
GETTING BEST ROI
FROM AUTOMATION
It is important to build a
testing solution that is:
 Worth the investment
 Scalable with the growing
product.
 Has an automated DNA
 Not trading headaches
(brittle software -> brittle tests)
Number ofTests
CostofExecution
Unit
Integration
System
UI
Manual
Visibility Accountability Automation
1 - AUTOMATE BUILD PROCESS
Create lightweight,
portable, self-
sufficient
containers.
Orchestrates which
docker containers to
build to setup
necessary
environment
Set up to respond
to SVN / Github
commits.
Calls Ansible to
initiate build
Visibility Accountability Automation
SEPARATE CONTINUOUS BUILDS
STAGED CONTINUOUS BUILDS
INTEGRATION & UI
Tells us what is broken
UNITTEST RESULTS
Tells us where it is broken
2- REVIEW UNITTESTS
• Important to distinguish unit tests
from integration tests.
• TDD mindset essential.Code
written as result of tests.Test not
written as result of code.
Java Backend
• JUnit,TestNG, Spock,
Groovy…
• Makito, EasyMock, JMock…
AngularJS Frontend
• Grunt, Jasmine, Mocha,
Qunit…
Visibility Accountability Automation
3 - INTEGRATIONTESTING
Run as part of build process
separate from UnitTests
Java Backend
• JBehave for BDD
• JUnit,TestNG, Spock,Groovy for
TDD
• Selenium, PhantomJS, Cucumber
for browser testing.
• “RealTest” frameworks like
Arquillian
AngularJS Frontend
• Karma, CasperJS…
Visibility Accountability Automation
Visibility Accountability Automation
4- ACCEPTANCETESTING
Manual
External
Stakeholders
Customer Partners Regulatory
Internal
Stakeholders
Sales Support Training
Can I
sell it?
Can I
support it?
Can I train
the customer
on it?
Is it
intuitive?
Is it easy
to use?
Can I
integrate
with it?
Does it meet
industry
standards?
Is it legal?
Functional
Does the software work?
• End-to-end tests not able to be easily covered with integration tests.
• Based on user stories.
• To automate or not to automate?
Depends
Performance
Does the software work well?
• Test speed (how fast)
• Test load (how many)
• Test stability (how long)
5-SYSTEMTESTING (NEXT LEVEL)
Visibility Accountability Automation

Mais conteúdo relacionado

Mais procurados

Requirements Tool
Requirements ToolRequirements Tool
Requirements Tool
gilashikwa
 

Mais procurados (19)

Continuous Delivery
Continuous DeliveryContinuous Delivery
Continuous Delivery
 
Getting to Continuous Deployment (Webinar Slides)
Getting to Continuous Deployment (Webinar Slides)Getting to Continuous Deployment (Webinar Slides)
Getting to Continuous Deployment (Webinar Slides)
 
Continuous Testing for CTOs (Webinar Slides)
Continuous Testing for CTOs (Webinar Slides)Continuous Testing for CTOs (Webinar Slides)
Continuous Testing for CTOs (Webinar Slides)
 
Resource1 spm
Resource1 spmResource1 spm
Resource1 spm
 
Requirements Tool
Requirements ToolRequirements Tool
Requirements Tool
 
Your application ever up-to-date? Go continuous delivery
Your application ever up-to-date? Go continuous deliveryYour application ever up-to-date? Go continuous delivery
Your application ever up-to-date? Go continuous delivery
 
CI-CD and DevOps with Ruby
CI-CD and DevOps with RubyCI-CD and DevOps with Ruby
CI-CD and DevOps with Ruby
 
Waterfall
WaterfallWaterfall
Waterfall
 
Continuous Integration - Step by Step
Continuous Integration - Step by StepContinuous Integration - Step by Step
Continuous Integration - Step by Step
 
Agile + Benefits + Transition Nov 2009
Agile + Benefits + Transition   Nov 2009Agile + Benefits + Transition   Nov 2009
Agile + Benefits + Transition Nov 2009
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
 
CI/CD for mobile at HERE
CI/CD for mobile at HERECI/CD for mobile at HERE
CI/CD for mobile at HERE
 
Continuous Delivery Presentation
Continuous Delivery PresentationContinuous Delivery Presentation
Continuous Delivery Presentation
 
Testing Best Practices
Testing Best PracticesTesting Best Practices
Testing Best Practices
 
Testing in a continuous delivery environment
Testing in a continuous delivery environmentTesting in a continuous delivery environment
Testing in a continuous delivery environment
 
Continuos Delivery
Continuos DeliveryContinuos Delivery
Continuos Delivery
 
Software Deployment Principles & Practices
Software Deployment Principles & PracticesSoftware Deployment Principles & Practices
Software Deployment Principles & Practices
 
SOFTWARE DEVELOPMENT MODELS
SOFTWARE DEVELOPMENT MODELSSOFTWARE DEVELOPMENT MODELS
SOFTWARE DEVELOPMENT MODELS
 
Adv Disadv
Adv DisadvAdv Disadv
Adv Disadv
 

Destaque (6)

Catálago Guava
Catálago GuavaCatálago Guava
Catálago Guava
 
Can one be scientific and yet spiritual
Can one be scientific and yet spiritualCan one be scientific and yet spiritual
Can one be scientific and yet spiritual
 
개발자가 알아두면 좋은 css 이야기
개발자가 알아두면 좋은 css 이야기개발자가 알아두면 좋은 css 이야기
개발자가 알아두면 좋은 css 이야기
 
Free, Online Scale of Student Autonomy
Free, Online Scale of Student AutonomyFree, Online Scale of Student Autonomy
Free, Online Scale of Student Autonomy
 
Angular js 2.0 preview
Angular js 2.0 previewAngular js 2.0 preview
Angular js 2.0 preview
 
암호화 기초
암호화 기초암호화 기초
암호화 기초
 

Semelhante a Test Like A Badger

06 operations and feedback dap-kabel
06   operations and feedback dap-kabel06   operations and feedback dap-kabel
06 operations and feedback dap-kabel
David Alvarez Palomo
 

Semelhante a Test Like A Badger (20)

What is Continuous Integration and Continuous Delivery
What is Continuous Integration and Continuous Delivery What is Continuous Integration and Continuous Delivery
What is Continuous Integration and Continuous Delivery
 
UI Integrations Test
UI Integrations TestUI Integrations Test
UI Integrations Test
 
Rhonda Software Quality Assurance Services
Rhonda Software Quality Assurance ServicesRhonda Software Quality Assurance Services
Rhonda Software Quality Assurance Services
 
Continuous integration with Jenkins
Continuous integration with JenkinsContinuous integration with Jenkins
Continuous integration with Jenkins
 
Microsoft DevOps Solution - DevOps
Microsoft DevOps Solution - DevOps  Microsoft DevOps Solution - DevOps
Microsoft DevOps Solution - DevOps
 
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and FunctionalityTriple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
 
Continuous integration practices to improve the software quality
Continuous integration practices to improve the software qualityContinuous integration practices to improve the software quality
Continuous integration practices to improve the software quality
 
Continuous Integration Practices
Continuous Integration Practices Continuous Integration Practices
Continuous Integration Practices
 
Managing Continuous Delivery of Mobile Apps - for the Enterprise
Managing Continuous Delivery of Mobile Apps - for the EnterpriseManaging Continuous Delivery of Mobile Apps - for the Enterprise
Managing Continuous Delivery of Mobile Apps - for the Enterprise
 
Continuous Delivery for Agile Teams
Continuous Delivery for Agile TeamsContinuous Delivery for Agile Teams
Continuous Delivery for Agile Teams
 
Shift Left Mobile Application Testing
Shift Left Mobile Application TestingShift Left Mobile Application Testing
Shift Left Mobile Application Testing
 
CI, CD -Tools to integrate without manual intervention
CI, CD -Tools to integrate without manual interventionCI, CD -Tools to integrate without manual intervention
CI, CD -Tools to integrate without manual intervention
 
"Software Quality in the Service of Innovation in the Insurance Industry"
"Software Quality in the Service of Innovation in the Insurance Industry""Software Quality in the Service of Innovation in the Insurance Industry"
"Software Quality in the Service of Innovation in the Insurance Industry"
 
Splitting The Check On Compliance and Security
Splitting The Check On Compliance and SecuritySplitting The Check On Compliance and Security
Splitting The Check On Compliance and Security
 
Enabling CD in Enterprises with Testing
Enabling CD in Enterprises with TestingEnabling CD in Enterprises with Testing
Enabling CD in Enterprises with Testing
 
Harman deepak v - agile on steriod - dev ops led transformation
Harman  deepak v - agile on steriod - dev ops led transformationHarman  deepak v - agile on steriod - dev ops led transformation
Harman deepak v - agile on steriod - dev ops led transformation
 
ROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENT
ROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENTROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENT
ROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENT
 
Automated Build using teamcity
Automated Build using teamcityAutomated Build using teamcity
Automated Build using teamcity
 
Kasi Viswanath
Kasi ViswanathKasi Viswanath
Kasi Viswanath
 
06 operations and feedback dap-kabel
06   operations and feedback dap-kabel06   operations and feedback dap-kabel
06 operations and feedback dap-kabel
 

Último

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
 
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
 
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
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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
 
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
 

Test Like A Badger

  • 1. TEST LIKE A BADGER by: Mike Badger mike@devBadger.com 801-231-4692
  • 2. MANUALTESTING SUCKS Sucks time and resources Sucks development productivity Sucks product confidence out of the customers and stakeholders ManualTesting UI System Integration Unit
  • 3. AUTOMATEDTESTING ROCKS (WHEN DONE RIGHT) UI System Integration Unit  Majority of test maintenance is done in tandem with development  Feedback is reliable , continuous and same or next day.  Regression is built in at every level of testing and is reliably reported.  Ability to test early and often means bugs are found and fixed as they are created Manual Exploratory
  • 4. WHERE DOWE GET STARTED? Visibility Accountability Then Automation
  • 5. FROM ASSUMPTIONSTO MEASURABLES Visibility Where are we? Where do we want to be? How do we get there? How will we measure our progress? Establish: • How to create and execute test plans • How to report, track bugs & suggestions • Prioritization process • Measure turning manual tests into automated tests • How to make progress visible to stakeholders
  • 6. Visibility Accountability 1 – BUY IN FROM STAKEHOLDERS  Are the quality and reliability of our software being sold as a feature?  Development and QA must have a symbiotic relationship  Create natural consequences for not breaking the build (you break it, you fix it)  Visually report quality metrics on centrally located monitor/TV (X Days Since Last Incident, Kanban, Scrum, Burndown…)  Celebrate successes in quality across company
  • 7. Visibility Accountability Final ReleaseRequirements User Stories 1 or 2 week cyclesWork with Dev, PM create test plans 2 - BUILD QUALITY INTO THE PROCESS
  • 8. GETTING BEST ROI FROM AUTOMATION It is important to build a testing solution that is:  Worth the investment  Scalable with the growing product.  Has an automated DNA  Not trading headaches (brittle software -> brittle tests) Number ofTests CostofExecution Unit Integration System UI Manual Visibility Accountability Automation
  • 9. 1 - AUTOMATE BUILD PROCESS Create lightweight, portable, self- sufficient containers. Orchestrates which docker containers to build to setup necessary environment Set up to respond to SVN / Github commits. Calls Ansible to initiate build Visibility Accountability Automation
  • 11. STAGED CONTINUOUS BUILDS INTEGRATION & UI Tells us what is broken UNITTEST RESULTS Tells us where it is broken
  • 12. 2- REVIEW UNITTESTS • Important to distinguish unit tests from integration tests. • TDD mindset essential.Code written as result of tests.Test not written as result of code. Java Backend • JUnit,TestNG, Spock, Groovy… • Makito, EasyMock, JMock… AngularJS Frontend • Grunt, Jasmine, Mocha, Qunit… Visibility Accountability Automation
  • 13. 3 - INTEGRATIONTESTING Run as part of build process separate from UnitTests Java Backend • JBehave for BDD • JUnit,TestNG, Spock,Groovy for TDD • Selenium, PhantomJS, Cucumber for browser testing. • “RealTest” frameworks like Arquillian AngularJS Frontend • Karma, CasperJS… Visibility Accountability Automation
  • 14. Visibility Accountability Automation 4- ACCEPTANCETESTING Manual External Stakeholders Customer Partners Regulatory Internal Stakeholders Sales Support Training Can I sell it? Can I support it? Can I train the customer on it? Is it intuitive? Is it easy to use? Can I integrate with it? Does it meet industry standards? Is it legal?
  • 15. Functional Does the software work? • End-to-end tests not able to be easily covered with integration tests. • Based on user stories. • To automate or not to automate? Depends Performance Does the software work well? • Test speed (how fast) • Test load (how many) • Test stability (how long) 5-SYSTEMTESTING (NEXT LEVEL) Visibility Accountability Automation

Notas do Editor

  1. Visibility Understand the system, how it is supposed to work Get desired state Every automation script written will require Stakeholder interviews Document trawling Manual investigation Jumping into automation without understanding current state is suicide Accountability How will we gauge the success of automation efforts? How will we maintain their quality over time? Must be able to validate the state of configuration at any point in time.
  2. Visibility of current state What have we been testing? How have we been testing it? What documentation exists? Where are our biggest risks? How do we report, fix and re-test bugs?
  3. Automation in our DevOps DNA Work with development team to solidify automated build process Tests need to run with build process Tests need to run in applicable containers Need to be able to scale test servers for various environments and implementations
  4. Internal - Do objects work with each other? External – Do objects work correctly with services we rely on that are outside of our control? When objects we interface with fail, have we provided a way for it to fail gracefully? Run separate from Unit Test Builds.