您将如何对各种软件测试方法进行分类?

发布于 2024-07-06 17:10:52 字数 519 浏览 4 评论 0原文

这是正确的吗?

  1. 黑匣子

    1.1 功能

     1.1.1 等价 
          1.1.2 BVA 
          1.1.3 使用案例 
          1.1.4 回归 
          1.1.5 终端测试 
      

    1.2 非功能性

     1.2.1 测试系统设计 
      
  2. 白盒

    2.1。 功能性

    <前><代码> 2.1.1 单位 2.1.2 集成 2.1.3 系统

以上是否属于正确的类别?

我问这个问题的原因是因为作为报告的一部分,我试图提供一个很好的参考,对测试技术进行了很好的分类。 这就是我对各种来源的分析和研究给我的结果。 我希望这对可能正在进行相同研究的其他人有所帮助,但如果它不正确,则应该更新。

Would this be right??

  1. Black Box

    1.1 Functional

        1.1.1 Equivalence
        1.1.2 BVA
        1.1.3 Use case
        1.1.4 Regression
        1.1.5 UAT
    

    1.2 Non Functional

        1.2.1 Testing the System Design
    
  2. White box

    2.1. Functional

           2.1.1 Unit
           2.1.2 Integration
           2.1.3 System
    

Do the above fall under the right categories?

The reason I ask this is because as a part of a report I was trying to come up with a good reference that categorised Test Techniques well. This is what my analysis and research from various sources gave me. And I hope this is helpful for someone else who might be doing the same research, but if its incorrect it should be updated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

不语却知心 2024-07-13 17:10:52

您还可以考虑同时开发多个相互依赖的程序的情况。 然后,您必须考虑应用架构,它将所有这些应用程序分组为多个功能域

因此,例如,金融应用程序必须处理大量数据将是一个功能域,您必须在其中开发一个:

  • 调度程序模块,以便在多台计算机上处​​理这些数据
  • GUI 以便查看
  • 启动器中 发生了什么为了启动正确的连接,检索正确的数据并格式化它们
  • 等等,

但这只是一个功能域,因为必须开发其他功能域才能利用结果 em> 您的程序(例如,“参考域”将在那里将这些结果存储到各种数据库中,并为其他程序访问它们提供通信总线:这将是第二个功能域)。

因此,我将向您的测试添加以下类别:

  • 组装测试:当您在自己的功能域内进行测试时(在组装服务器上,当您部署域的不同应用程序时,使用一组测试数据) )
  • 集成测试:当您测试来自所有功能域的所有应用程序时,也称为前端到-结束测试

注意:“集成测试”与“持续集成测试”不同,“持续集成测试”基本上可以处理您所描述的黑白测试,对于一个程序,在一个非常定期。

我所指的测试由您所在域的“项目运营架构”团队每周执行几次,

  • 以进行组装测试:通常是您团队中设置组装服务器的一些开发人员,请检查如果数据是最新的并部署您负责开发的各种程序。
  • 生产运营架构”团队,负责设置“类似生产”的环境,并且是唯一能够真正测试从字体到应用程序的所有应用链的团队。后退。

注意:“运营架构”团队的角色是“使执行环境可操作”,这意味着:与

  • 正确的后勤团队联系,以便拥有正确的服务器和网络;与
  • 正确的应用程序团队联系,以便了解系统所有应用程序的各种启动/停止应用程序进程和部署程序!

简而言之:您的类别适用于一个程序,但是当您开发IS(信息系统)时,您被迫承认这样一个事实:您不是在谈论“一个 > 由一个团队开发的、部署在一个生产机器上的exe”...然后,欢迎来到一个全新的测试世界;)

You might also consider the case when several programs depending one on another are developed simultaneously. You have then to take into account the applicative architecture which groups all those applications into several functional domains

So, for instance, a financial application having to process a large number of data would be one functional domain, in which you would have to develop a:

  • dispatcher module in order to process those data on several computers
  • GUI in order to see what is going on
  • launcher in order to initiate the right connections retrieve the correct data and format them
  • and so on

But that would only be one functional domain, as others would have to be developed in order to exploit the results of your programs (for instance, a "referential domain" would be there to store those results into various databases, and offer a communication bus for other programs to access them: that would be a second functional domain).

So I would add to your tests the following categories:

  • Assembly testing: when you test within your own functional domain (on an assembly server when you deploy the different applications of your domain, with a set of testing data)
  • Integration testing: when you test all the applications from all the functional domains, which is also called front-to-end testing.

Note: "integration testing" is not the same as "continuous integration testing", which basically can process the black and white tests you describe, for one program, on a very regular basis.

The tests I am referring to are executed a few times a week by an:

  • "Project Operational Architecture" team of your domain for assembly tests: usually some developers of your team which set up an assembly server, check if the data are up-to-date and deploy the various program you are in charge to develop.
  • "Production Operational Architectural" team, in charge of setting a "production-like" environment and who is the only one able to really test the all chain of application from font to back.

Note: an "Operation Architecture" team has the role to "make operational an execution environment", meaning to have:

  • the right logistic team contacts in order to have the right servers and networks,
  • the right application teams contacts in order to know about the various start/stop application processes and deployment procedures of all the application of your system!

In short: your categories are for one program, but when you are developing an IS (Information System), you are forced to acknowledge the fact that you are not talking about "one exe developed by one team deployed on one production machine"... and then, welcome to an all new world of testing ;)

若能看破又如何 2024-07-13 17:10:52

我认为你的分类是一个很好的第一步。

黑盒和白盒(有些人更喜欢玻璃盒)之间的分离测试重点在于您是否只能访问规范或更多(设计、源代码)。

我会在功能测试和结构测试之间添加第二个分离,重点是您是否要考虑软件的功能(功能)或软件的功能(结构)。

第三种分离涉及如何确定性或统计性地生成测试输入(具有故意分布而不是随机分布)。 无论哪种方式,您的重点都是您的目标覆盖范围。

最后,众所周知的分离是不同级别的软件周期之间的:单元测试、集成、系统、验收……

I think that your categorisation is a good first step.

Separation between black box and white box (some prefer glass box) testing focuses on whether you have access only to the specification or more (design, source code).

I would add a second separation between functional and structural testing, which focuses on whether you want to consider what the software does (functional) or how it does it (structural).

A third separation deals with how you generate test inputs, deterministically or statistically (with a deliberate distribution and not randomly). Either way, your focus is on what coverage you target.

Finally a well known separation is between different levels of software cycle: unit testing, integration, system, acceptance, ...

千仐 2024-07-13 17:10:52

以下是软件测试中广泛定义的测试方法:

1. 黑盒测试是一种软件测试方法,其中测试人员不知道被测试项目的内部结构/设计/实现。 这些测试可以是功能性的,也可以是非功能性的,但通常是功能性的。 测试设计技术包括:等价划分、边界值分析、因果图。

2. 白盒测试是一种软件测试方法,其中测试人员已知被测试项目的内部结构/设计/实现。 测试设计技术包括:控制流测试、数据流测试、分支测试和路径测试。

3. 灰盒测试是黑盒测试方法和白盒测试方法相结合的一种软件测试方法。

Following are the Testing methodologies broadly defined in the Software Testing:

1. Black Box Testing is a software testing method in which the internal structure/design/implementation of the item being tested is not known to the tester. These tests can be functional or non-functional, though usually functional. Test design techniques include: Equivalence partitioning, Boundary Value Analysis, Cause Effect Graphing.

2. White Box Testing is a software testing method in which the internal structure/design/implementation of the item being tested is known to the tester. Test design techniques include: Control flow testing, Data flow testing, Branch testing, and Path testing.

3. Gray Box Testing is a software testing method which is a combination of Black Box Testing method and White Box Testing method.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文