软件测试质量过程检测文档

A software product is like an airplane: it must undergo a technical check before launch.

软件产品就像飞机:必须在发射前经过技术检查。

Quality Assurance is a necessary step towards launching a successful software product. It is just a small part of all the project work, but nobody said it would be simple.

质量保证是启动成功软件产品的必要步骤。 这只是所有项目工作的一小部分,但没有人说这会很简单。

There are so many types of software testing – automated and manual, exploratory and functional, compatibility, UI/UX,  regression, unit, API, and performance testing. Good luck wrapping your head around all of them!

软件测试的类型很多,包括自动化和手动,探索性和功能性,兼容性,UI / UX,回归,单元,API和性能测试。 祝你好运,把头围住!

What is common for all these types, however, is that each requires you to write thorough QA testing documentation. The quality of test documents defines whether your work will prove useful or go in vain.

但是,所有这些类型的共同点是,每种类型都需要您编写详尽的QA测试文档。 测试文件的质量决定了您的工作将证明有用还是徒劳。

I've written this article to make your life a bit easier. So here it is, your ultimate guide on how to write software QA documentation that will work.

我写这篇文章是为了让您的生活更轻松。 因此,这是您如何编写有效的软件质量检查文档的最终指南。

制定测试计划和测试进度报告 (Make a Test Plan and a Test Progress Report)

The test plan is a guiding document which outlines the bigger picture of the QA process, and includes a to-do list, strategy, resources, and schedule.

测试计划是一个指导性文件,概述了质量检查过程的总体情况,并包括待办事项列表,策略,资源和时间表。

Before creating a QA plan document, ask yourself “What is the purpose of the software solution?” and “What features need to be tested?”. Do not rush into testing every single part of your software. You need to decide what methodologies, technologies, and tools you will use.

在创建质量检查计划文档之前,请问自己“软件解决方案的目的是什么?” 和“需要测试哪些功能?”。 不要急于测试软件的每个部分。 您需要确定将使用的方法,技术和工具。

The test plan will help you understand the following:

测试计划将帮助您了解以下内容:

  • What are the acceptance criteria?接受标准是什么?
  • What resources do you need? What operating systems, how many copies, and  with what license? Do you need any technical consultants?您需要什么资源? 什么操作系统,多少副本以及具有什么许可证? 您需要任何技术顾问吗?
  • Are your roles and responsibilities well-designated?您的角色和职责是否经过适当设计?
  • What are testing timeframes?什么是测试时间表?

The test progress report is another part of the QA documentation, which is similar to the test plan but with added data on the current progress. This document lets you and your development team monitor project progress and identify organizational issues, if any.

测试进度报告是质量检查文档的另一部分,与测试计划相似,但是增加了有关当前进度的数据。 本文档使您和您的开发团队可以监视项目进度并确定组织问题(如果有)。

创建测试用例 (Create Test Cases)

Once you've clarified the set of functions that need to be tested in your test plan, you need to create a test case for each part of your software.

在明确了测试计划中需要测试的功能集之后,您需要为软件的每个部分创建一个测试案例。

Test cases are pretty simple – this QA documentation consists of 7 sections: ID, Test Case, Testing Steps, Expected Result, Status, Actual Result, and Comments.

测试用例非常简单–此质量检查文档包含7个部分:ID,测试用例,测试步骤,预期结果,状态,实际结果和注释。

  1. ID is a unique number assigned to your test case.

    ID是分配给您的测试用例的唯一编号。

  2. In the Test Case section, you point out the requirement(s) you will be testing and provide a link to it in the specifications document.

    在“ 测试用例”部分中,指出要测试的需求,并在规格文档中提供指向该需求的链接。

  3. In the Testing Steps section, you list all the actions needed to complete a test case.

    在“ 测试步骤”部分中,列出了完成测试用例所需的所有操作。

  4. In the Expected Result section, you summarize the outcome of a particular test if it is successful.

    在“ 预期结果”部分中,您总结特定测试的结果(如果成功)。

  5. In the Status section, you indicate if a particular step passed or failed testing.

    状态部分中,您可以指示特定步骤是否通过测试或失败。

  6. In the Actual Result section, you explain the outcome of a failed test.

    在“ 实际结果”部分中,您将解释测试失败的结果。

  7. The Comments section is not obligatory, but you can add it to leave some additional notes.

    注释”部分不是强制性的,但您可以添加它以留下一些其他注释。

编写缺陷报告 (Write a Defect Report)

The defect report is an important element of QA documentation. It registers any unwanted issue with your program. It is a crucial element of the project documentation, which navigates you towards getting a bug-free software solution.

缺陷报告是质量检查文档的重要组成部分。 它会在程序中注册任何不需要的问题。 它是项目文档中的关键元素,可引导您获得无错误的软件解决方案。

Sounds simple, right? Yes, but only until you start documenting. Here, you can see an example of a typical defect report:

听起来很简单,对吧? 是的,但仅在开始记录之前。 在这里,您可以看到典型缺陷报告的示例:

The defect report consists of the following sections: identifier, summary, description, steps to reproduce, reproducibility, severity, priority, environment, and attachments.

缺陷报告包括以下部分:标识符,摘要,描述,重现步骤,可再现性,严重性,优先级,环境和附件。

  1. Each particular software issue is assigned a unique number – the identifier. It optimizes navigation through QA documents and facilitates communication between developers, testers, and PMs.

    每个特定的软件发行都分配有一个唯一的编号- 标识符 。 它优化了质量检查文档的导航,并促进了开发人员,测试人员和PM之间的通信。

  2. In the summary section, you provide a concise answer to three simple questions: what happened, where, and under what circumstances.

    摘要部分中,您将提供对三个简单问题的简要答案:发生了什么,在哪里发生以及在什么情况下发生。

  3. In the description section, you describe the bug in detail. You should tell about the actual results and the expected ones. It's useful to provide a link to your software requirements.

    描述部分中您将详细描述该错误。 您应该告知实际结果和预期结果。 提供指向您的软件要求的链接很有用。

  4. Then, you write about the steps to reproduce (STR). This shows developers exactly how to reproduce the issue. Don't miss a step or your report may return to you.

    然后,编写重现步骤(STR) 。 这向开发人员确切说明了如何重现该问题。 不要错过任何一步,否则您的报告可能会退还给您。

  5. In the reproducibility section, you clarify if the bug appears every time you follow the STR. You should use numbers to show approximate chances, for example 7 times out of 10.

    在“可再现性”部分,您确定每次遵循STR时是否都出现错误。 您应该使用数字来显示大概的机会,例如10中的7次。

  6. In the severity section, you explain how much harm the bug may bring to the project. In other words, it shows the technological degree of influence of the defect on the entire system. Even a small issue may badly affect the entire application.

    在“ 严重性”部分中,您将解释该错误可能对项目造成的危害。 换句话说,它显示了缺陷对整个系统的技术影响程度。 即使是很小的问题也可能严重影响整个应用程序。

  7. Priority shows how important a particular defect report is. Priority can be denoted with the help of  letters – “A” for the most urgent and “Z” for the least urgent, numbers – “1” for the most urgent and “9” for the least urgent, or simply words  like “high”, “medium”, or “low”.

    优先级显示特定缺陷报告的重要性。 优先级可以通过字母来表示–“ A”表示最紧急,“ Z”表示最紧急,“ 1”表示最紧急,“ 9”表示最紧急,或者简单地表示为“高” ”,“中”或“低”。

  8. In the environment section, you should define which operating systems or browser versions were affected.

    环境部分,您应该定义受影响的操作系统或浏览器版本。

  9. Finally, the attachments include the list of videos, screenshots, or console logs files added to the defect report.

    最后, 附件包括添加到缺陷报告中的视频,屏幕截图或控制台日志文件的列表。

保留这些有用的技巧,以确保缺陷报告的编写 (Keep These Useful Tips for Defect Report Writing in Mind)

  1. Write a sufficient and adequate summary. It does not matter if it is long or short. What matters is that it should be clear.编写足够的摘要。 多头或空头都没有关系。 重要的是应该清楚。
  2. Have a look at the summary and the description. Do they look pretty much the  same? You must have forgotten to outline expected and actual results in the description and to add the link to requirements.查看摘要和说明。 他们看起来差不多吗? 您必须忘记在描述中概述预期结果和实际结果,并将链接添加到需求中。
  3. Capture the issue with the help of a screenshot. It may save you and the development team a lot of time. Sometimes, one glance at the picture is just enough to understand the situation.借助屏幕快照捕获问题。 它可以为您和开发团队节省大量时间。 有时,只看图片就足以了解情况。
  4. Before reporting the issue, try to reproduce it at least 3 times to be sure that it exists.在报告问题之前,请尝试至少重现3次以确保存在。
  5. Report the issue ASAP and notify your project manager or product owner if the issue is major.如果问题严重,请尽快报告此问题,并通知您的项目经理或产品所有者。
  6. Check for grammar mistakes in your QA documentation so you're not taken down by the grammar police.检查您的质量检查文档中的语法错误,这样您就不会被语法警察逮捕。
  7. However comical it sounds, make sure that the issue is not a feature – review the documentation again!无论听起来多么可笑,请确保该问题不是功能-再次查看文档!
  8. Do not miss any important information in your Steps to Reproduce.在复制步骤中不要错过任何重要信息。

提交缺陷报告 (Submit a Defect Report)

Defect reports go through a lifecycle – from the moment you report an issue to the moment the issue is closed.

缺陷报告贯穿整个生命周期-从报告问题到关闭问题。

The first step is to compile and submit the defect report. At this point, the Project Manager or a tech lead decides whether to assign it to a developer or to decline it on the grounds of insufficiency or inadequacy.

第一步是编译并提交缺陷报告。 此时,项目经理或技术负责人将决定是否分配给开发人员,还是以供不应求或不充分为由予以拒绝

After the assigned developer has fixed the bug, you as a QA have to double-check and verify it has been fixed. If yes, you can close the defect report. The best practice is to close it in a week or two.

在指定的开发人员修复了该错误之后,您作为质量检查人员必须仔细检查并确认它已修复。 如果是,则可以关闭缺陷报告。 最佳做法是在一两个星期内将其关闭。

If the bug is not fixed, you reopen the defect report and send it back to the assigned developer. The bug-fixing process can be a long one, but you have to stay strong until all the defect reports are finally closed.

如果错误未修复,请重新打开缺陷报告,然后将其发送回指定的开发人员。 错误修复过程可能很漫长,但是您必须保持强大,直到最终关闭所有缺陷报告为止。

总结 (To Wrap Up)

Quality Assurance is a process you simply cannot avoid. Each airplane prior to departure undergoes a technical check. If there is any issue, the aircraft is grounded until the problem is solved.

质量保证是您无法避免的过程。 每架飞机在起飞前都要经过技术检查。 如果有任何问题,则将飞机停飞直至问题解决。

Similarly, each software product needs to be checked before launch. You cannot afford to deploy buggy software because users will not give your app a second chance.

同样,每个软件产品都需要在启动之前进行检查。 您无力部署错误的软件,因为用户不会给您的应用第二次机会。

您需要提高软件质量吗? (Do you need to improve the quality of your software?)

My company KeenEthics provides solid development and quality assurance services. In case you need an estimate for a similar project, feel free to get in touch.

我公司KeenEthics提供扎实的开发和质量保证服务 。 如果您需要对类似项目的估算,请随时与我们联系

If you have enjoyed the article, you should continue with What Is Prototyping and Why Do We Need It and Minimum Viable Product: Between an Idea and the Product.

如果您喜欢这篇文章,则应该继续阅读“ 什么是原型”以及“为什么我们需要它和最低可行产品:介于想法和产品之间” 。

聚苯乙烯 (P.S.)

The original article posted on KeenEthics blog can be found here: How to Write QA Documentation That Will Work?

可在以下位置找到发布在KeenEthics博客上的原始文章: 如何编写有效的质量检查文档?

翻译自: https://www.freecodecamp.org/news/how-to-write-qa-documentation-that-will-work/

软件测试质量过程检测文档

软件测试质量过程检测文档_如何编写实际上有效的质量检查文档相关推荐

  1. 一般性网络错误 请检查网络文档_如何编写好的软件设计文档

    原文链接 作为一名软件工程师,我花了很多时间阅读和编写设计文档.在研究了数百篇这样的文档之后,我发现好的文档与项目成功之间有很强的关联性. 在本文中,我尝试去说明如何才能编写好的设计文档. 本文分为4 ...

  2. 离职交接文档_如何写好离职工作交接文档?

    交接文档的重要性 一个业务员与客户建立起了私下的信赖关系,可是当他因工作调动而离开原岗位,由另一个人接替的时候,原来的关系很可能就会一下子断裂. 百货商店也一样,如果柜台的营业员换人了,有些顾客就不会 ...

  3. springboot 中文文档_还在用 Swagger生成接口文档?我推荐你试试它

    JApiDocs是一个无需额外注解.开箱即用的SpringBoot接口文档生成工具. 编写和维护API文档这个事情,对于后端程序员来说,是一件恼人但又不得不做的事情,我们都不喜欢写文档,但除非项目前后 ...

  4. 苹果手机怎么编辑word文档_办公软件入门到精通:文档WORD文本编辑

    大家好: 我是小愿望,很高兴你能看到这篇文章,也感谢能在这个平台能跟大家分享,在以后的日子里会陆续发文一些办公软件的操作知识,希望大家喜欢. 上一篇跟大家分享了WORD文档的文本输入内容,本期我们继续 ...

  5. java 转换上传文档_自己编写JAVA环境下的文件上传组件 (转)

    客户端上传后,端的数据流头尾部格式如下,这里上传了一个文档 我们看看数据流的头部: -----------------------------7d22f821706e0Content-Disposit ...

  6. mysql存储word文档_使用MySQL存储和检索word文档

    我需要使用Servlet将MS Word文档存储和检索到MySQL 5.1中.我有上传文件的代码,但我不知道我可以加入表格.我已经在我要插入.doc文件的字段中使用了BLOB. 这是我上传文件的代码片 ...

  7. 帮助文档_中英对照读ANSYS帮助文档,是怎么玩的?

    话说我之前写过两篇关于有限元软件的帮助文档怎么翻译成中文的推送.但是自那以后我又有了更好的方法.虽然在前面的文章里我也提过一次,但想想还是单独发出来安利一下比较好. 使用Chrome浏览器打开英文的帮 ...

  8. js预览本地word文档_怎么免费下载百度文库付费文档?

    我们都知道百度文库中的Word文档,免费的少,大部分是需要下载券的,或者需要开通vip才能下载的!而这些券和vip都是需要钱买的,那我们有什么办法,能任意使用.下载需要的文档呢?下面我来分享一下我的方 ...

  9. 开发接口文档_产品经理必懂的接口文档撰写方式

    做产品经理的难免会调研各式各样的第三方需求能力.以满足产品提供用户的市场价值,比如第三方登录.图像识别.风控算法,都有专注的服务厂商. 企业无需自己花时间和精力投入在具有较高技术壁垒或时间成本的需求上 ...

最新文章

  1. 【C++】clipp 一个命令行参数解析器
  2. pip国内常用源及配置方式
  3. 计算机术语中bit表示,bit的用法
  4. 32位 shell.efi x86_Ubuntu 20.04 LTS或不再支持32位x86 (i386)
  5. GC之7大垃圾收集器详解(上)
  6. 浙江丽水学院计算机专业,2019丽水学院专业排名
  7. 王译潇20162314 第九周作业总结
  8. Python--操作数据库class
  9. 喜马拉雅三年亏损超20亿 腾讯、小米为股东
  10. InnoDB之Dirty Page、Redo log
  11. PLL与PHY的连接:通道绑定或者不绑定
  12. 实验题目用正交多项式做小二乘曲线拟合
  13. python 除法 保留2位小数
  14. python图像处理(十一)——图像锐化与边缘检测之Roberts算子、Prewitt算子、Sobel算子、Laplacian算子
  15. 利用canvas画钟表
  16. Python中len的使用方法
  17. LA-3713-TwoSAT
  18. 【软件设计模式】常用的设计模式的介绍
  19. Android4.4 XML解析死循环异常导致的开机无法正常启动
  20. 阿里国际站金品诚企不可忽视的权益

热门文章

  1. 第十六天-企业应用架构模式-离线并发模式
  2. Sql Server 因为触发器问题导致数据库更新报错“在触发器执行过程中引发了错误,批处理已中止”的问题处理...
  3. mysql-5.6 升级 5.7
  4. 柯南君:看大数据时代下的IT架构(5)消息队列之RabbitMQ--案例(Work Queues起航)...
  5. Python、Unicode和中文
  6. 一行代码轻松实现拖动效果
  7. 微软虚拟化解决方案课件
  8. JQuery制作的toolTip,针对图片预览效果
  9. iOS 预览word pdf 文件
  10. 法院判决:优步无罪,无人车安全员可能面临过失杀人控诉