Test coverage is having the right no. of test cases against the requirements/ features being tested. The right test coverage is crucial for any project to ensure the software is delivered as expected. Test coverage is derived in the below-mentioned ways:
User Stories to Test Cases:
All the test cases should be uploaded to qTest with all mandatory fields updated. All the regression test cases should be under separate folders, and the QE team should pull them to the sprint or Test cycle as required. Each test case should have the status updated with respect to automation (Automation ready/ Automated/ not automated) for future metrics preparation. End to End traceability has to be established from test cases to requirements or test cases to feature acceptance criteria. Traceability coverage has to be established against the epics in Jira/qTest.
Adequate business review of test scenarios and test cases
Traceability between test scenario/ test cases to acceptance criteria and feature goals
Periodic review of defect density by module and revisiting test coverage
Periodic review of prod incidents and defects and improve test coverage
The following are guidelines for writing proper test cases.
All steps/ actions must be written in the imperative tense.
If the user has to provide input to the application, mention specific test data. Test data is to be updated in the respective column in the qTest tool.
Mention Pre-condition in the test case, wherever necessary.
Test Case description must be provided for every test case.
Test case description must begin with “To Check…” or “To Validate…” or “To Verify…”
The expected Result must contain words like “should” rather than “is/may/shall/might”
There must be no ambiguity in the step that is to be executed.
Example – Login to Application as User/ Administrator – Incorrect
Login to Application as User – Correct
Login to Application as Administrator – Correct
Each Test case is to be identified with a Test case identifier (This will be assigned automatically as soon as test cases are uploaded in qTest)
Test Case naming convention must be followed in the following format.
Example – Test Scenario – Module Name_Scenario
Test Case – Module Name_Test Case ID
Do not include any redundant verification points in the test case.
Do not use any acronyms or symbols.
Reference to any object name, such as a window or a label, must be written within double quotes, and the Object name must be written in the Title case.
For example – Navigate to the “Login” page.
Enter ‘A001’ in the “Login ID” field.
Reference to any input data being provided must be given in single quotes.
The negative test case step must be written first, followed by the positive test step.
The ideal number of steps in a test case is 15 to 20
Test design techniques help ensure comprehensive test coverage and effective identification of defects in software applications. The following test design techniques, including black-box and white-box techniques, can be employed to design compelling test cases for applications.