DEV Community

Kruthika
Kruthika

Posted on

Few Testing Techniques

1) Boundary Value Analysis
Its black box testing (testing without internal knowledge)
Analysing using Min and Max values, boundary values, typical values, error values.
Eg: Boundary value of 1 to 10 is 0,1,2 and 9,10,11 and if value is not within the range ( 1 to 10 ) then the system should throw error.

2) Decision Table Testing
Its black box testing, which respond to different combination of inputs or events and used for complex decision making
Eg: Amazon website purchase

  • For prime members the discounts are different ( for Rs 3000 above purchases - the discount would be 15% and for Rs 3000 below purchases - the discount would be 10% )

  • For Non Prime members the discounts are different ( for Rs 3000 above purchase - the discount would be 5% and below that would have no discount )

so these are different combination of inputs or events and decision table testing will help to check such combination of scenarios

3) Use Case Testing
Its black box testing, it validates the system behaviour for different use cases (or) scenario
Eg: ATM Machine

  • if pin is correct, the system will allow to withdraw the money directly.

  • if pin is incorrect, the system will not allow to withdraw the money and calculates your no. of attempts and suspends your card once it reaches the maximum attempts

4) Linear code sequence and Jump Testing
Its White box testing and will Ensure that all parts of the coding are working fine within the code
Both linear sequential as well as jumping sequential
Eg: Take age as input and check if the person is eligible to vote

  • if age is <18 - the person is not eligible for voting

  • if age is >18 - the person is eligible for voting

Top comments (0)