What is TestCase?
Introduction
A test case is a testing artifact that is executed on the system under test. Testcase documents are test deliverables that are handed off to different stakeholders in STLC phases.
Test Case
A Test Case is a document that consists of a set of test preconditions, test input, steps and procedures, and test Expected results and postconditions. A software tester uses the test cases document to determine whether a system under test satisfies the requirements or not.
If the system doesn’t work as expected the tester notifies the stakeholders by logging a defect into the defect tracker. The tester marks the test case as a failure. If the system under test works as expected the tester marks the test case execution result as a pass.
Test Suites
Group of test cases is called as a Test Suite. We can group related test cases as one test suite.
Test Case Design Techniques are grouped into two categories: Black box techniques, White box techniques
White box : Branch Testing, Condition Testing etc.
Black box : Equivalence partitioning, Boundary Value Analysis, etc.
Example Test Cases
Login Page Test Cases:
https://www.testingdocs.com/test-cases-for-a-login-page/
ATM Test Cases:
https://www.testingdocs.com/atm-test-cases-automated-teller-machine/