SlideShare a Scribd company logo
JAN VORÁČEK
@JanVoracek




              2nd Geek Group Session
                         30. 10. 2012
Testing
Software testing
Software testing

                GUI
               Tests
             Acceptance
                Tests
             System Tests

           Integration Tests

              Unit Tests
Software testing

                GUI
               Tests
             Acceptance
                Tests
             System Tests

           Integration Tests

              Unit Tests
Benefits of Unit Testing
Benefits of Unit Testing
• Dump Driven Development

                               Add dump


                     Perform                 Run
                      action              application




              Run                                   Perform
           application                               action




                     Remove                 Check
                      dump                  dump


                               Fix code
Benefits of Unit Testing
• Debugger Driven Development
                                    Add
                                 breakpoint

                     Perform                     Run
                      action                  application




              Run                                       Perform
           application                                   action




                     Remove                   Stepping in
                    breakpoint                 and over


                                 Fix code
Benefits of Unit Testing
• Test Driven Development

                            Write
                            test


               Run                  Run
               tests                tests


                             Fix
                            code
Benefits of Unit Testing
• Test Driven Development


                            Write
                            test


               Run                  Run
               tests                tests


                             Fix
                            code
Benefits of Unit Testing
• Unit tests prove that you code actually work.
• You can improve design without breaking it.
• TDD forces you to plan before code.
• Unit tests make better design.
• TDD reduces the cost of bugs.
• It‘s faster than writing code without tests.
• It‘s more fun 
Software Development

                                           Perfect Software
Your Software with Tests




                           Your Software
Testing

More Related Content

PPTX
Service engineering
PDF
Share point 2010 unit and integration testing
PPTX
Test Driven Development
PDF
Release Automation: Better Quality, Faster Deployment, Amazing ROI
PPT
Test automation in agile ecosystem
PPTX
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
PPTX
How do you implement Continuous Delivery? Part 3: All about Pipelines
PPTX
Unit Testing
Service engineering
Share point 2010 unit and integration testing
Test Driven Development
Release Automation: Better Quality, Faster Deployment, Amazing ROI
Test automation in agile ecosystem
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
How do you implement Continuous Delivery? Part 3: All about Pipelines
Unit Testing

What's hot (20)

PPTX
Agile Evolution
PDF
Continuous delivery @åf consult
PDF
Enabling Agile Testing Through Continuous Integration Agile2009
PPTX
Agile test practices
PDF
Different Software Testing Levels for Detecting Errors
PDF
Continuous Integration
PPTX
Обеспечение качества проектов средствами VSTS 2010
PPT
Unit Testing, TDD and the Walking Skeleton
PPTX
How do you implement Continuous Delivery? Part 4: Automated Testing
PPTX
Functional & Performance Test Automation with CI
PDF
Agile Acceptance testing with Fitnesse
PPTX
Testing
PPTX
Testing strategy for agile projects updated
PPTX
Automated visual-regression-testing (1)
PPTX
Software Testing , levels, Techniques, Tools
PPT
Tdd dev session
PPTX
Continuous Integrations & Deployments
PPTX
Keeping Your CI/CD Pipeline as Fast as It Needs to Be
PDF
Planning & building scalable test infrastructure
PDF
Metrics Analysis on Continuous System Test (ASQN 2016)
Agile Evolution
Continuous delivery @åf consult
Enabling Agile Testing Through Continuous Integration Agile2009
Agile test practices
Different Software Testing Levels for Detecting Errors
Continuous Integration
Обеспечение качества проектов средствами VSTS 2010
Unit Testing, TDD and the Walking Skeleton
How do you implement Continuous Delivery? Part 4: Automated Testing
Functional & Performance Test Automation with CI
Agile Acceptance testing with Fitnesse
Testing
Testing strategy for agile projects updated
Automated visual-regression-testing (1)
Software Testing , levels, Techniques, Tools
Tdd dev session
Continuous Integrations & Deployments
Keeping Your CI/CD Pipeline as Fast as It Needs to Be
Planning & building scalable test infrastructure
Metrics Analysis on Continuous System Test (ASQN 2016)
Ad

Similar to Testing (20)

PPTX
Quality Coding with Visual Studio 2012
PPTX
Quality Coding: What’s New with Visual Studio 2012
PPTX
Quality Coding: What's New with Visual Studio 2012
PPTX
Software Quality via Unit Testing
PPTX
PHX - Session #2 Test Driven Development: Improving .NET Application Performa...
PDF
Unit testingandcontinousintegrationfreenest1dot4
PPTX
TeDevelopment Testing in Software Engineering
PDF
Tccc10 tooling testingci-vs2010teamcity
PDF
Test Driven Development With YUI Test (Ajax Experience 2008)
PDF
Unit testing - An introduction
PDF
Introduction of unit test to management
KEY
Unit testing for Cocoa developers
PDF
Agile Testing Overview
PDF
Agile Testing, Uncertainty, Risk, and Why It All Works
PDF
What is Unit Testing? - A Comprehensive Guide
PDF
Unit Testing Guide. Helps to understand the basics of unit testing .
PDF
Introduction to-automated-testing
PDF
Introduction to Automated Testing
KEY
TDD refresher
PPT
Automated testing overview
Quality Coding with Visual Studio 2012
Quality Coding: What’s New with Visual Studio 2012
Quality Coding: What's New with Visual Studio 2012
Software Quality via Unit Testing
PHX - Session #2 Test Driven Development: Improving .NET Application Performa...
Unit testingandcontinousintegrationfreenest1dot4
TeDevelopment Testing in Software Engineering
Tccc10 tooling testingci-vs2010teamcity
Test Driven Development With YUI Test (Ajax Experience 2008)
Unit testing - An introduction
Introduction of unit test to management
Unit testing for Cocoa developers
Agile Testing Overview
Agile Testing, Uncertainty, Risk, and Why It All Works
What is Unit Testing? - A Comprehensive Guide
Unit Testing Guide. Helps to understand the basics of unit testing .
Introduction to-automated-testing
Introduction to Automated Testing
TDD refresher
Automated testing overview
Ad

Recently uploaded (20)

PDF
Getting Started with Data Integration: FME Form 101
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPT
What is a Computer? Input Devices /output devices
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
observCloud-Native Containerability and monitoring.pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
Five Habits of High-Impact Board Members
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PPT
Geologic Time for studying geology for geologist
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
A review of recent deep learning applications in wood surface defect identifi...
Getting Started with Data Integration: FME Form 101
1 - Historical Antecedents, Social Consideration.pdf
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
What is a Computer? Input Devices /output devices
DP Operators-handbook-extract for the Mautical Institute
Zenith AI: Advanced Artificial Intelligence
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
observCloud-Native Containerability and monitoring.pptx
Tartificialntelligence_presentation.pptx
Developing a website for English-speaking practice to English as a foreign la...
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Five Habits of High-Impact Board Members
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Group 1 Presentation -Planning and Decision Making .pptx
A contest of sentiment analysis: k-nearest neighbor versus neural network
Geologic Time for studying geology for geologist
Enhancing emotion recognition model for a student engagement use case through...
Final SEM Unit 1 for mit wpu at pune .pptx
A review of recent deep learning applications in wood surface defect identifi...

Testing

  • 1. JAN VORÁČEK @JanVoracek 2nd Geek Group Session 30. 10. 2012
  • 4. Software testing GUI Tests Acceptance Tests System Tests Integration Tests Unit Tests
  • 5. Software testing GUI Tests Acceptance Tests System Tests Integration Tests Unit Tests
  • 7. Benefits of Unit Testing • Dump Driven Development Add dump Perform Run action application Run Perform application action Remove Check dump dump Fix code
  • 8. Benefits of Unit Testing • Debugger Driven Development Add breakpoint Perform Run action application Run Perform application action Remove Stepping in breakpoint and over Fix code
  • 9. Benefits of Unit Testing • Test Driven Development Write test Run Run tests tests Fix code
  • 10. Benefits of Unit Testing • Test Driven Development Write test Run Run tests tests Fix code
  • 11. Benefits of Unit Testing • Unit tests prove that you code actually work. • You can improve design without breaking it. • TDD forces you to plan before code. • Unit tests make better design. • TDD reduces the cost of bugs. • It‘s faster than writing code without tests. • It‘s more fun 
  • 12. Software Development Perfect Software Your Software with Tests Your Software