DEV Community

Abarna
Abarna

Posted on

Testing Techniques

1.Boundary Value Analysis

It's based on the boundary values of valid and invalid partitions of the given input.
Example: Year input 1990 to 2000
Enter fullscreen mode Exit fullscreen mode

BVA test cases:
1.1889 and 1991
2.1999 and 2001 is the test case boundaries of this method.

2.Decision Table Testing

 It's based on the indicator as true and false values.
 Example: KFC give the 50% off your first order
Enter fullscreen mode Exit fullscreen mode

Test cases:
check this is first order
-True{get 50% off}
-False{pay full amount}

3.Use case Testing

 It's based on the scenario of the use cases.
 Example: Ticket booking system
Enter fullscreen mode Exit fullscreen mode

Test cases:
-Normal ticket booking
-Unavailability ticket booking
-Get the invalid amount in account for the ticket booking

4.LCSAJ Testing(Linear Code Sequence And Jump)

 It's based on the conditional statement and this is white box testing.
 Example: Student Exam Results
Enter fullscreen mode Exit fullscreen mode
mark = input()
if(mark>=35):
  print("PASS")
else:
  print("FAIL")
Enter fullscreen mode Exit fullscreen mode

Test cases:
1.mark = 55 (PASS)
2.mark = 20 (FAIL)
3.mark = 35 (PASS)

Top comments (0)