When do we Write Test Cases?
Test cases are written in different situations:
- Before development: Test cases could be written before the actual coding as that would help to identify the requirement of the product/software and carry out the test later when the product/software gets developed.
- After development: Test cases are also written directly after coming up with a product/software or after developing the feature but before the launching of a product/software as needed to test the working of that particular feature.
- During development: Test cases are sometimes written during the development time, parallelly. so whenever a part of the module/software gets developed it gets tested as well.
So, test cases are written in such cases, as test cases help in further development and make sure that we are meeting all the needed requirements.
How to write Test Cases – Software Testing
Software testing is known as a process for validating and verifying the working of a software/application. It makes sure that the software is working without any errors, bugs, or any other issues and gives the expected output to the user. The software testing process isn’t limited to finding faults in the present software but also finding measures to upgrade the software in various factors such as efficiency, usability, and accuracy. So, to test software the software testing provides a particular format called a Test Case.
This article focuses on discussing the following topics in the Test Case:
Table of Content
- What is a Test Case?
- Test Case vs Test Scenario
- When do we Write Test Cases?
- Why Write Test Cases?
- Test Case Template
- Best Practice for Writing Test Case
- Test Case Management Tools
- Types of Test Cases
- Example test cases for a login page