DEV Community

sankaran m
sankaran m

Posted on

Description of Testing Techiques

1, BOUNDARY VALUE ANALYSIS

Description : Boundary value analysis(bva) is a testing techiques that fouses on testing values at the edges or boundaries of input domians, it's especially useful fro idetifiying errors or issuess that may occur near the bounderiess of acceptable input ranges.
ex : 4consider a software appliction that acctects user ages b/w 18 & 65 as valid, in this case:
boundary values for valid input :18 & 65
boundary values for invalid input :17(below boundary)&65(above the upper boundary)
Testing Approach : you would test the application using these boundary values to ensures it behaves correctly, For instance, verify that a user of 18 can register successfully while a user age 17 receives an error message get.

2, DECISION TABLE TESTING

Description : Decision Table Testing is a systematic techqiue used to test combination of input condition (decision condition) and their corresponding action. it's particularly useful when there are multiple input condtion that can result in different outcomes.
ex : consider a banking application where a user's eligibility for a loan depends on their credit score, income, and employment status, you can create a decision atble like this

credit score --- income --- employment status --- Eligibility

Good High Employed Eligible
Good High Unemployed Ineligible
Fair High Employed Ineligible

Test Approach :Test various combination of input values(e.g, Good credit score, High income, and emplyed)to verify that the applicationcorrectly determines loan eligible based on the decision table.

3, USE CASE TESTING

 Description : Use testing involves testing a software application based on it's defined use cases or user scenarios.each use case represents a specific intereaction b/w the user and the system
Enter fullscreen mode Exit fullscreen mode

ex : in an e-commerce system, a sue case could be "user adds an item to the shopping cart" thiis use case would includes steps lie selecting a product, specifing quantity, and clicking "add card"

Test Approach : to preform use case testing you would execute each use case with differant variant and input to ensure that the application behaves as expected in varsious scenariors

4, LCSAJ TESTING(LINEAR CODE SEQUENCE AND JUMP)

Description : LCSAJ Testing fouces on testing different execution paths in code by considering linear sequence of statements and jumps(e.g, condition statements , oops, and functon calls)code paths are tested
ex : suppose you have a fuction thats calculates statements to handle edge  case(e.g, when the input is 0 or -neg) and recrsive calls for + positive numbers.
Test Approach : in LCSAJ Testing you'd design test cases to cover all possible execution paths through the code. this wpuld incue testing with inputs like 0, positive integers, and negative integers to ensure that all code branches are exercised
Enter fullscreen mode Exit fullscreen mode

these testing techiques are valuable tools foe systematically validating the behavior and functionality of software applictions, helping to uncover defects and the software meets it's requirments.

Top comments (0)