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
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
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
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
mark = input()
if(mark>=35):
print("PASS")
else:
print("FAIL")
Test cases:
1.mark = 55 (PASS)
2.mark = 20 (FAIL)
3.mark = 35 (PASS)
Top comments (0)