Chapter 1 - Basics of Software Testing
Basics of Software Testing. The purpose of this introductory chapter is to familiarize the reader with the basic concepts related to software testing. In.
SOFTWARE TESTING BASICS
SOFTWARE TESTING BASICS. Software testing is a process which is used to identify the correctness
Software Testing Module-1 : Basics of Software Testing
03-Sept-2020 Module-1 : Basics of Software Testing. By. Dr. Manjunath T. N. ... the act of exercising software with test cases with an objective of.
the Basics of Software Quality Management
Software Quality Management: QA QC and Testing Basics in Product Development. Introduction. 1. The Concept of Software Quality: Quality Assurance (QA)
Mind Map Summary E-Book on Black Box Software Testing (BBST
Having spent almost 4 years in the software industry I was confident that I would be able to cover this 2.5 hours (157 mins) course on testing basics
RNSIT SOFTWARE TESTING NOTES
SOFTWARE TESTING. Subject Code. 18MCA351. Module. Number. Module Name. Page Number. 1. BASICS OF SOFTWARE TESTING BASIC. PRINCIPLE
Beginners Guide To Software Testing
What exactly does a software tester do? Top Ten Challenges of Software Test Automation . ... It normally includes testing basic GUI functionality to.
SAS Support - SUGI 30 - Software Testing Fundamentals
Software Testing Fundamentals—Concepts Roles
Untitled
Course Name: Fundamentals of software/Application Testing. Syllabus: Introduction to Computers & Operating System OOPS. Concepts with Java Basics
SOFTWARE TESTING METHODOLOGIES [R15A0521] LECTURE
taxonomy of bugsFlow graphs and Path testing:- Basics concepts of path testing
Software Testing
Module-1 : Basics of Software Testing
By, Dr.Manjunath
T. N.Professor
Dept. of Information Science &
EnggBMS Institute of Technology, Bengaluru.
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Definition
¾Testing is the process of executing a program
with the intent of finding errors¾Reasons for testing
¾To discover problems
¾To make judgment about quality or acceptabilityBMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Definition
¾Testing is obviously concerned with
9Errors
9Faults
9Failures
9Incidents
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Definition
Errors
9Synonym mistake
9Mistakes while coding-bugs
9Tend to propagate
Fault
9Synonym defect
9Result/representation of error
9Modes of expression
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Definition
representationthatisincorrect information.Failure
9Occurswhenfaultexecutes
9Applicabletoonlyfaultsofomission
Incident
9Symptomassociatedwithafailure
9Alertsusertooccurrenceofafailure
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Definition
Test
the act of exercising software with test caseswith an objective of9Finding failure
9Demonstrate correct execution
Test case
9Has set of inputsand expected outputs.
9Has Identity associated with program behavior
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
A Testing Life Cycle
Requirement
SpecsDesign
Coding
Testing
FaultResolution
FaultIsolation
FaultClassification
Error Fault Fault Fault Error Error incident FixBMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
A Testing Life Cycle
Errors-faults-failures propagates in development phases.Testersummariseslifecycleas3phases
9PuttingbugsIN
9Testingphasetfindingbugs
9GettingbugsOUT
9Test planning
9Test case development
9Running test cases
9Evaluating test results.
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Test cases
Determine test cases for the item to be tested.Have identity-reason for being
InputsPreconditions
Actual inputs
ExpectedActual outputs
outputsPost conditionsBMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Test cases
Act of testing entails
9Establishing necessary preconditions
9Providing the test case inputs
9Observing the outputs
9Comparing with the expected outputs
9Ensuring the existence of expected preconditions
Records the execution history of test cases
9When & by whom it was run
9Pass/fail results
9Version of software
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Test cases
Typical test case information
Test case ID
Purpose
Preconditions
Inputs
Expected outputs
Post conditions
Execution History
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Insight from Venn diagram
Two views
9Structural view -what it is
9Behavioral view -what it does ttesting
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Relationship tprogram behaviors
Program Behaviors
Specified
(expected)Behavior
Programmed
(observed)BehaviorFault
OfOmission
Fault OfCommission
Correct portion
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Relationship tTesting wrt Behavior
Program Behaviors
Specified
(expected)Behavior
Programmed
(observed)Behavior
Test Cases
(Verified behavior) 8756
1 43
2
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
}všY2, 5
±Specified behavior that are not tested
1, 4
±Specified behavior that are tested
2, 6
±Programmed behavior that are not tested
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
}všY1, 3
±Programmed behavior that are tested
3, 7
±Test cases corresponding to unspecified behavior4, 7
±Test cases corresponding to un-programmed
behaviorsBMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Inferences
If there are specified behaviors for which
there are no test cases, the testing is incompleteIf there are test cases that correspond to
unspecified behaviors±Either such test cases are unwarranted
±Specification is deficient
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Test methodologies
Functional (Black box) testing
Structural (White box) testing
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Functional Testing/Black box
testingProgram-a function that maps values from its input domain to values in its output rangeContent/implementation is not known
Function is understood completely in terms of its inputs & outputs For test case identification only specification of the software is usedBMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Advantages & Disadvantages of
Functional Testing
Advantages
9Independent of software implementation
9Test case development can occur in parallel
Disadvantage
9Redundancy among test cases.
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Functional Test cases
SpecifiedProgrammed
Test Cases Functional methods are based on the specified behaviors onlyBMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Structural /white box /clear box
testing Implementation is known and used to identify test casesConcept of linear graph theory is required to
understand Test coverage metrics tprovides way to state the extent to which the software item can be tested.BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Structural Test cases
SpecifiedProgrammed
Test Cases Structural methods are based on the programmed behaviors onlyBMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Functional verses structural
Redundancy and gaps tproblems of functional testing Functional test cases executed in combination with structural test coverage methods both problems can be recognized and solved. functionalStructuralProgram Behaviors
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Errors and fault taxonomies
Process-how we do something
Product-end result of a process
Software quality assurance
9tries to improve product by improving process
9Concerned with reducing errors in development
phases9Testing concerned with discovering faults in a
product-product oriented.BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Classification of faults
Based on Anomaly occurrence
9One time only
9Intermittent
9Recurring/repeatable
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Based on severity
ModerateMisleading or redundant information
DisturbingSome transactions not processed
SeriousLose a transaction
Very seriousIncorrecttransaction execution
IntolerableDatabase corruption
CatastrophicSystem shutdown
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
9Input / output faults
¾correct i/p not accepted
¾wrong format
¾wrong results
9Logic faults
¾missing condition
¾missing cases
¾Incorrect operand/operation
9Computational faults
¾incorrect algorithms
¾missing computations
¾Parenthesis error
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
9Interface faults
¾I/o timing
¾Incorrect i/p handling
¾Call to wrong procedure
9Data faults
¾Incorrect initialisation
¾Incorrect storage/access
¾Wrong flag/index value
¾Incorrect type
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Levels of testing
codingPreliminary
designIntegration
testingDetailed
design Unit testingRequirement
specificationSystem
testing"""""""""""BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
Generalized pseudo code
WOE}À]^language neutral_ÁÇ
Program component
Levels of constructs
Unit component
traditional object oriented components componentsProcedure & functions Class & object
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
The Triangle Problem
Problem statement
Simple version: The triangle program accepts three integers, a, b, and c, as input. These are taken to be sides of a triangle. The output of the program is the type of triangle determined by the three sides: EquilateralIsosceles
Scalene
Not A Triangle.
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
The Triangle Problem
Improved version:^^]u‰oÀOE]}v_‰oµššOE definition of inputs: The integers a, b, and c must satisfy the following conditions:9íXíGGîìì
9îXíGGîìì
9ïXíGGîìì
9c4. a < b + c
9c5. b < a + c
9c6. c < a + b
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
The Triangle Problem
Final Version: ^/u‰OE}ÀÀOE]}v_‰oµššOE definition of outputs:9If an input value fails any of conditions c1, c2, or c3, the program
notes this with an output message ^soµ}(]v}š]všZOEvP }(‰OEu]ššÀoµX_ for example, If values of a, b, and c satisfy conditions c1, c2, and c3, one of four mutually exclusive outputs is given:9If all three sides are equal, the program output is Equilateral.
9If exactly one pair of sides is equal, the program output is Isosceles.
9If no pair of sides is equal, the program output is Scalene.
9If any of conditions c4, c5, and c6 is not met, the program output is Not
a Triangle.BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
The Triangle Problem
BMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
BMS Institute of Technology and MgmtDepartment of ISE BMS Institute of Technology and MgmtDepartment of ISE BMS Institute of Technology and MgmtDepartment of ISEBMS Institute of Technology and MgmtDepartment of ISEDepartment of ISEBMS Institute of Technology and Mgmt
The NextDate function
NextDate is a function of three variables:
9month
quotesdbs_dbs25.pdfusesText_31[PDF] Basics zum Start ins Referendariat, Die Stationsplanung Was schon
[PDF] Basida, le cœur de l`Espagne
[PDF] Basil Bernstein - International Bureau of Education
[PDF] Basile Buisson Education: Work experiences : Expositions/Contest
[PDF] Basile elombat, Vice Président de l`Association Internationale des
[PDF] Basilea - Delta Salotti - Support Technique
[PDF] basilic - Cartes De Crédit
[PDF] Basilic Genovese graine semence bio - Cartes De Crédit
[PDF] Basilic Ortho Pedia
[PDF] Basilic rouge - L`atelier des bons plants - Cartes De Crédit
[PDF] BASILIC VIVACE DU KENYA Basilic magic mountain - Cartes De Crédit
[PDF] Basilika Bläser Herrieden
[PDF] Basilika Ottobeuren Giebelfiguren St. Alexander und Theodor
[PDF] basilique du sacré-coeur de montmartre neuvaine de prière au - France