Positive Testing
Overview
In this tutorial, we will learn about positive testing and some examples. Positive testing is also known as Happy Path testing.
Positive Testing
Positive Testing is a software testing process validating the system against valid input data. It is a software testing strategy that involves testing the application under known, valid conditions and inputs, where the system is expected to demonstrate a successful behavior.
In this testing, the tester executes positive test scenarios with valid values and verifies whether the application behaves as expected.
Positive Test Case
A positive test case is a type of test case that checks if the system works as expected under normal conditions. These test cases test whether an application behaves as expected with valid inputs. It verifies that the system does what it is supposed to do.
Examples
Some examples of positive test cases are as follows:
Website Login Page
Consider a sample website login webpage. A positive test case is to enter a correct username and correct password. The system should allow the user to log in to the website.
E-Commerce Website
Consider an E-Commerce Website where merchants sell products online. Users are allowed to buy the products using credit cards. The process of users adding the products to the shopping cart and buying the products is called the Checkout process.
A positive test case is to add items to the cart and provide a valid credit card, billing address, and shipping address. The system should successfully process the payment and complete the order.
Positive testing covers the positive test scenarios. It ensures that all the known and expected capabilities of the application are functioning as expected. Positive testing is commonly executed before negative testing.
—
Software Testing Tutorials: