Unit-1 ST
Unit-1 ST
UNIT-1
• Automation Testing
Tester writes scripts on their own and
uses suitable Software or Automation Tool to
test the software.
Eg: Selenium(open source),SoapUI(webservice
testing tool) etc…
Software Testing 1.0 :
• Single phase to be performed after coding of the software in SDLC.
• No test organization was there.
• Few testing tools are present but limited due to the testing cost is high.
Myers
W.Dijkstra
E.Miller
Craig
Model for Software Testing
Effective Vs Exhaustive Software
Testing
Testing Domain
Sample Flow graph 1
Software Testing Terminology
Testing Techniques :
• Testware : Document created during testing activites.
• Incident : Symptoms associated with failure that alerts the user
• Test Oracle : Means to test the success or failure of the test.
Life Cycle of a Bug
State of a Bug
• Why do Bug occur…?
• Critical bugs -Have worst effects ,Stops or hangs
normal functioning of software
• Major bugs -Bug does not stop the function but
causes the functionality to fail to meet its requirement
• Medium bugs - Bugs are less critical in nature as
compared to critical and major bugs.
• Minor Bugs – Bugs do not affect the functionality of
the software.
• Requirement and Specification Bugs
• Design bugs
Control flow Bugs Eg-Missing of flows
Logic Bugs Eg-Logical Mistakes
Processing Bugs Eg-Arithmetic Error, Incorrect Conversion
Dataflow Bugs Eg)Uninitialized data, Wrong format
Error Handling Bugs Eg)Exception Handling
Race Condition Bugs
Boundary Related Bugs Eg)Program goes beyond Min and Max
Boundaries
User Interface Bugs Eg)User not feel good in using software
• Coding bugs
• Interface Integration bugs
• System bugs Eg)Performance,Usability
• Testing bugs Eg)Failure to use promising test cases,summary
report
Testing Principles
Test planning
Test Design
Test Execution
• Test Factors :
•Test Phase :
Test Strategy Matrix
• This matrix becomes an input to develop the
testing strategy.Steps to prepare this matrix
are:
Testing Lifecycle Models
Validation Activities
Unit Testing
Integration Testing
System Testing
Testing Tactics
Static Testing :
Static Testing is a type of a Software Testing method which
is performed to check the defects in software without actually executing the
code of the software application.
Dynamic Testing :
Dynamic testing is a software testing method that verifies
the behavior of software code with dynamic variables.
Black-box Testing :
Black-box testing is a type of software testing in which the tester is
not concerned with the internal knowledge or implementation details of the
software but rather focuses on validating the functionality based on the
provided specifications or requirements.
White-Box Testing:
White box testing techniques analyze the internal
structures the used data structures, internal design, code structure, and the
working of the software rather than just the functionality as in black box
testing. It is also called glass box testing or clear box testing or structural
testing. White Box Testing is also known as transparent testing or open box
testing.
Considerations in developing testing Methodologies