【软件测试】探索和学习在模型中的软件测试

93 阅读3分钟

文章目录


软件测试人员

在这里插入图片描述

在软件测试中,developer(开发人员)和independent tester(独立测试人员)之间存在一些区别:

1.角色

  • Developer:是编写软件代码的人员,他们负责实现软件功能并进行单元测试
  • Independent tester:是专门负责测试软件的人员,他们通常不参与软件的编写过程,以确保测试的客观性和独立性。

2.视角

  • Developer:通常关注于确保他们编写的代码能够正常工作,他们可能更倾向于测试他们自己编写的代码,因为他们熟悉其内部逻辑。
  • Independent tester:更关注于从用户角度评估软件的质量和功能,他们可能会尝试通过不同的方式来测试软件,以发现可能被开发人员忽视的问题。

3.责任

  • Developer:负责确保他们编写的代码符合规范,并且经过了基本的测试,以满足软件需求。
  • Independent tester:负责通过各种测试技术和方法来验证软件的功能、性能和可靠性,并向开发人员提供反馈,以帮助改进软件质量。

4.独立性

  • Developer:可能受到自己编写代码的偏见影响,可能会更容易忽略一些潜在的问题
  • Independent tester:测试过程更具客观性和独立性,因为他们与软件的编写过程无关,可以更全面地检查软件的各个方面。

Testing Limits:

Testing can reveal where and when the software fails, but it cannot prove that the software is completely free from errors.
测试可以揭示软件在何时何地出现故障,但它不能证明软件完全没有错误。


Early Testing Benefits (早期测试的好处)

  • Cost-Effective: Starting testing early can save money by reducing the amount of rework needed.
    (成本效益:早期开始测试可以通过减少需要的返工量来节省资金。)
  • Time-Saving: It helps in delivering the software faster by catching and fixing errors sooner.
    (节省时间:通过更早地捕捉和修复错误,帮助更快地交付软件。)
  • Quality: Leads to more reliable and error-free software for the client.
    (质量:为客户提供更可靠、无错误的软件。)

Testing in SDLC (在SDLC中测试)

Throughout SDLC: Testing should begin as early as the Requirements Gathering phase and continue until the software is deployed.
(贯穿SDLC:测试应该从需求收集阶段开始,一直持续到软件部署。)
However it also depends on the development model that is being used.
SDLC(螺旋) 模型中最灵活的螺旋模型类似于迭代模型,它强调重复。螺旋模型一遍又一遍地经历规划、设计、构建和测试阶段,并在每次通过时逐步改进。

Alt


Testing in Waterfall Model (在瀑布模型中测试)

Waterfall Model: Testing occurs in a distinct phase after the development is complete.
(瀑布模型:测试在开发完成后的一个独立阶段进行。)

瀑布模型