SlideShare una empresa de Scribd logo
1 de 23
Descargar para leer sin conexión
“As a part of Liberty Mutual Information Systems enable Liberty Mutual Group to exceed their
            business objectives by delivering high value, market responsive IT solutions”




Testing During The Development Phase
      Using Open Source Tools
                                      March 2008

                             Richard Thompson
                          (Verification Technologist)


                                                                                                   1
Agenda

 Introduction
 Why Open Source
 Examples Through the Lifecycle
 Lessons in Implementing Open Source
 Successfully
 Questions




                                       2
Overview of Liberty-IT

   Belfast based software development & testing house
   with ~230 staff
   Our parent company is Liberty Mutual Group
        a leading global insurer
        Liberty Mutual ranks 95th on the Fortune 500 list of largest
        U.S. corporations (based on 2006 revenue).
        $85.5 billion in consolidated assets
   Technologies include
        Java, .Net, Struts, IBM Portal
        Hibernate, Spring, Web Services -> SOA
        Multiple database platforms
        Dedicated Testing practice focusing on technical testing
        solutions
                                                                       3
Disclaimer



   The views expressed within this
   presentation belong solely to Richard
   Thompson and do not necessarily
   represent those of Liberty Mutual or
   Liberty-IT.




                                           4
Why Open Source?




                   5
Business Demands

  Faster
       Strategic advantage to be first to market
       Quarterly -> Monthly -> Fortnightly Releases
  Better
       Lower and lower tolerance for poor quality
       Expect higher productivity
       Demand more visibility into project status
  Cheaper
     Continually looking to reduce costs
     Everything must have a ROI (Return on Investment)
                                                         6
Growing Role of Open Source

  Perception of high vendors prices
  Growing number of high quality, mature open source
  products
       Which are highly reliable
       Have large world wide support
  More and more large companies are using Open
  Source tools/ components
       Amazon
       Google
       IBM
       Conducted by Boston-based Forrester Research Inc. in
       February 2004, a study revealed that 65 of the 140
       companies questioned -- almost 50 percent -- are using
       open source applications.


                                                                7
Examples Through the Lifecycle




                                 8
Open Source Solutions

  Unit Testing          JUnit, HttpUnit,     Configuration        CVS, Subversion
                        HTMLUnit, MaxQ       Management
  Automated             Watir, Samie,        Build Management     ANT
  Functional/           Pamie, Jiffie
  Regression Testing
  Performance           OpenSTA, JMeter,     Project Management   XPlanner,
  Testing               WebInject, Grinder                        dotProject
  Web Service Testing   SoapUI, HttpUnit,    Application          Big Brother, Nagios
                        XMLUnit              Monitoring
  Code Coverage                              Defect Tracking      Mantis, Bugzilla
                        Emma, Cobertura

  Test Management       TestLink,
                        Test Case Web
  Static Analysis       CheckStyle, PMD,
                        FindMoreBugs
  Continuous            Cruise Control
  Integration




                                                                                        9
Testing Through the Lifecycle


  Requirements          Development        IS Testing      Business Testing    Production
                                                                                   Post
  Requirements         Unit/Component        Smoke          Acceptance
                                                                              Implementation
Review & Testability        Testing          Testing          Testing
                                                                                Validation

                       Code Review &         System          Regression        Application
                       Static Analysis       Testing          Testing          Monitoring

                                          Performance
                       Code Coverage        Testing




                                         Defect Tracking




                                            Reports

                                                                                               10
Automated Unit Test Reporting
                                JUnit
                                • Simple framework for writing
                                automated tests
                                • Written in Java to test Java, so
                                Developers only need to know 1
                                language
                                • Most widely used automated unit
                                testing framework for Java
                                • Provides fast/ repeated feedback on
                                quality of code




                                                                   11
PMD – Static Analysis




  PMD scans Java source code and looks for potential problems like:
     •Possible bugs - empty try/catch/finally/switch statements
     •Dead code - unused local variables, parameters and private methods
     •Suboptimal code - wasteful String/StringBuffer usage
     •Overcomplicated expressions - unnecessary if statements, for loops that could
     be while loops
     •Duplicate code - copied/pasted code means copied/pasted bugs
                                                                                      12
Continuous Integration Process

                                                   Cruise Control
     Change                  Code                      Server
     Request               Repository             (Continuous Build
                                                       & Test)
               Developer



                                                        Build
                                                   (Automated Build
                                                        Script)



               Reporting
                  DB                     Automated Code          Automated
                                              Analysis            Unit Test
                                        1. Code Coverage,
                                        2. Static Analysis,
                                        3.Coding Standards




                                                                              13
Code Coverage




                14
Cruise Control Dashboard




                           15
Continuous Integration – Daily builds




                                        16
CVS Check-In Process



                                            CVS




                                      Comment OK
                                                                                     Mantis
                         Comment
                                                                                    Bugnote
    Developer            Invalid
    Checks In code


                Pre-commit validation           Post-commit validation
                Ensures that comment contains   Writes out the following
                a) BUGID:                       information to a DB table
                b) BUGNOTE:                     a) BUGID:
                c) TEST PLAN/DESCRIPTION        b) BUGNOTE:
                                                c) TEST PLAN/DESCRIPTION
                                                d) CVS Committer
                                                e) Files updated (with full path)



                                                                                              17
Watir – Browser Automation
                   Watir
                   •Web Application Testing in Ruby
                   •Watir is a toolkit used to automate
                   browser-based tests in Internet Explorer
                   using IE’s COM interface




                                                              18
Performance Testing
  OpenSTA
  •Open Source alternative to LoadRunner/
  Rational Performance Manager
  •Large community, excellent online
  documentation
  •Option to purchase guaranteed support
  (for a price ☺)




                                            19
Lessons In Implementing Open
    Source Successfully




                               20
Factors to consider when selecting
 Main Places to look
         Sourceforge (http://sourceforge.net/ )
         Freshmeat (http://freshmeat.net/ )
 What to look for
         Active community
         Regular releases
         > 90% Activity
         Documentation
         Do the technologies used match those used within the company?
 Perform a Pilot
         Try on a single project, review lessons learned, move forward
 Determining ROI
         Measure cost to implement on project verses benefits gained
         Also factor in ongoing maintenance
 Implementation
         Typically requires a higher level of technical ability than Vendor solutions




                                                                                        21
Pilot & Measure The Value

•   Perform a pilot implementation and measure the setup time, learning curve
    & value added
•   For example: Piloting Watir on a particular project resulted in:
     • 38% less defects identified during Business Testing
     •   Testing Coverage significantly increased
     •   Developers free to perform other activities
     •   Automated tests reused within Regression & Smoke Testing
     •   Reduction in Defects found in Production
               90
               80
               70
               60
               50                                                          May
           %




                                                                           Aug
               40
               30
               20
               10
               0
                    Requirements   Development      Testing   Production         22
Questions?




             23

Más contenido relacionado

La actualidad más candente

Continuous Integration to Shift Left Testing Across the Enterprise Stack
Continuous Integration to Shift Left Testing Across the Enterprise StackContinuous Integration to Shift Left Testing Across the Enterprise Stack
Continuous Integration to Shift Left Testing Across the Enterprise StackDevOps.com
 
QTP 10 00 Guide
QTP 10 00 GuideQTP 10 00 Guide
QTP 10 00 GuideG.C Reddy
 
Test Objects -- They Just Work
Test Objects -- They Just WorkTest Objects -- They Just Work
Test Objects -- They Just WorkBob Binder
 
2012 student track - vs2010
2012   student track - vs20102012   student track - vs2010
2012 student track - vs2010Tim Mahy
 
Shirly Ronen - Documenting an agile defect
Shirly Ronen - Documenting an agile defectShirly Ronen - Documenting an agile defect
Shirly Ronen - Documenting an agile defectAgileSparks
 
Automated Exploratory Tests
Automated Exploratory TestsAutomated Exploratory Tests
Automated Exploratory TestsZbyszek Mockun
 
Silk4j Tcm6 174177
Silk4j Tcm6 174177Silk4j Tcm6 174177
Silk4j Tcm6 174177titita13
 
Automated software testing
Automated software testingAutomated software testing
Automated software testingMD ISLAM
 
Arun Prasad-R.DOCX
Arun Prasad-R.DOCXArun Prasad-R.DOCX
Arun Prasad-R.DOCXArun R
 
Shirly Ronen - User story testing activities
Shirly Ronen - User story testing activitiesShirly Ronen - User story testing activities
Shirly Ronen - User story testing activitiesAgileSparks
 
Test designandmanagementfreenest1dot4
Test designandmanagementfreenest1dot4Test designandmanagementfreenest1dot4
Test designandmanagementfreenest1dot4JAMK
 
EmployDEX Consulting Services
EmployDEX Consulting ServicesEmployDEX Consulting Services
EmployDEX Consulting Serviceskhandaa
 

La actualidad más candente (19)

RTF - Prasad bhatt
RTF - Prasad bhattRTF - Prasad bhatt
RTF - Prasad bhatt
 
Objectif cloud
Objectif cloudObjectif cloud
Objectif cloud
 
Continuous Integration to Shift Left Testing Across the Enterprise Stack
Continuous Integration to Shift Left Testing Across the Enterprise StackContinuous Integration to Shift Left Testing Across the Enterprise Stack
Continuous Integration to Shift Left Testing Across the Enterprise Stack
 
QTP 10 00 Guide
QTP 10 00 GuideQTP 10 00 Guide
QTP 10 00 Guide
 
A New Generation Software Test Automation Framework – CIVIM
A New Generation Software Test Automation Framework – CIVIMA New Generation Software Test Automation Framework – CIVIM
A New Generation Software Test Automation Framework – CIVIM
 
Coding Naked
Coding NakedCoding Naked
Coding Naked
 
QA Service Sheet
QA Service SheetQA Service Sheet
QA Service Sheet
 
Test Objects -- They Just Work
Test Objects -- They Just WorkTest Objects -- They Just Work
Test Objects -- They Just Work
 
2012 student track - vs2010
2012   student track - vs20102012   student track - vs2010
2012 student track - vs2010
 
Continuous Delivery
Continuous DeliveryContinuous Delivery
Continuous Delivery
 
Shirly Ronen - Documenting an agile defect
Shirly Ronen - Documenting an agile defectShirly Ronen - Documenting an agile defect
Shirly Ronen - Documenting an agile defect
 
Automated Exploratory Tests
Automated Exploratory TestsAutomated Exploratory Tests
Automated Exploratory Tests
 
Silk4j Tcm6 174177
Silk4j Tcm6 174177Silk4j Tcm6 174177
Silk4j Tcm6 174177
 
Automated software testing
Automated software testingAutomated software testing
Automated software testing
 
Introduction to Parasoft C++TEST
Introduction to Parasoft C++TEST Introduction to Parasoft C++TEST
Introduction to Parasoft C++TEST
 
Arun Prasad-R.DOCX
Arun Prasad-R.DOCXArun Prasad-R.DOCX
Arun Prasad-R.DOCX
 
Shirly Ronen - User story testing activities
Shirly Ronen - User story testing activitiesShirly Ronen - User story testing activities
Shirly Ronen - User story testing activities
 
Test designandmanagementfreenest1dot4
Test designandmanagementfreenest1dot4Test designandmanagementfreenest1dot4
Test designandmanagementfreenest1dot4
 
EmployDEX Consulting Services
EmployDEX Consulting ServicesEmployDEX Consulting Services
EmployDEX Consulting Services
 

Similar a Neil Tompson - SoftTest Ireland

Agile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Agile Open Source Performance Test Workshop for Developers, Testers, IT OpsAgile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Agile Open Source Performance Test Workshop for Developers, Testers, IT OpsClever Moe
 
Migrating from HP QuickTest Pro QTP to TestMaker Object Designer
Migrating from HP QuickTest Pro QTP to TestMaker Object DesignerMigrating from HP QuickTest Pro QTP to TestMaker Object Designer
Migrating from HP QuickTest Pro QTP to TestMaker Object DesignerClever Moe
 
Migrating From HP QTP To TestMaker 6
Migrating From HP QTP To TestMaker 6Migrating From HP QTP To TestMaker 6
Migrating From HP QTP To TestMaker 6Clever Moe
 
Selenium Basics Tutorial
Selenium Basics TutorialSelenium Basics Tutorial
Selenium Basics TutorialClever Moe
 
Centralized test automation framework implementation
Centralized test automation framework implementationCentralized test automation framework implementation
Centralized test automation framework implementationBharathi Krishnamurthi
 
New Generation Record/Playback Tools for AJAX Testing
New Generation Record/Playback Tools for AJAX TestingNew Generation Record/Playback Tools for AJAX Testing
New Generation Record/Playback Tools for AJAX TestingClever Moe
 
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 EnterpriseSauce Labs
 
TEA Presentation V 0.3
TEA Presentation V 0.3TEA Presentation V 0.3
TEA Presentation V 0.3Ian McDonald
 
Testing in an Open Source Middleware Platform Space The WSO2 Way.
Testing in an Open Source Middleware Platform Space  The WSO2 Way.Testing in an Open Source Middleware Platform Space  The WSO2 Way.
Testing in an Open Source Middleware Platform Space The WSO2 Way.WSO2
 
Mobile DevOps - Trends and Chellenges
Mobile DevOps - Trends and ChellengesMobile DevOps - Trends and Chellenges
Mobile DevOps - Trends and ChellengesSanjeev Sharma
 
Accelerated test case - Anish bhanu
Accelerated test case - Anish bhanuAccelerated test case - Anish bhanu
Accelerated test case - Anish bhanuRoopa Nadkarni
 
Dev ops for cross platform mobile modeveast 12
Dev ops for cross platform mobile   modeveast 12Dev ops for cross platform mobile   modeveast 12
Dev ops for cross platform mobile modeveast 12Sanjeev Sharma
 
Continuous Integration with TestMaker, Hudson, Jenkins, Bamboo
Continuous Integration with TestMaker, Hudson, Jenkins, BambooContinuous Integration with TestMaker, Hudson, Jenkins, Bamboo
Continuous Integration with TestMaker, Hudson, Jenkins, BambooClever Moe
 
Презентация
ПрезентацияПрезентация
Презентацияguest22d71d
 
Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015Stephen Ritchie
 
Planning & building scalable test infrastructure
Planning  & building scalable test infrastructurePlanning  & building scalable test infrastructure
Planning & building scalable test infrastructureVijayan Reddy
 
Software Quality and Test Strategies for Ruby and Rails Applications
Software Quality and Test Strategies for Ruby and Rails ApplicationsSoftware Quality and Test Strategies for Ruby and Rails Applications
Software Quality and Test Strategies for Ruby and Rails ApplicationsBhavin Javia
 
(Agile) engineering best practices - What every project manager should know
(Agile) engineering best practices - What every project manager should know(Agile) engineering best practices - What every project manager should know
(Agile) engineering best practices - What every project manager should knowRichard Cheng
 
DevOps for Mainframe for IBM Pulse Conference
DevOps for Mainframe for IBM Pulse ConferenceDevOps for Mainframe for IBM Pulse Conference
DevOps for Mainframe for IBM Pulse ConferenceRosalind Radcliffe
 

Similar a Neil Tompson - SoftTest Ireland (20)

Agile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Agile Open Source Performance Test Workshop for Developers, Testers, IT OpsAgile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Agile Open Source Performance Test Workshop for Developers, Testers, IT Ops
 
Migrating from HP QuickTest Pro QTP to TestMaker Object Designer
Migrating from HP QuickTest Pro QTP to TestMaker Object DesignerMigrating from HP QuickTest Pro QTP to TestMaker Object Designer
Migrating from HP QuickTest Pro QTP to TestMaker Object Designer
 
Migrating From HP QTP To TestMaker 6
Migrating From HP QTP To TestMaker 6Migrating From HP QTP To TestMaker 6
Migrating From HP QTP To TestMaker 6
 
Selenium Basics Tutorial
Selenium Basics TutorialSelenium Basics Tutorial
Selenium Basics Tutorial
 
Continuous Integration & the Release Maturity Model
Continuous Integration & the Release Maturity Model Continuous Integration & the Release Maturity Model
Continuous Integration & the Release Maturity Model
 
Centralized test automation framework implementation
Centralized test automation framework implementationCentralized test automation framework implementation
Centralized test automation framework implementation
 
New Generation Record/Playback Tools for AJAX Testing
New Generation Record/Playback Tools for AJAX TestingNew Generation Record/Playback Tools for AJAX Testing
New Generation Record/Playback Tools for AJAX Testing
 
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
 
TEA Presentation V 0.3
TEA Presentation V 0.3TEA Presentation V 0.3
TEA Presentation V 0.3
 
Testing in an Open Source Middleware Platform Space The WSO2 Way.
Testing in an Open Source Middleware Platform Space  The WSO2 Way.Testing in an Open Source Middleware Platform Space  The WSO2 Way.
Testing in an Open Source Middleware Platform Space The WSO2 Way.
 
Mobile DevOps - Trends and Chellenges
Mobile DevOps - Trends and ChellengesMobile DevOps - Trends and Chellenges
Mobile DevOps - Trends and Chellenges
 
Accelerated test case - Anish bhanu
Accelerated test case - Anish bhanuAccelerated test case - Anish bhanu
Accelerated test case - Anish bhanu
 
Dev ops for cross platform mobile modeveast 12
Dev ops for cross platform mobile   modeveast 12Dev ops for cross platform mobile   modeveast 12
Dev ops for cross platform mobile modeveast 12
 
Continuous Integration with TestMaker, Hudson, Jenkins, Bamboo
Continuous Integration with TestMaker, Hudson, Jenkins, BambooContinuous Integration with TestMaker, Hudson, Jenkins, Bamboo
Continuous Integration with TestMaker, Hudson, Jenkins, Bamboo
 
Презентация
ПрезентацияПрезентация
Презентация
 
Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015
 
Planning & building scalable test infrastructure
Planning  & building scalable test infrastructurePlanning  & building scalable test infrastructure
Planning & building scalable test infrastructure
 
Software Quality and Test Strategies for Ruby and Rails Applications
Software Quality and Test Strategies for Ruby and Rails ApplicationsSoftware Quality and Test Strategies for Ruby and Rails Applications
Software Quality and Test Strategies for Ruby and Rails Applications
 
(Agile) engineering best practices - What every project manager should know
(Agile) engineering best practices - What every project manager should know(Agile) engineering best practices - What every project manager should know
(Agile) engineering best practices - What every project manager should know
 
DevOps for Mainframe for IBM Pulse Conference
DevOps for Mainframe for IBM Pulse ConferenceDevOps for Mainframe for IBM Pulse Conference
DevOps for Mainframe for IBM Pulse Conference
 

Más de David O'Dowd

Ios driver presentation copy
Ios driver presentation copyIos driver presentation copy
Ios driver presentation copyDavid O'Dowd
 
Janet Gregory presents Current Testing Challenges with SoftTest Ireland
Janet Gregory presents Current Testing Challenges with SoftTest IrelandJanet Gregory presents Current Testing Challenges with SoftTest Ireland
Janet Gregory presents Current Testing Challenges with SoftTest IrelandDavid O'Dowd
 
Current Testing Challenges Ireland
Current Testing Challenges IrelandCurrent Testing Challenges Ireland
Current Testing Challenges IrelandDavid O'Dowd
 
Gordon baisley - eircom - Introducing the EDM role with www.softtest.ie
Gordon baisley - eircom - Introducing the EDM role with www.softtest.ieGordon baisley - eircom - Introducing the EDM role with www.softtest.ie
Gordon baisley - eircom - Introducing the EDM role with www.softtest.ieDavid O'Dowd
 
Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...
Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...
Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...David O'Dowd
 
Intune Agile Testing Talk with www.softtest.ie
Intune Agile Testing Talk with www.softtest.ieIntune Agile Testing Talk with www.softtest.ie
Intune Agile Testing Talk with www.softtest.ieDavid O'Dowd
 
Mobile Testing Challenges Lighting Talk with www.softtest.ie
Mobile Testing Challenges Lighting Talk with www.softtest.ieMobile Testing Challenges Lighting Talk with www.softtest.ie
Mobile Testing Challenges Lighting Talk with www.softtest.ieDavid O'Dowd
 
HMH Agile Testing Lightning Talk with www.softtest.ie
HMH Agile Testing Lightning Talk with www.softtest.ieHMH Agile Testing Lightning Talk with www.softtest.ie
HMH Agile Testing Lightning Talk with www.softtest.ieDavid O'Dowd
 
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip BannonSoft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip BannonDavid O'Dowd
 
www.softtest.ie presents Selenium 2 With David Burn's
www.softtest.ie presents Selenium 2 With David Burn'swww.softtest.ie presents Selenium 2 With David Burn's
www.softtest.ie presents Selenium 2 With David Burn'sDavid O'Dowd
 
Agile Test Management - www.softtest.ie
Agile Test Management - www.softtest.ieAgile Test Management - www.softtest.ie
Agile Test Management - www.softtest.ieDavid O'Dowd
 
Michael Bolton - Two futures of software testing - Sept 2010
Michael Bolton - Two futures of software testing - Sept 2010Michael Bolton - Two futures of software testing - Sept 2010
Michael Bolton - Two futures of software testing - Sept 2010David O'Dowd
 
Markus Clermont - Surviving in an Agile Environment - Google - SoftTest Ireland
Markus Clermont - Surviving in an Agile Environment - Google - SoftTest IrelandMarkus Clermont - Surviving in an Agile Environment - Google - SoftTest Ireland
Markus Clermont - Surviving in an Agile Environment - Google - SoftTest IrelandDavid O'Dowd
 
Whittaker How To Break Software Security - SoftTest Ireland
Whittaker How To Break Software Security - SoftTest IrelandWhittaker How To Break Software Security - SoftTest Ireland
Whittaker How To Break Software Security - SoftTest IrelandDavid O'Dowd
 
David Parnas - Documentation Based Software Testing - SoftTest Ireland
David Parnas - Documentation Based Software Testing - SoftTest IrelandDavid Parnas - Documentation Based Software Testing - SoftTest Ireland
David Parnas - Documentation Based Software Testing - SoftTest IrelandDavid O'Dowd
 
James Lyndsay - Testing in an agile environment
James Lyndsay - Testing in an agile environmentJames Lyndsay - Testing in an agile environment
James Lyndsay - Testing in an agile environmentDavid O'Dowd
 
Neil Thompson - Thinking tools: from top motors, through software process imp...
Neil Thompson - Thinking tools: from top motors, through software process imp...Neil Thompson - Thinking tools: from top motors, through software process imp...
Neil Thompson - Thinking tools: from top motors, through software process imp...David O'Dowd
 
Tester's are doing it for themselves - Julie Gardiner - SoftTest Ireland
Tester's are doing it for themselves - Julie Gardiner - SoftTest IrelandTester's are doing it for themselves - Julie Gardiner - SoftTest Ireland
Tester's are doing it for themselves - Julie Gardiner - SoftTest IrelandDavid O'Dowd
 
Test Automation: A Roadmap For Sucesss
Test Automation: A Roadmap For SucesssTest Automation: A Roadmap For Sucesss
Test Automation: A Roadmap For SucesssDavid O'Dowd
 
Susan windsor soft test 16th november 2005
Susan windsor soft test   16th november 2005Susan windsor soft test   16th november 2005
Susan windsor soft test 16th november 2005David O'Dowd
 

Más de David O'Dowd (20)

Ios driver presentation copy
Ios driver presentation copyIos driver presentation copy
Ios driver presentation copy
 
Janet Gregory presents Current Testing Challenges with SoftTest Ireland
Janet Gregory presents Current Testing Challenges with SoftTest IrelandJanet Gregory presents Current Testing Challenges with SoftTest Ireland
Janet Gregory presents Current Testing Challenges with SoftTest Ireland
 
Current Testing Challenges Ireland
Current Testing Challenges IrelandCurrent Testing Challenges Ireland
Current Testing Challenges Ireland
 
Gordon baisley - eircom - Introducing the EDM role with www.softtest.ie
Gordon baisley - eircom - Introducing the EDM role with www.softtest.ieGordon baisley - eircom - Introducing the EDM role with www.softtest.ie
Gordon baisley - eircom - Introducing the EDM role with www.softtest.ie
 
Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...
Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...
Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...
 
Intune Agile Testing Talk with www.softtest.ie
Intune Agile Testing Talk with www.softtest.ieIntune Agile Testing Talk with www.softtest.ie
Intune Agile Testing Talk with www.softtest.ie
 
Mobile Testing Challenges Lighting Talk with www.softtest.ie
Mobile Testing Challenges Lighting Talk with www.softtest.ieMobile Testing Challenges Lighting Talk with www.softtest.ie
Mobile Testing Challenges Lighting Talk with www.softtest.ie
 
HMH Agile Testing Lightning Talk with www.softtest.ie
HMH Agile Testing Lightning Talk with www.softtest.ieHMH Agile Testing Lightning Talk with www.softtest.ie
HMH Agile Testing Lightning Talk with www.softtest.ie
 
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip BannonSoft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
 
www.softtest.ie presents Selenium 2 With David Burn's
www.softtest.ie presents Selenium 2 With David Burn'swww.softtest.ie presents Selenium 2 With David Burn's
www.softtest.ie presents Selenium 2 With David Burn's
 
Agile Test Management - www.softtest.ie
Agile Test Management - www.softtest.ieAgile Test Management - www.softtest.ie
Agile Test Management - www.softtest.ie
 
Michael Bolton - Two futures of software testing - Sept 2010
Michael Bolton - Two futures of software testing - Sept 2010Michael Bolton - Two futures of software testing - Sept 2010
Michael Bolton - Two futures of software testing - Sept 2010
 
Markus Clermont - Surviving in an Agile Environment - Google - SoftTest Ireland
Markus Clermont - Surviving in an Agile Environment - Google - SoftTest IrelandMarkus Clermont - Surviving in an Agile Environment - Google - SoftTest Ireland
Markus Clermont - Surviving in an Agile Environment - Google - SoftTest Ireland
 
Whittaker How To Break Software Security - SoftTest Ireland
Whittaker How To Break Software Security - SoftTest IrelandWhittaker How To Break Software Security - SoftTest Ireland
Whittaker How To Break Software Security - SoftTest Ireland
 
David Parnas - Documentation Based Software Testing - SoftTest Ireland
David Parnas - Documentation Based Software Testing - SoftTest IrelandDavid Parnas - Documentation Based Software Testing - SoftTest Ireland
David Parnas - Documentation Based Software Testing - SoftTest Ireland
 
James Lyndsay - Testing in an agile environment
James Lyndsay - Testing in an agile environmentJames Lyndsay - Testing in an agile environment
James Lyndsay - Testing in an agile environment
 
Neil Thompson - Thinking tools: from top motors, through software process imp...
Neil Thompson - Thinking tools: from top motors, through software process imp...Neil Thompson - Thinking tools: from top motors, through software process imp...
Neil Thompson - Thinking tools: from top motors, through software process imp...
 
Tester's are doing it for themselves - Julie Gardiner - SoftTest Ireland
Tester's are doing it for themselves - Julie Gardiner - SoftTest IrelandTester's are doing it for themselves - Julie Gardiner - SoftTest Ireland
Tester's are doing it for themselves - Julie Gardiner - SoftTest Ireland
 
Test Automation: A Roadmap For Sucesss
Test Automation: A Roadmap For SucesssTest Automation: A Roadmap For Sucesss
Test Automation: A Roadmap For Sucesss
 
Susan windsor soft test 16th november 2005
Susan windsor soft test   16th november 2005Susan windsor soft test   16th november 2005
Susan windsor soft test 16th november 2005
 

Neil Tompson - SoftTest Ireland

  • 1. “As a part of Liberty Mutual Information Systems enable Liberty Mutual Group to exceed their business objectives by delivering high value, market responsive IT solutions” Testing During The Development Phase Using Open Source Tools March 2008 Richard Thompson (Verification Technologist) 1
  • 2. Agenda Introduction Why Open Source Examples Through the Lifecycle Lessons in Implementing Open Source Successfully Questions 2
  • 3. Overview of Liberty-IT Belfast based software development & testing house with ~230 staff Our parent company is Liberty Mutual Group a leading global insurer Liberty Mutual ranks 95th on the Fortune 500 list of largest U.S. corporations (based on 2006 revenue). $85.5 billion in consolidated assets Technologies include Java, .Net, Struts, IBM Portal Hibernate, Spring, Web Services -> SOA Multiple database platforms Dedicated Testing practice focusing on technical testing solutions 3
  • 4. Disclaimer The views expressed within this presentation belong solely to Richard Thompson and do not necessarily represent those of Liberty Mutual or Liberty-IT. 4
  • 6. Business Demands Faster Strategic advantage to be first to market Quarterly -> Monthly -> Fortnightly Releases Better Lower and lower tolerance for poor quality Expect higher productivity Demand more visibility into project status Cheaper Continually looking to reduce costs Everything must have a ROI (Return on Investment) 6
  • 7. Growing Role of Open Source Perception of high vendors prices Growing number of high quality, mature open source products Which are highly reliable Have large world wide support More and more large companies are using Open Source tools/ components Amazon Google IBM Conducted by Boston-based Forrester Research Inc. in February 2004, a study revealed that 65 of the 140 companies questioned -- almost 50 percent -- are using open source applications. 7
  • 8. Examples Through the Lifecycle 8
  • 9. Open Source Solutions Unit Testing JUnit, HttpUnit, Configuration CVS, Subversion HTMLUnit, MaxQ Management Automated Watir, Samie, Build Management ANT Functional/ Pamie, Jiffie Regression Testing Performance OpenSTA, JMeter, Project Management XPlanner, Testing WebInject, Grinder dotProject Web Service Testing SoapUI, HttpUnit, Application Big Brother, Nagios XMLUnit Monitoring Code Coverage Defect Tracking Mantis, Bugzilla Emma, Cobertura Test Management TestLink, Test Case Web Static Analysis CheckStyle, PMD, FindMoreBugs Continuous Cruise Control Integration 9
  • 10. Testing Through the Lifecycle Requirements Development IS Testing Business Testing Production Post Requirements Unit/Component Smoke Acceptance Implementation Review & Testability Testing Testing Testing Validation Code Review & System Regression Application Static Analysis Testing Testing Monitoring Performance Code Coverage Testing Defect Tracking Reports 10
  • 11. Automated Unit Test Reporting JUnit • Simple framework for writing automated tests • Written in Java to test Java, so Developers only need to know 1 language • Most widely used automated unit testing framework for Java • Provides fast/ repeated feedback on quality of code 11
  • 12. PMD – Static Analysis PMD scans Java source code and looks for potential problems like: •Possible bugs - empty try/catch/finally/switch statements •Dead code - unused local variables, parameters and private methods •Suboptimal code - wasteful String/StringBuffer usage •Overcomplicated expressions - unnecessary if statements, for loops that could be while loops •Duplicate code - copied/pasted code means copied/pasted bugs 12
  • 13. Continuous Integration Process Cruise Control Change Code Server Request Repository (Continuous Build & Test) Developer Build (Automated Build Script) Reporting DB Automated Code Automated Analysis Unit Test 1. Code Coverage, 2. Static Analysis, 3.Coding Standards 13
  • 16. Continuous Integration – Daily builds 16
  • 17. CVS Check-In Process CVS Comment OK Mantis Comment Bugnote Developer Invalid Checks In code Pre-commit validation Post-commit validation Ensures that comment contains Writes out the following a) BUGID: information to a DB table b) BUGNOTE: a) BUGID: c) TEST PLAN/DESCRIPTION b) BUGNOTE: c) TEST PLAN/DESCRIPTION d) CVS Committer e) Files updated (with full path) 17
  • 18. Watir – Browser Automation Watir •Web Application Testing in Ruby •Watir is a toolkit used to automate browser-based tests in Internet Explorer using IE’s COM interface 18
  • 19. Performance Testing OpenSTA •Open Source alternative to LoadRunner/ Rational Performance Manager •Large community, excellent online documentation •Option to purchase guaranteed support (for a price ☺) 19
  • 20. Lessons In Implementing Open Source Successfully 20
  • 21. Factors to consider when selecting Main Places to look Sourceforge (http://sourceforge.net/ ) Freshmeat (http://freshmeat.net/ ) What to look for Active community Regular releases > 90% Activity Documentation Do the technologies used match those used within the company? Perform a Pilot Try on a single project, review lessons learned, move forward Determining ROI Measure cost to implement on project verses benefits gained Also factor in ongoing maintenance Implementation Typically requires a higher level of technical ability than Vendor solutions 21
  • 22. Pilot & Measure The Value • Perform a pilot implementation and measure the setup time, learning curve & value added • For example: Piloting Watir on a particular project resulted in: • 38% less defects identified during Business Testing • Testing Coverage significantly increased • Developers free to perform other activities • Automated tests reused within Regression & Smoke Testing • Reduction in Defects found in Production 90 80 70 60 50 May % Aug 40 30 20 10 0 Requirements Development Testing Production 22