Testing your average software solution is a tiresome and elaborate task. Moreover, if you need a decent piece of code, there’s no way out of testing. Yet you can make your life a little bit easier by creating a proper QA documentation. The documentation saves a ton of time by streamlining your testing processes. It’s also your go-to asset in case something goes off the rails with the project.
This article is the second part of Your Ultimate Guide to Writing Test Documents. In the first part, we went through 6 topics:
- The Reasons for Creating a Test Case
- How to Create the Test Case
- The Lifecycle of the Test Case
- Test Suits
- Typical Errors When Creating a Test Document
If you’d like a review of any of those topics, please check out that article.
Now, let’s continue our deep dive into writing a QA documentation. In this article, we are going to discuss five more topics:
- Defect Reports
- The Lifecycle of a Defect Report
- Typical Errors When Creating a Defect Report
- Test Plans
- Test Progress Report
1. Defect Reports
A defect report is a roadmap for getting a bug-free software. In short, the report describes any unwanted issue with your solution. It sounds simple until you start documenting. Below you can see an example of a typical defect report.
Let’s go through every section of the defect report:
- The identifier is your unique value for recognizing a specific defect report in a sea of others.
- The summary is your laconic answer to three simple questions “What happened?”, “Where?” and “Under what circumstances?”
- The description is where you show the bug in all the details. You should describe the actual and the expected results. Moreover, it’s a good idea to provide a link to your software requirements.
- Then, you write about the steps to reproduce (STR). Don’t miss a step or your report may end up in a trash folder. ?️
- In the reproducibility, you show if the bug appears every time you follow the STR.
- The severity shows how harmful the bug is to the project. Don’t exaggerate because if the developer notices, your report might end up the last in the queue.
- The priority shows the urgency, and it’s a logical addition to the severity section.
- The symptom is a short label to stack your defect report with the other similar reports.
- Also, you should be a good tester and describe workarounds if you know about any.
- The comments can include all the useful information for your developer.
- Finally, the attachments include the list of files added to the defect report.
At the end of the day, you will come up with a report like one below. This report is from Jira, one of the many wonderful project management tools.
2. The Lifecycle of a Defect Report
Submitting is only the first step before fixing the bug once and for all. There’s a whole lifecycle.
You start by submitting your defect report. Next, your project team has an option of either assigning it to a developer or declining the report. If your defect report is not a total mess, your team will accept it.
Then, the assigned developer can either start fixing the bug or try to decline your report again. Usually, it’s your tech lead who decides if there are enough reasons for declining. Moreover, the tech lead has the power to defer any defect report under the pretense it’s not relevant.
Congrats! You’ve convinced the developer to fix the bug. What next? You have to double-check the bug fix and verify if all is good. If not, you have to start all over again and reopen the defect report. This bug-fixing battle can be a long one. You can, finally, close the defect report only after about a week or two after a proper bug fix.
This defect report lifecycle is definitely not set in stone, and it should reflect the needs of your project. Be smart!
3. Typical Errors When Creating a Defect Report
There are dozens of mistakes testers make in a defect report. Yet, only a couple of them are typical and persisting. Let’s go through the typical errors when creating a defect report:
1. A short and inadequate summary.
2. The summary and the description are pretty much the same.
3. The description has no expected result, no actual result, and no link to requirements. Nothing at all.
4. A print screen has no issue highlighted. This way, the developers might as well play ‘Find Waldo’ with the issue.
5. Describing imaginary defects.
6. Putting away your work for tomorrow, and the day after tomorrow, and …. you get the idea.
7. Making grammar mistakes. This is the easiest way to get taken down by the grammar police.
8. Describing features as bugs because you know it’s the best way to get fired.
9. Not knowing the technical requirements of the tested solution. This type of a tester is no better than this little dog-o below.
10. Missing out important information in your Steps to Reproduce. ?
4. Test Plans
Now you know all about defect reports and, hopefully, about test cases and test suits too. It’s time to give you the big picture of a QA documentation. It’s time to make a test plan.
Your test plan should be your guiding document. It should include your to-do-list, strategy, resources, schedule and much more.
Your average test plan should answer thirteen questions:
1. What is the purpose of the software solution? Is there any?
2. What features should you test? Don’t go on a testing frenzy and test everything.
3. How does the testing process look like? What are the methodologies, approaches, technologies, tools and so on?
4. What are the acceptance criteria of your customer or your target audience?
5. When should you start and finish testing?
6. What are the criteria for stopping and continuing tests? Do you stop testing when you’re out of cookies? ?
7. What development resources do you need? What OS, how many copies and with what license? Yes, you have to worry about all of this.
8. What hardware and what experts do you need? Look for the best in class.
9. How much time and money does your project have for testing? Is it worthwhile?
10. Is there a test schedule? Perhaps, you should consider cramming all your testing into one day before deployment.
11. Are your roles and responsibilities well designated? Who’ll do the job, if your lead tester disappears?
12. Are there any testing risks? Is it risk-free not to test at all? ?
13. What are the metrics and QA documentation your using? Maybe, go Rambo and document nothing.
Finally, to bring all the questions into a perspective here’s your free test plan template.
5. Test Progress Report
This is the final part of your QA documentation. I promise to keep it short. ?
The test progress report is like a test plan but with the current progress data added for comparison. In short, the report is a great way to keep your hand on the pulse of a project. So, you must mention eight things in your test summary report, and you’re off to a success.
So, that sums it up! Thanks for making it to the end, and I hope you find the second part of the article useful. Here’s your reward: the test progress report template. Use it wisely!
My company KeenEthics has solid experience with software support and stress testing. In case you need the following services, Contact Us.
How to Choose Your Optimal Development Methodology
We have consulted KeenEthics project managers as for which methodologies they use while working on different projects. Together with them, we compiled this ultimate project management guide... keenethics.com
Written by Romanyuk Oleg, Marketing Manager @ KeenEthics.
Originally published at devcom.com on November 5, 2018.