DEV Community

Bala Venkatesh
Bala Venkatesh

Posted on

Testing techniques_Task2(PAT)

1)Boundary value analysis
As name suggests this technique is based on testing boundary values of test data, which includes minimum value,minimum value+1,maximum value,maximum value -1 as valid inputs and minimum value-1,Maximum Value +1 as invalid inputs.

BVA falls under black box testing.

Example:
Eligibility age for attending particular exam is from 18 - 30, boundary values will be as follows.
Valid Values:
Minimum value - 18
Maximum value - 30
Minimum+1 - 19
Maximum-1 - 29

Invalid Values:
Minimum value-1 - 17
Maximum value+1 - 31

BVA

Main logic behind this technique is, if it works for boundary values it will definitely work for values between boundaries as well.

BVA is mainly applicable in places where function uses input values in any form.

2)Decision Table Testing:

It provides tabular view of input and also expected outcome of that.

Mainly to check how required function performs for different combination of inputs.

Example:

For appearing to particular security exam, there are certain conditions needs to satisified.

DT

above provided decision table clear depicts what all inputs are considered to be eligible for exam or not which also provided required combination in clear way and also ensuring test coverage.

3)Use case testing

Use case testing is based on user's perspective rather than system perspective, which ensures required user actions can be performed successfully and application is working as expected.

Example
Online payment
Action:User selects Online banking option as payment
System:Interacts with payment gateway and connects
Action:User completes payment
System:Responds with successful order details

4)Linear code sequence and jump
It is white box testing technique as testing is done on code level, where testing starts from one branch of code and jumps to next branch of code and by this all modules are tested and covered one by one .

Example

If developer completed login page module for application, he will test each branch or component involved in login like signup functionality code, login functionality code, forget password code.

Top comments (0)