Boundary Value Analysis? Decision Table testing? Use Case Testing? LCSAJ Testing?
Published: 2023-09-07 18:04:26

Functional testing is the testing in which the basic functionality, operations and actions of the software are tested on the basis of requirements provided. It does the functional verification of the application.It targets the requirements of the customer
**Boundary Value Analysis(BVA):**
It is a type of functional testing. BVA leads to a selection of test cases that exercise boundary values. BVA is a test a test-case design technique that complements equivalence partitioning. Rather than selecting any element of the equivalence class, BVA leads to the selection of test cases at the "edges" of the class. Rather than focusing solely on input conditions, it derives test cases from the output domain as well.
Example: 
Forms data tested at the boundaries. A shipping calculation function requests the maximum number of days required for product delivery. A minimum of 2 days and a maximum of 14 are noted on the form. However, Boundary value tests might input values of 0,1,2,13,14 and 15 to determine how the function reacts to data at outside the boundary of valid input.
**Decision table testing:**
Decision table testing is used to represent the complex logical relationship. It's very effective in testing software and its requirements management. Output depends on more than one input condition and decision tables give a view of various combinations of input conditions. the conditions are in the form of True and False.
The decision table has 4 parts: Condition Stubs, Action Stubs, Condition Entries, and Action Entries
Two types of decision tables are Limited Entry and Extended Entry.
Example: there are three types of customers regular, silver and gold customers. a regular customer receives normal print rates, the silver customer receives 8 percent discount and the gold customer receives 15 percent reduction. all this is represented in a tabular form with the 6 rules.
**Use case Testing:
**A Use case is used to define the required user interaction. If creating a new application or changing the existing application use cases are widely used. It is a type of black-box testing. It is used to test cases that cover the entire system like transaction by a transaction from start to end. It uses the Actor and system or application. Use cases are mainly based on the user actions and the behavior of the applications or the software.
Example: login functionality of a Web Application. Here the actor enters the name and the password and the system checks for validation. If correct access is granted else retry 3 times then ban the IP.
LCSAJ testing:
LCSAJ stands for Linear Code Sequence and Jump, it is a white box testing. It determines the percentage of code executed with the test cases. It mainly deals with the coverage of the code executed. once the code coverage is done at a certain level we can stop the testing. LCSAJ testing has three components:

(i)Start of the segment

(ii)End of the segment

(iii)Target line

Example: Displays the sum of the entered numbers ensuring the sum stays below 100. and gets the input until 1 is entered. Each line of code has the number of times a line appears in LCSAJ testing.