Fully Leverage Agile Test Automation Technical Success and Return on Investment



Similar documents
Case Studies of Free Test Tools Successful Test Tool Use without a Big Budget

Test Automation: A Project Management Perspective

Best Practices for Improving the Quality and Speed of Your Agile Testing

What is the best automation testing approach?

Software Continuous Integration & Delivery

INDEPENDENT TESTING & QA SERVICES

Know the Difference. Unified Functional Testing (UFT) and Lean Functional Testing (LeanFT) from HP

Five Trends Affecting Testing A Retrospective View Five Years Later

Five Testing Best Practices And How These Practices Can Help You

Quality Assurance Training Program

Viewpoint. Choosing the right automation tool and framework is critical to project success. - Harsh Bajaj, Technical Test Lead ECSIVS, Infosys

Step 2 Go2Group Automation Self Assessment

Business white paper. Best practices for implementing automated functional testing solutions

Secrets to Automation Success. A White Paper by Paul Merrill, Consultant and Trainer at Beaufort Fairmont, LLC

An Overview of Agile Testing

How To Write Unit Tests In A Continuous Integration

Automation using Selenium

ISTQB Certified Tester. Foundation Level. Sample Exam 1

Test Automation Tool comparison HP UFT/QTP vs. Selenium - Prashant Malhotra

Open Source HTTP testing tool. Stefane Fermigier

Mobile Test Automation Framework

Making Test Automation Work in Agile Projects

Introduction and Agenda

Evangelism Identifying key members of the user community and assist them in using clients' solutions

Live Specifications: From Requirements to Automated Tests and Back

CLOUD COMPUTING SOLUTION - BENEFITS AND TESTING CHALLENGES

Open Source Testing Tools: The Paradigm Shift

Web based Automation Testing and Tools

Standard Glossary of Terms Used in Software Testing. Version 3.01

Continuous Delivery and Test Automation in Agile SW projects with Robot Framework Antti Pohjonen

Evolving Agile Testing

QEx Whitepaper. Automation Testing Pillar: Selenium. Naveen Saxena. AuthOr:

Automated Acceptance Testing of High Capacity Network Gateway

'& ##! %1# ##!!* #!!! 23!!!

Continuous???? Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Lee Copeland.

Performance Testing Uncovered

Automating Functional Tests Using Selenium

Making Test Automation Work in Agile Projects

Software Automated Testing

Delivering Quality Software with Continuous Integration

Testing in a Mobile World

ASSURING SOFTWARE QUALITY USING VISUAL STUDIO 2010

What s new in the HP Functional Testing 11.5 suite Ronit Soen, product marketing John Jeremiah, product marketing

Top ten reasons to transition your IT lab environments to the cloud

Advanced Software Test Design Techniques Use Cases

Workshop on Agile Test Strategies and Experiences. Fran O'Hara, Insight Test Services, Ireland

Table of contents. Enterprise Resource Planning (ERP) functional testing best practices: Ten steps to ERP systems reliability

JUnit. Introduction to Unit Testing in Java

Lessons Learned in Test Automation

a new generation software test automation framework - CIVIM

Latest Research and Development on Software Testing Techniques and Tools

Advanced Software Testing

DESIGN OF AUTOMATION SCRIPTS EXECUTION APPLICATION FOR SELENIUM WEBDRIVER AND TestNG FRAMEWORK

AUTOMATING THE WEB APPLICATIONS USING THE SELENIUM RC

Fail early, fail often, succeed sooner!

TURN YOUR MOBILE TEST AUTOMATION CHALLENGES INTO YOUR COMPETITIVE ADVANTAGE

Better Software Though Expertise, Collaboration & Automation. BDD, DevOps and Testing

Cut. software development. Improve defect removal efficiency while simultaneously lowering costs and shortening schedules.

DELIVERING AGILE QUALITY ASSURANCE THROUGH EXTREME AUTOMATION

RELIABILITY FOR YOUR BUSINESS INDZ TM TEK TO ENABLE YOU TO REACH EXTREME HEIGHTS

Continuous Integration

QA or the Highway 2016 Presentation Notes

Tonight s Speaker. Life of a Tester at Microsoft Urvashi Tyagi Software Test Manager, Microsoft

National University of Ireland, Maynooth MAYNOOTH, CO. KILDARE, IRELAND. Testing Guidelines for Student Projects

Client Overview. Engagement Situation. Key Requirements

Agile Test Planning with the Agile Testing Quadrants

Meta-Framework: A New Pattern for Test Automation

The State of IT Transformation for Healthcare

CloudBees Continuous Integration and Test with Appvance Enterprise August 28, 2013 Frank Cohen, (408)

Staffing Your Test Automation Team

Transitioning Your Software Process To Agile Jeffery Payne Chief Executive Officer Coveros, Inc.

Latest Trends in Testing. Ajay K Chhokra

MagenTys Testing Services Page 2

Accelerating software testing effectiveness using Agile methodologies..

Evaluation of Load/Stress tools for Web Applications testing

Simplify Your Windows Server Migration

Could a Managed Services Agreement Save Your Company Tens of Thousands of Dollars Each Year?

Agile Web Application Testing

Co-Presented by Mr. Bill Rinko-Gay and Dr. Constantin Stanca 9/28/2011

"Crowdsourced Testing: An Emerging Model for Serious Testing"

SOFTWARE TESTING PROCESSES PRESENTATION

Streamlining BEA WebLogic Server Application Development. With VMware Infrastructure 3. With VMware Infrastructure 3

IBM Rational: Sustainable automated testing for SAP Ecosystems with Worksoft Certify

Mobile Testing in a Fast Paced World

JMeter in the Cloud. Get Loaded!

A Comprehensive Review of Web-based Automation Testing Tools

The Tester's Role in Continuous Integration

Coding in Industry. David Berry Director of Engineering Qualcomm Cambridge Ltd

Software Testing, Mythology & Methodologies

TEST AUTOMATION FRAMEWORK

Frank Cohen s Presentation To EuroSTAR Conference November 30, 2010

Application Delivery Controllers For Virtual Applications

Continuous Integration and Deployment Modern Technique's

Solutions for Quality Management in a Agile and Mobile World

Accelerating Time to Market:

Performance Testing and Functional Automation Specialist Cloud Services

Tech Radar - May 2015

SOFTWARE TESTING TRAINING COURSES CONTENTS

Sandesh Prasanna Kumar

Transcription:

Fully Leverage Agile Test Automation Technical Success and Return on Investment

Introduction Give me a place to stand, and a lever long enough, and I will move the world. In Agile, the place to stand is testing, and the lever is test automation How well are you using that leverage? Many of our clients miss out on the full value of test automation Proper done, test automation can: Reduce failure costs Accelerate schedules Expand test coverage Let s look at how to achieve technical success and high ROI in test automation Page 2

Automated Testing Overview Automated tests can be static, white-box, blackbox types or multiple types Automated tests can be built from commercial, open-source, or custom testing tools In spite of the name, automated testing tools only automate a portion of the testing process Successful test automation can provide solid benefits Inappropriate automation is a frequent cause of trouble Fully Leveraging Agile Automation Copyright (c) RBCS 2016 Page 3

Test Automation ROI A return on most test automation efforts requires: Sufficiently high regression 100 risks to justify repeating 90 tests 80 A test system design that keeps the costs of running 70 and maintaining the 60 automated tests well below 50 the cost of equivalent 40 manual tests A relatively stable system 30 Must recoup high up-front 20 test development costs over 10 multiple projects 0 Dev Exec Maint If maintenance is not required, we can recoup the investment on the 4 th execution. If maintenance is required for each execution, it will take 18 executions. Manual Automated Page 4

Continuous Integration Present in almost all of our clients with successful agile implementations Most use either Jenkins or Hudson Most include some additional tools for at least unit testing Supports testing by making the build process faster, more reliable Can create problems when builds are auto-deployed to test environments Page 5

Static Code Analysis Some of our clients extend continuous integration with static code analysis Sonar and splint are typical open-source options, though many clients opt for commercial static tools such as Klocwork or Fortify A few (too few) of our clients take advantage of complexity analysis tools (e.g., pmccabe, BattleMap) To understand the output of these tools, knowledge of the programming language is required These tools don t replace proper code reviews, but contribute to more secure, more maintainable code Page 6

Unit Testing Most of our clients using continuous integration extend it with unit testing The xunit family of tools is most typically used (Cpp-Unit, J- Unit, etc.), and extends to many, many programming languages Some (just a few) of our clients use commercial unit test tools (e.g., Parasoft s) Some report developers using these tools for TDD, though what is meant by TDD varies widely among practitioners Code coverage analysis tools (e.g., gcov, Cobertura, Bullseye) are often used in conjunction with these tools Many developers don t have training in proper test design, so these tests are less useful than they could be Unit testing tops out at about 50% defect detection effectiveness, even when done well Testers should learn the basics of unit testing, white-box test design, etc., and help developers get more value Page 7

Feature Verification Testing Many tools for these activities Fitnesse used commonly for ATDD Cucumber family and Rspec used commonly for BDD None of our clients use commercial tools for either ATDD or BDD Developers and testers use these tools collaboratively Business stakeholders review the test results, and ideally review the tests as well Often (but not always) included in continuous integration frameworks Some of our clients who tried BDD gave it up due to maintainability issues, switched to ATDD Page 8

GUI Test Automation There are many, many open-source and commercial tools for GUI test automation Selenium is the most commonly mentioned opensource tool, but there are many others UFT, Rational Robot, Test Complete, and too many others to mention in the commercial world Data-driven or keyword-driven architecture is essential for maintainability Using an experienced lead (5+ years of test automation experience) is necessary for good architecture When I hear about test automation problems, it s usually in the context of GUI test automation Page 9

Performance Testing For open-source, JMeter (part of the Apache project) is the most commonly encountered, though OpenSTA has some users Commercial tools include MS VSTS, Load Runner, and many, many others Maintenance of performance tests is not as large an issue as for GUI functional tests Expertise with performance is critical, and trying to use these tools without such skills will result in misleading results Some previously open-source performance testing tools have gone away Correlating performance test results with performance modeling can increase confidence in both Page 10

Web Services/Service Virtualization Testing Parasoft and CA offer commercial tools, among many others SoapUI is the free tool most often mentioned SoapUI, while workable, is not a very reliable tool SoapUI is the open-source variant of a commercial offering (with similar problems) TestMaker and WebInject show up in web searches, but none of our clients have mentioned them These tools seem more limited in use, but that s often due to a matter of need rather than awareness Page 11

Dynamic Analysis Most operating systems have some built-in options (e.g., top, perfmon) Some compilers have the ability to build dynamic analysis code into programs Additional open-source tools are also available Valgrind in Linux/Android/Mac world Winleak for PCs Commercial tools such as Purify are also available Many of our clients under-utilize the options available here, especially given the serious reliability problems caused by runtime errors Page 12

Test Design Tools Certain types of tests require tools for design Pairwise testing is one good example PICT and ACTS are good free tools for pairwise testing, while various commercial pairwise tools also exist Model-based testing gets talked about a lot, but few of our clients use it We have built model-based test systems for some of our clients, using open-source tools Commercial test design tools often require particular formats for requirements, which are seldom available Page 13

Scripting Tools Many testers automate tests using scripting tools Ruby, Python, Tcl/Tk, and Unix shells are in common use If anything, there are too many different options, leading to Tower of Babel problem Scripting is best done by people with some programming skill and knowledge However, testers can learn or even teach themselves Care must be taken to avoid maintainability problems Very large, complex, sophisticated test systems can be built Page 14

Conclusions Test automation done right can provide solid benefits There are commercial tools and open-source tools available Free to download doesn t mean free to use Direct costs of people s time Opportunity costs (what could be done) Carefully scrutinize claims made by test tool vendors in terms of ease of use, ROI, etc. Building your own tools is an option, but the wealth of open-source tools makes this option less attractive Building integration and other glue tools does make sense Page 15

To Contact RBCS For over twenty years, RBCS has delivered consulting, outsourcing and training services to clients, helping them with software and hardware testing. Employing the industry s most experienced and recognized consultants, RBCS advises its clients, trains their employees, conducts product testing, builds and improves testing groups, and hires testing staff for hundreds of clients worldwide. Ranging from Fortune 20 companies to start-ups, RBCS clients save time and money through improved product development, decreased tech support calls, improved corporate reputation and more. To learn more about RBCS, visit. Address: RBCS, Inc. 31520 Beck Road Bulverde, TX 78163-3911 USA Phone: +1 (830) 438-4830 E-mail: info@rbcs-us.com Web: Twitter: @RBCS, @LaikaTestDog Facebook: RBCS-Inc. Page 16