回归测试是什么意思?

发布于 2024-09-14 11:07:32 字数 29 浏览 11 评论 0原文

谁能以一种可以理解的方式解释回归测试这个词?

Could anyone explain the word regression test in an understandable way?

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

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

发布评论

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

评论(17

断爱 2024-09-21 11:07:33

回归测试是一种测试,旨在确保在系统其他地方发生更改后,先前工作的功能仍然有效。 维基百科文章很好地解释了它是什么。

您的单元测试是自动回归测试,这是它们最大的优势之一。一旦编写了这些测试,将来无论何时添加新功能或更改现有功能,它们都将运行。您不需要显式编写回归测试。

Regression test is a test that is performed to make sure that previously working functionality still works, after changes elsewhere in the system. Wikipedia article is pretty good at explaining what it is.

Your unit tests are automatically regression tests, and that's one of their biggest advantages. Once those tests are written, they will be run in future, whenever you add new functionality or change existing functionality. You don't need to explicitly write regression tests.

猫腻 2024-09-21 11:07:33

尽管有一个老笑话,“国会”并不是“进步”的对立面; “回归”是。对于你的代码来说,回归是指它“向后移动”,通常意味着它曾经有过的一些不良行为(您已修复)又回来了。 “回归”是错误的返回(尽管可以有其他解释)。因此,回归测试是一种验证您是否已修复错误的测试,并且定期运行以确保您的修复仍然有效。

Notwithstanding the old joke, "Congress" is not the opposite of "progress;" "regress" is. For your code to regress is for it to "move backward," typically meaning that some bad behavior it once had, which you fixed, has come back. A "regression" is the return of a bug (although there can be other interpretations). A regression test, therefore, is a test that validates that you have fixed the bug, and one that you run periodically to ensure that your fix is still in place, still working.

天气好吗我好吗 2024-09-21 11:07:33

弗朗西斯·高尔顿(Francis Galton)创造的“回归”一词的意思是

“回归:返回的行为”,

即它是软件测试中检查任何更改/错误修复的现象/技术没有影响系统的现有功能。因此,回归测试的目的是确保错误修复等更改不会导致应用程序中发现另一个错误。

  • 需求发生变化并且根据需求修改代码、
  • 向软件添加新功能、
  • 修复缺陷、修复
  • 性能问题时,

需要进行回归测试。回归测试可以手动和自动完成。

以下是一些用于自动化方法的工具:

  • QTP
  • AdventNet QEngine
  • Regression Tester
  • vTest
  • Watir
  • Selenium
  • actiWate
  • Rational Function Tester
  • SilkTest

The word regression as coined by Francis Galton means

Regression: The act of going back

I.e. it is the phenomenon/technique in software testing to check any change / bug fixes hasn't impacted the existing functionality of the system. Thus the intent of regression testing is to ensure that a change, such as a bug fix should not result in another fault being uncovered in the application.

Regression Testing is required when

  • there is a change in requirements and code is modified according to the requirement
  • a new feature is added to the software
  • defects are fixed
  • a performance issue is fixed

Regression testing can be done both manually and automated.

These are some tools for the automation approach:

  • QTP
  • AdventNet QEngine
  • Regression Tester
  • vTest
  • Watir
  • Selenium
  • actiWate
  • Rational Functional Tester
  • SilkTest
初与友歌 2024-09-21 11:07:33

在回归测试期间,测试人员会运行您的应用程序测试已知在先前版本中可用的功能。

它们专门查找应用程序中可能未直接修改但依赖于已修改代码(并且可能存在残留错误)的部分。

这些错误(由相关代码中的错误引起的错误,即使它们之前可以工作)被称为回归(因为该功能正常工作,但现在有一个错误......因此,回归)。

During a regression test, testers run through your application testing features that were known to work in the previous build.

They look specifically for parts of the application that may not have been directly modified, but depend on (and could have residual bugs from) code that was modified.

Those bugs (ones caused by bugs in dependent code even though they were working before) are known as regressions (because the feature was working properly and now has a bug...and therefore, regressed).

只有影子陪我不离不弃 2024-09-21 11:07:33

回归测试是测试活动的一部分,可以在
修改后开始,以检查每个发布的软件的可靠性。
它只是一个影响分析,检查它是否不影响关键区域
该软件的。

Regression testing is a part of testing activity, which can be start after
modification has been made to check the reliability of each software released.
It's nothing but an impact analysis to check wheather it not affecting critical
area of the software.

浅浅淡淡 2024-09-21 11:07:33
  1. 做单元测试
  2. 做集成测试
  3. 当(1)和(2)通过后,做回归测试

简单来说,回归测试就是再次重复步骤(1)和(2)。

  1. Do unit test
  2. Do integration test
  3. After (1) and (2) are passed, do regression test

In simple term, regression test is to repeat step (1) and (2) again.

夏有森光若流苏 2024-09-21 11:07:33

回归测试基本上在重新测试完成后进行。
回归测试的主要目的是检查修改的影响。我们的应用程序是否运行稳定。

有必要执行回归测试,因为有时会在重新测试后或修复错误时发生,开发人员修复了错误并错过了其他代码或依赖代码上的某些内容

Regression testing basically perform after completing of retesting.
The main purpose of regression testing is to check the impact of modification. Whether still our application is acting stable.

Its necessary to perform a regression testing because sometimes it happened after retesting or while fixing bug developer fixed the bug and missed out something on other code or on dependent code

深海夜未眠 2024-09-21 11:07:33

http://en.wikipedia.org/wiki/Regression_testing

基本上,测试您的代码已更新以确保您没有引入新的错误并且该功能仍然像以前一样工作。

http://en.wikipedia.org/wiki/Regression_testing

Basically, test the code you've updated to make sure you haven't introduced new bugs and that the functionality still works as before.

絕版丫頭 2024-09-21 11:07:33

回归测试:- 如果有任何更改、延迟、修改、修改或添加到我的申请中。在这种情况下,我必须知道我的应用程序是否像以前一样工作。

Regression test:- IF THERE ANY Changes, delate,modification, up dings or adding in my application . In that case I have to know that my application works as it was working before.

戒ㄋ 2024-09-21 11:07:33

回归测试 - 是一种软件测试,我们尝试覆盖或检查错误原始错误修复。

围绕错误修复的功能不应因提供的修复而发生更改或更改。在这个过程中发现的问题称为回归问题。

Regression test - Is a type of SW testing where we try to cover or check around the bug Original bug Fix.

The functionality around the bug fix should not get changed or altered due to the Fix provided. Issues found in such process are called as Regression Issues.

茶底世界 2024-09-21 11:07:33

简而言之,回归测试是一种测试,以确保系统的功能在引入新的代码更改后仍然有效。它实际上不必是对整个功能(例如功能测试)的彻底测试,只需对被认为受引入的代码更改影响的区域进行测试即可。

In a simple way, Regression test is a test to make sure that the functionality of a system still works after a new code change has been introduced. It doesn't really have to be a thorough testing of the whole functionality (such as functional testing), only the areas that are considered to be impacted by the introduced code changes.

残疾 2024-09-21 11:07:33

回归测试是一种测试,它使我们能够通过测试我们正在测试的软件中的某些区域来发现引入的错误。引入的错误是指由开发人员所做的新更改引起的错误。

回归测试的关键是我们如何通过明智地决定一些可能受到变化影响的区域来有效地进行测试,因为由于时间限制(大多数时候)我们无法测试所有功能。这里的“有效”是指我们可以在相对较短的时间内找到Bug。

Regression test is a test which enables us to find introduced bug by testing some areas in the software that we are testing. Introduced bug means a bug which is caused by the new changes made by the developer.

The key in the regression test is how we can effectively do the test by wisely deciding some areas which might be impacted by the changes since we can't test all the functionalities due to the time constraint (most of the time). 'Effective' in here means we can find bugs in a relatively short period of time.

我的影子我的梦 2024-09-21 11:07:33

回归测试意味着反复测试您的软件/网站。这样做的主要原因是确保没有引入任何新的错误。

通常,回归测试将自动化,以减少重新运行测试的成本。您可以构建的高价值测试用例越多越好。这是播放和录制回归测试平台的示例

Regression testing means testing your software/website repeatedly. The main reason for it is to make sure there aren't any new bugs introduced.

Typically, regression tests will be automated, to reduce the cost of rerunning the test. The more high value test cases you can construct, the better. This is one example of a Play and Record regression testing platform

香橙ぽ 2024-09-21 11:07:33

我喜欢回归测试的定义

[回归测试]告诉您在添加更新或修复后之前编写和测试的代码是否损坏

[...]它可以帮助您注意到在添加新代码时是否无意中向软件引入了错误。这种新的错误称为回归。

基本上,回归是返回到应用程序存在错误的状态

I like this definition of regression testing:

[regression testing] tells you if a previously written and tested code broke after you’ve added an update or a fix

[...] it helps you notice if you’ve unknowingly introduced bugs to your software while adding new code. New bugs of this kind are called regressions.

Basically, a regression is returning to a state where your application has bugs.

一杯敬自由 2024-09-21 11:07:33

回归测试是一项旨在确保系统的不同功能仍然按预期工作并且添加的新功能不会破坏任何现有功能的活动。

其次,您通常会针对上述测试编写自动化测试或进行手动测试。它可以是每天运行的单元/API/UI 测试的组合。回归测试可以在 SDLC 的各个阶段执行,这完全取决于上下文。

希望这能让您了解什么是回归测试。

Regression testing is an activity performed to ensure the different functionalities of the system are still working as expected and the new functionalities added did not break any of the existing ones.

Secondly, you generally write automated tests or do manual testing to the above mentioned testing. It could be a combination of Unit/API/UI tests that are run on a daily basis. Regression testing can be performed in various phases of the SDLC, it all depends on the context.

Hopefully this gives an idea on what is regression testing.

一曲琵琶半遮面シ 2024-09-21 11:07:33

回归测试:我们获取一堆数据并针对开发代码 dll 多次运行它。事情就是这样完成的。由 Microsoft 首席软件工程师经理提供。

Regression testing: we take a bunch of data and keep running it against the dev code dll and many times. And that's how it's done. Courtesy Microsoft principal software engineer manager.

那支青花 2024-09-21 11:07:33

回归测试可确保最近对代码进行更改或更新。它确认了改进、功能、错误修复工作正常。

为什么它很重要?

如果没有回归测试,代码中的新更改可能会破坏现有功能,从而导致软件中出现缺陷和问题。回归测试有助于保持软件的稳定性,即使添加了新功能和更新。

Regression testing ensures that recent changes or updates to the code. It confirm Improvements, features, bug fixes working fine.

Why is it important?

Without regression testing, new changes in the code might break existing features, leading to defect and issues in the software. Regression tests help to maintain the stability of the software, even new features and updates are added.

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