software testing for beginners

Embed Size (px)

Text of software testing for beginners

  • 1.Beginners Guide To Software Testing FOREWORDBeginners Guide To Software Testing introduces a practical approach to testing software. Itbridges the gap between theoretical knowledge and real world implementation. This article helpsyou gain an insight to Software Testing - understand technical aspects and the processes followedin a real working environment.Who will benefit?Beginners. For those of you who wish to mould your theoretical software engineering knowledgeinto practical approach to working in the real world.Those who wish to take up Software Testing as a profession.Developers! This is an era where you need to be an All rounder. It is advantageous fordevelopers to posses testing capabilities to test the application before hand. This will help reduceoverhead on the testing team.Already a Tester! You can refresh all your testing basics and techniques and gear up forCertifications in Software TestingAn earnest suggestion: No matter which profession you choose, it is advisable that you possesthe following skills:- Good communication skills oratory and writing- Fluency in English- Good Typing skillsBy the time you finish reading this article, you will be aware of all the techniques and processesthat improves your efficiency, skills and confidence to jump start into the field of SoftwareTesting. Symbiosys Technologies2

2. Beginners Guide To Software TestingAbout Symbiosys TechnologiesSymbiosys Technologies is a software solutions and product development company that caters todiverse industry verticals. Founded in 2001, Symbiosys Technologies has over 100 employeeswith expertise in diverse technologies, servicing and providing solutions to enterprises worldwide.Weoffercomprehensive solutionsindifferentareas,viz.,SoftwareDesign/Development/Documentation, QA/Testing Services, Software Maintenance/Support,Systems Integration, Re-engineering, Multimedia Solutions, Web Designing/Development,Internet/Intranet applications, Database Solutions, e-Commerce and Offshore Services.Constant dedication and effort by our development, testing and designing teams have helped uscross many mile stones in this highly competitive and most sought after field. Within a short spanwe have been able to work with some of the Fortune 500 companies with excellent results.Our client list includes Google (Developing Google Internal Systems, Testing GoogleSearch Appliance), Hitachi Data Systems, Hitachi America Limited, Sphereo Inc,Tekdynamics Inc and Cambridge Systems Inc.Our Key differentiators Standards and best practices adapted Structured coordination Highly experienced and proficient development team Highly competent and trained testing team Conformance to requirements Safety and Security assuranceBeginners Guide To Software Testing is our sincere effort to educate and create awarenessamong people, the growing importance of software quality. With the advent of globalization andincrease in market demand for software with good quality, we see the need for all SoftwareEngineers to know more about Software Testing.We believe that this article helps serve our motto Adding Values to Lives Around Us.Symbiosys Technologies3 3. Beginners Guide To Software TestingTable Of Contents1. OVERVIEW .................................................................................................................................... 6 1.1. THE BIG PICTURE .................................................................................................................. 6 1.2. WHAT IS SOFTWARE? WHY SHOULD IT BE TESTED? ............................................................................. 6 1.3. WHAT IS QUALITY? HOW IMPORTANT IS IT? ..................................................................................... 7 1.4. WHAT EXCATLY DOES A SOFTWARE TESTER DO? ................................................................................. 7 1.5. WHAT MAKES A GOOD TESTER? .................................................................................................... 8 1.6. GUIDELINES FOR NEW TESTERS .................................................................................................... 82. INTRODUCTION ............................................................................................................................ 10 2.1. SOFTWARE LIFE CYCLE ........................................................................................................... 10 2.1.1. VARIOUS LIFE CYCLE MODELS ........................................................................................ 11 2.2. SOFTWARE TESTING LIFE CYCLE ................................................................................................ 11 2.3. WHAT IS A BUG? WHY DO BUGS OCCUR? ...................................................................................... 12 2.4. BUG LIFE CYCLE ................................................................................................................... 13 2.5. COST OF FIXING BUGS ............................................................................................................ 14 2.6. WHEN CAN TESTING BE STOPPED/REDUCED?................................................................................... 143. SOFTWARE TESTING LEVELS, TYPES, TERMS AND DEFINITIONS ..................................................................... 15 3.1.TESTING LEVELS AND TYPES ...................................................................................................... 15 3.2. TESTING TERMS ................................................................................................................... 174. MOST COMMON SOFTWARE ERRORS .................................................................................................... 185. THE TEST PLANNING PROCESS ........................................................................................................... 19 5.1. WHAT IS A TEST STRATEGY? WHAT ARE ITS COMPONENTS?................................................................. 19 5.2. TEST PLANNING SAMPLE STRUCTURE ......................................................................................... 19 5.3. MAJOR TEST PLANNING TASKS ................................................................................................... 206. TEST CASE DEVELOPMENT ................................................................................................................ 21 6.1. GENERAL GUIDELINES ............................................................................................................ 21 6.2. TEST CASE SAMPLE STRUCTURE............................................................................................... 21 6.3. TEST CASE DESIGN TECHNIQUES ............................................................................................... 21 6.3.1. SPECIFICATION DERIVED TESTS ...................................................................................... 22 6.3.2. EQUIVALENCE PARTITIONING .......................................................................................... 22 6.3.3. BOUNDARY VALUE ANALYSIS .......................................................................................... 22 6.3.4. STATE TRANSITION TESTING .......................................................................................... 22 6.3.5. BRANCH TESTING....................................................................................................... 22 6.3.6. CONDITION TESTING ................................................................................................... 22 6.3.7. DATA DEFINITION USE TESTING.................................................................................... 22 6.3.8. INTERNAL BOUNDARY VALUE TESTING ................................................................................ 23 6.3.9. ERROR GUESSING ...................................................................................................... 23 Symbiosys Technologies4 4. Beginners Guide To Software Testing6.4. USE CASES ........................................................................................................................ 237. DEFECT TRACKING ........................................................................................................................ 247.1. WHAT IS A DEFECT?.............................................................................................................. 247.2. WHAT ARE THE DEFECT CATEGORIES?........................................................................................... 247.3. HOW IS A DEFECT REPORTED? ................................................................................................... 247.4. HOW DESCRIPTIVE SHOULD YOUR BUG/DEFECT REPORT BE?.................................................................. 257.5. WHAT DOES THE TESTER DO WHEN THE DEFECT IS FIXED? ................................................................... 258. TYPES OF TEST REPORTS ................................................................................................................. 268.1. TEST ITEM TRANSMITTAL REPORT ................................................................................................ 268.2. TEST LOG........................................................................................................................... 268.3. TEST INCIDENT REPORT ........................................................................................................... 268.4. TEST SUMMARY REPORT ........................................................................................................... 269. SOFTWARE TEST AUTOMATION ........................................................................................................... 279.1. FACTORS DETERMINING TEST AUTOMATION ..................................................................................... 279.2. APPROACHES TO AUTOMATION ..........................................................