0 ratings 0% found this document useful (0 votes) 41 views 205 pages Software Testing
The document is a textbook titled 'Software Testing' intended for T.Y.B.B.A. (Computer Application) students, following the new syllabus effective from June 2021. It covers various aspects of software testing, including methodologies, metrics, and specialized environments, aiming to present the subject in a concise and comprehensible manner. The book is authored by Dr. Aruna A. Deoskar and Dr. Jyoti J. Malhotra and published by Nirali Prakashan.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here .
Available Formats
Download as PDF or read online on Scribd
Go to previous items Go to next items
NE a) Cy
PAO eee Sg Dr. Jyoti J. Malhotrapro newsslas
4 Book OF
Software Testing
For T.Y.B.B.A.(Computer Application) : Semester - VI
[Course Code CA - 602 : Credits-03]
ICBCS Pattern]
As Per New Syllabus, Effective from June 2021
Dr. Aruna A. Deoskar
MCA, Ph, D. Computer Management
Principal, ATSS College of Business Studies and
Computer Applications (CBSCA)
Chinchwad, Pune,
Dr. Jyoti J. Malhotra
Ph. D. CSE
Asst. Professor, Department of CSE,
MIT School of Engineering,
MIT Art, Design and Technology University, Pune.
Price ~ 210.00
NIRALI
PRAKASHAN
EEN LETSSOFTWARE TESTING ISBN 978-93-5451-469-2
First Edition : January 2022
. 2 Authors
The text of this publication, oF any part thereof, should not bie reproduced oF transmitted in any form or stored in any
computer storage system or davice for distibutan including photocopy, recarding, taping or information ratriaval system ot
reproduced on any dis, tape, perforated media or other information storage device etc. without the written permissian of
‘Authors with whom the rights are reserved. Breach of this condition is Hable Tor legal action,
Every effort has been made to avoid errors or omissions in this publication, In spite ef this, errors may have crept in. Any
mistake, error or discrepancy so noted and shall be brought to our notice shell be taken care of in the next edition. It is notified
‘that neither the publisher nor the author or seller shall be responsible for any damage or lass of action to any one, af any kind, in
any manner, therefrom The reader must crass check all the facts and contents with original Government notification or
publications.
Published By Polyplate Printed By
NIRALI PRAKASHAN YOGIRAJ PRINTERS AND BINDERS
‘Abhyuciaya Pragati, 1312, Shivaji Nagar, Survey No, 10/1, Ghule Industrial Estate
ff JM, Road, Pune = 411005 Nanded Gaan Road
Tel - (020) 25512336737/39 Nanded, Pune - 411081
Email; niralipune@[Link]
STU Cots its
PUNE
Nirali Prekeshon Nirali Prakeshon
(For orders outside Pune) (For orders within Pune)
5. No. 28/27, Dhayari Narhe Road, Near Asian College 119, Bushwar Peth, Jogeshwari Mandir Lane
Pune 411041, Maharashtra Pune 411002, Maharashtra
Tel : (020) 24590204; Mobile = 9657703143 Tel (020) 2445 2044; Mobile ; 9657703345
Email: baokorder@[Link] Email: nivalilocal@pragationiinecom
MUMBAI
Nirali Prakashan
Rasdhara Co-op, Hea, Society Ltd, 'D" Wing Ground Floor, 385 SW.P, Road
Girgaum, Mumbai 400004, Maharashtra
Mobile : 7045821020, Tel : (022) 2385 6339 / 2386 9976
Email wumbaig®[Link],
ISTRIBUTION BRANCHES}
DELHI BENGALURU NAGPUR
Nirali Prakashan Nirali Prakashan Nirali Prakashan
Room No. 2 Ground Floor Msitri Graund Floor, Jaya Apartments, | Above Maratha Mandir, Shop No. 3,
4575/15 Omkar Tower, Agarwal Road No. $9, 6" Cross, 6"" Main, First Flaor, Rani Jhanshi Square,
Darya Ganj, New Delhi 110002 Malleswiararn, Bengaluru 560003 Sitabuleh Nagpur 440012 (MAHI
Mobile: 9555778814/9818561840 Kammataka; Mab : 9686821074 Tel : 0712) 254 7129
Email: dethi@niralibooks com Email :bengaluru@[Link] | Email: nagpurniralibooks com
KOLHAPUR JALGAON SOLAPUR
Nirali Prakeshan Nirali Prakashan Nirali Prakashan
New Mahadvar Road, Kedar Plaza, | 34, V.V. Golani Market, Navi eth, | R-158/2, Avanti Nagar, Near Golden
1° Floor Opp. 1DBI Bank Jalgaon 425001, Maharashtra ‘Gate, Pune Naka Chowk
Kolhapur 416 012 Maharashtra Tel :(0257) 222 0395 Solapur 413001, Maharashtra
Mob : 9850046155 Mob : $4234 91860 Mobile 9880918687
Email: kolhapur@[Link] Email: jalgaon@[Link] Email: selapur@niralibooks com
Moc cee
re eeePreface
We take this opportunity to present this book entitled as “Software Testing” to the
students of Sixth Semester - BBA (Computer Applications), The object of this book is to
present the subject matter in a most concise and simple manner. The book is written strictly
according to the New Syllabus (CBCS Pattern-2019).
The book has its own unique features. It brings out the subject in a very simple and lucid
manner for easy and comprehensive understanding of the basic concepts, its intricacies,
procedures and practices, This book will help the readers to have a broader view on
Software Testing, The language used in this book is easy and will help students to improve
their vocabulary of Technical terms and understand the matter in a better and happier way.
We sincerely thank Shri. Dineshbhai Furia and Shri. Jignesh Furia of Nirali Prakashan, for
the confidence reposed in us and giving us this opportunity to reach out to the students of
BBA(CA) studies
We have given our best inputs for this book, Any suggestions towards the improvement
of this book and sincere comments are most welcome on niralipune@ [Link]:
Authors
oeSyllabus ...
Ll
3.
Introduction [Lectures 10]
11 Introduction, Nature of Errors
12 Testing Objectives
13. Testing Principles
14 Testing Fundamentals
15. Software reviews, Formal Technical reviews
6 Inspection and Walkthrough
LT Testing Life Cycle
Approaches to Testing - Testing Methods [Lectures 5]
2.1. White Box Testing and types of White Box Testing
22 Test Case Design
2.3 Black Box Testing and types of Black Box Testing
24 Gray Box Testing
Software Testing Strategies and Software Metrics TLectures 10]
3.1 Software Testing Process
3.2. Unit Testing
3.3 Integration- Top-down, Bottom up
3.4. System Testing
3.5. Acceptance Testing (Alpha, Beta Testing)
3.6 Validation and Verification
3,7. Big Bang Approach
3.8. Sandwich approach
3.9. Performance Testing
3.10 Regression Testing
3.11 Smoke Testing
3.12 Load Testing
Software Metrics [Lectures 10]
4.1 Introduction
4.2 Basic Metrics - Size-oriented metric, Function - oriented metric
43. Cyclometic Complexity Metrics
Examples an Cylcometic Complexity5. Testing for Speci
5.1 Testing GUI's
ed Environments [Lectures 5]
5.2. Testing of Client/Serve Architectures
53. Testing Documentation and Help Facilities
5.4. Testing for Real-Time Systems
6. Testing Tools and Software Quality Assurance (Introduction) [Lectures 8]
61 JUnit, Apahe JMeter, Win runner
62. Load runner, Rational Robot
63. Quality Concepts, Quality Movement, Background Issues, SQA activities
64 Formal approaches to SQA
65. Statistical Quality Assurance
6.6. Software Reliability
67 The ISO 9000 Quality Standards
68 SQA Plan
69 Six sigma
6.10 Informal Reviews
aeContents ...
1. Introduction
2. Approaches to Testing - Testing Methods
3. Software Testing Strategies and Software Metrics
4. Software Metrics.
5. Testing for Specialized Environments
1.1 = 1.38
2.1 = 2.368
3.1 - 3.38
4.1 - 4.30
5.1 - 5.22
6. Testing Tools and Software Quality Assurance (Introduction) 6.1 - 6.32Introduction
Learning Objective:
© To study the concept of the Software Testing.
© To know about the nature of errors,
® To learn about the Testing Principles and Testing fundamentals.
© To get information about the debugging.
INTRODUCTION TO SOFTWARE TESTING
Definition:
+ “Software testing is a process used to identify the correctness, completeness and
quality of developed software".
+ Testing is the process of exercising and evaluating a system or system component by
manual or automated means to verify that it satisfies specified requirements.
+ Primary role of testing is not demonstration of correct performance, but the exposure
of hidden defects. - Glen Myers
«Testing is concerned with errors, faults, failures and incidents. A test is the act of
exercising software with an objective of
Finding failure
> Demonstrate correct execution - Paul Jorgensen
* According to ANSI/IEEE 1059 standard, Testing can be defined as - A process of
analyzing a software item to detect the differences between existing and required
conditions (that is defects/errors/bugs) and to evaluate the features of the software
item.
‘© Software testing is a process used to identify the correctness, completeness, and
quality of developed computer software. It includes a set of activities conducted with
the intent of finding errors in software so that it could be corrected before the
product is released to the end users.
OR
an