You are on page 1of 13

TESTING TECHNIQUES

Recap
2

What is Testing?
What is Verification?

What is Validation?
What is the need of Testing?

Define Quality?

Recap
3

When Testing comes into picture in SDLC ?


What is SDLC?

What is STLC?

Testing Objectives
4

Testing is a process of executing a program


with the intend of finding an error

A good Test case is one that has a high


probability of finding an as-yet-undiscovered error

A successful test is one that uncovers an asyet-undiscovered error

Testing Principles
5

All Tests should be traceable to customer


requirements

Tests should be planned long before testing


begins

The pareto principle applies to software


testing

Testing Principles
6

Testing should begin in the small and


progress towards testing in the large

Exhaustive testing is not possible To be most effective ,testing should be


conducted by an independent third party

Testability It gives simply the platform for testing a


software program easily

Characteristics of Testable software


Operability The better it works, the more efficiently
it can be tested

Observability What you see is what you test

Understandability The more information we have,


the smarter we will test
7

Controllability The better we can control the


software, more the testing can be automated and optimized efficiently

Decomposability By controlling the scope of


testing, we can more quickly isolate problems and perform smarter testing

Simplicity The less there is to test, the more quickly


we can test it

Stability The fewer the changes, the fewer the


disruptions to testing
8

Testing techniques
White box Testing

Black box Testing

White box Testing Techniques Basis path Testing Control Structure Testing

Basis path Testing


A testing mechanism proposed by McCabe Aim is to derive a logical complexity measure of a procedural design and use this as a guide for defining a basic set of execution paths.

Flow Graph Notation Cyclomatic Complexity Deriving Testcases


10

Control structure Testing


Condition Testing
Data flow Testing Loop Testing

11

Black Box Testing


Focus on functional requirements
Compliments White box Testing

Black Box testing Techniques

Equivalence class partitioning(ECP)

Boundary value analysis(BVA)


12

Thank you

13

You might also like