DEV Community

krishnaveni
krishnaveni

Posted on • Edited on

Testing Techniques Of Software

There are some particular test techniques to write testcases.
BOUNDARY VALUE ANALYSIS,DECISION TABLE TESTING,USE CASE TESTING.

<<>>

  1. BOUNDARY VALUE ANALYSIS:
    In this BVA We test boundaries between equivalence partitions
    and write one testcase for each boundary value. spotting the issue in input field defects. Expanded test coverage to include input field value verification. Improved application quality by identifying input data problems. Increased compliance with some regulatory and standards requirements.
    Example: If you are designing a program to handle number values between 1 and 100, then the boundary values should be 1 and 100. To complete the BVA test analysis successfully, you need to test with the boundary values of Testcase 1- 0,Testcase2-1,Testcase3- 2, Testcase4-99,Testcase5-100,Testcase6-101 and Testcase$-max.

  2. DECISION TABLE TESTING:
    Decision table testing in which we use all the possible combination to be tested wherein each rule has one Testcase.
    A decision table helps to check all possible combinations of conditions for testing and we can also identify missed conditions easily. The conditions are indicated as True and
    False values.
    EXAMPLE:LOGIN SYSTEM
    TRUE- Correct username and password.
    Login successful.
    FALSE– If Wrong username or password.
    Error– Error message is displayed as incorrect username or password.
    H – Home screen is displayed.

  3. USECASE TESTING:
    All communication dialogue is between the actor and system, main success scenario is put first on table which check the flow fine. There can be multiple extension to a state. We write one testcase for extension and one for the happy scenario which works fine without any error. The purpose of use case is to understand the end-user interaction with the system Use case creation can be helpful in the requirement gathering, and design phase.
    EXAMPLE:ATM machine.

  4. LCSAJ TESTING: (linear code sequence and jump)
    Linear code sequence LCS is a series of instruction given in a line sequence and it is a part of code.
    It is executed in straight or sequence order without any branches or jumps. The goal is to ensure that it behaves as expected.
    JUMP:
    It refer to the control flow operation. The normal sequential execution of code is altered based on condition.
    Were LCSAJ testing involve testing the linear code sequence and ensuring that all the possible jumps and decisions are executed during testing including both true or false outcome condition statements.
    EXAMPLE:
    Read input A
    Read input B
    if A > B
    C = A+ B
    else
    C=A-7
    D=C*2
    Print D.

Top comments (0)