How to Write Test Case
What Is Test Case: A test case is a written artifact that details particular actions or events used to evaluate a software product against a set of criteria.
Test case's components:
- The ID of the Test Case.
- Features or functionalities that need testing.
- Test Scenario
- Test Data
- Details of the test environment
- Procedures for Execution
- Expected Result
- Actual Result
- Pass/Fail
- Comments/Attachments.
How to Write Test Case
- Identifying the Goal & Scope of the Test
- Test Activities Definition
- Establish a test framework
- Understanding Software Module
- Design Test Case
- Assign Test Priority
Tips for writing the Test Case: Dos and Don'ts
- Do's
- It must be clear, concise, and easy to understand.
- The user's perspective must be taken into account.
- A user of the traceability matrix.
- Give each test case an ID to manage and track the requirements and bugs.
- Try to create test cases that are independent, reusable, and repeatable.
- Dont's
- Do not include redundant or pointless test execution steps.
- Never consider or assume any needs without contacting the SRS or BRS.
- Avoid writing redundant test cases.
- Don't forget to have the Developer Team review the Test Cases.
🔀 𝐂𝐨𝐧𝐧𝐞𝐜𝐭 𝐖𝐢𝐭𝐡 𝐌𝐞
𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: Mejbaur Bahar Fagun | Facebook
𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤 𝐏𝐚𝐠𝐞: Mejbaur Bahar | Benapole | Facebook
𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦: Mejbaur Bahar Fagun (@fagun018) • Instagram photos and videos
𝐌𝐞𝐝𝐢𝐮𝐦: Mejbaur Bahar Fagun – Medium
Twitter: Mejbaur Bahar Fagun (@fagun018) / Twitter
𝐆𝐢𝐭𝐡𝐮𝐛: https://github.com/fagunti
𝐘𝐨𝐮𝐓𝐮𝐛𝐞: (9) Mejbaur Bahar Fagun - YouTube
Hashnode: Mejbaur Bahar Fagun
Stack Overflow: User Mejbaur Bahar Fagun - Stack Overflow
#testcase #bugreport #howtowritetestcase #writetestcase #mejbaurbaharfagun