[go: up one dir, main page]

DEV Community

KavithaGovindaraj
KavithaGovindaraj

Posted on

Testing techniques

1)Boundary value analysis:
1)Boundary Value Analysis is based on testing the boundary values of valid and invalid partitions. The behavior at the edge of the equivalence partition is more likely to be incorrect than the behavior within the partition, so boundaries are an area where testing is likely to yield defects.

       2)It checks for the input values near the boundary that have a higher chance of error. Every partition has its maximum and minimum values and these maximum and minimum values are the boundary values of a partition. Boundary value analysis (BVA)is one of the functional testing.
      3)A boundary value for a valid partition is a valid boundary 
        value.
      4)A boundary value for an invalid partition is an invalid 
        boundary value.
Enter fullscreen mode Exit fullscreen mode

For each variable we check-
Minimum value.
Just above the minimum.
Nominal Value.
Just below Max value.
Max value.
Example: Consider a system that accepts ages from 4 to 8

Boundary Value Analysis(Age accepts 4 to 8)

Invalid valid Invalid

(min-1) (min, min + 1, nominal, max – 1, max) (max + 1)

(3) (4,5,4,7,8) (9)

Valid Test cases: Valid test cases for the above can be any value entered greater than 3 and less than 9.

Enter the value- 4.
Enter the value- 5.
Enter the value- 4.
Enter the value- 7.
Enter the value- 8.

2)Decision Table:
A decision table is also know as to cause-Effect table. This software testing technique is used for functions which respond to a combination of inputs or events.

Condition TC1 TC2 TC3 TC4 TC5 TC6
User name true true false false - -
Password true false true true - -
Homepage true - - - -
invalid credentials - true true true true -

          User name

          password
Enter fullscreen mode Exit fullscreen mode

3)Use case testing:
1)Use Case Testing is generally a part of black box testing and that helps developers and testers to identify test scenarios that exercise the whole system on each transaction basis from start to finish. Business experts and developers must have a mutual understanding of the requirement, as it’s very difficult to attain.

     2)Use case testing is a functional testing technique that helps in identifying and testing scenarios on the whole system or doing start-to-end transactions. 
     3)It helps to identify the gaps in software that might not be identified by testing individual components.
     4)It is used to develop test cases at the system level or acceptance level.
Enter fullscreen mode Exit fullscreen mode

4) LCSAJ Testing:
LCSAJ stands for "Linear code sequence and Jump" testing. It is a white-box testing technique used to assess the coverage of source code with in a software program.
LCSAJ testing focusses on verifying that all linear code sequences and Jumps within the code are exercised by testcases.
This technique is commonly used in the context of
structural testing or code coverage analysis.

Top comments (0)