Boundry Value Analysis,Decision Table Testing, Use case Testing, LCSAJ Testing
Tags: beginners, testing
Published: 2023-09-23 06:27:17

## Boundary Value Analysis

 Boundary value analysis (BVA) is a software testing technique in which tests are designed to include representatives of boundary values in a range. It is based on the assumption that errors are more likely to occur at the boundaries of a range than within the range itself.

To perform in this Boundary value analysis, testers first identify the boundary values of each input variable. This can be done by the requirements documentation, the system's design specifications, requirements and the source code. Once the boundary values have been identified, testers create test cases that use those values as input.

 **Example**

1. Testing a web application that accepts user input to ensure that it can handle valid and invalid input values.
2.Testing a mobile application like MAP that uses GPS to ensure that it can handle valid and invalid GPS coordinates.

## Decision table testing

 This is a software testing technique that uses decision tables to test how a system responds to various input combinations. A decision table is a tabular representation of the logical relationships between a system's inputs, conditions, and actions.

To create a decision table, testers first identify all of the possible input combinations for the system. They then create a table with one column for each input and one column for each condition. The conditions are typically true/false statements, but they can also be more complex expressions.

Once the decision table is complete, the tester can then use it to generate test cases. Each test case will represent one of the possible combinations of inputs and conditions in the decision table

Decision table testing is a very effective way to test complex systems with many different input combinations.

**Examples**

1.Enter an empty username and password. Expected result: The system should display an error mess
2.Enter a valid username and an empty password. Expected result: The system should display an error message.

## Use Case Testing

This is a functional black box testing technique that helps testers to identify test scenarios that exercise the whole system on each transaction basis from start to finish. It ensures that the user can accomplish the task successfully

This is a very effective way to test the system's functionality and to ensure that it meets the needs of its users. It can also be used to identify gaps in the system's requirements and to ensure that the system is robust enough to handle all possible user inputs.

**Example**

Testing in E-Commerce website and placing an order

1.User Browse the website and some items in the cart
2.After that proceeds to checkout the product
3.User enter the shipping details and billing information
4.User review the order and verify the product and address details then put place the order

## LCSAJ Testing

LCSAJ stands for Linear Code Sequence and Jump. LCSAJ testing is a white-box testing methodology used to determine the code coverage.

This is how works as  what percentage of the code is executed with the existing test cases. It helps in designing new test cases, which can increase the coverage of the code under test. Once the code coverage reaches a certain level, we can stop the testing. Hence, LCSAJ methodology also helps in determining when to stop the testing of a software