English 中文(简体)
融合测试是一种总括性术语,如果是,它包含哪些类型的检验?
原标题:Is integration testing an umbrella term and if so, what types of tests does it include?

我认为,一体化测试的概念混淆不清。 似乎有几个解释和范围:

  • Functional/acceptance testing (e.g. testing the user interface with for example, Selenium)
  • Testing the integration of different classes/modules of software together (simply testing two or more classes together, without them doing anything special like db calls and stuff)
  • Testing the system configuration function/feature-independently (database integration works, dependencies are correctly injected, security base classes work)
  • Testing the system as whole (running services that use databases, web services, etc.)
  • etc. etc.

我开始将一体化测试视为一个总括性术语(而不是在方案拟定会谈中加以界定,而方案谈判往往对它有具体/有限的含义):

  • Integration testing contains:
    • Unit integration testing (test integration of different classes within the same package without calling external libraries)
    • Functional/acceptance testing (test final output of the software through Selenium, for example)
    • System testing (includes various, more technical & non-feature related tests as listed in Wikipedia article)

在Maven省,只有测试和一体化测试阶段。 这似乎将测试分成两个类别,并将与这些假设相配合。

现有的许多问题和答案一般都涉及单位测试、功能测试、回归测试等之间的差异。 然而,我正在寻求关于融合测试的更具体的答复:你如何分类融合测试,以及你在其中的内容? 另外,你是否像我所做的那样,将软件测试大致分为两类:单位测试(1个单位)和集成测试(2个+单位)?

问题回答

计算机充其量,其含义与你所交谈的任何方案人略有不同(有时甚至不大)。 一体化测试是其中之一。

我倾向于赞成你对一体化测试的解释,因为测试2个或2个以上单位被加在一起。 但这仍然相当令人怀疑,因为我们对某个单位的定义可能有所不同。

我认为,开发商小组就一体化测试的含义达成一致,而不是找到一体化测试的真正定义,这一点更为重要。

我的团队认为(用你的话说),一体化测试包括:

  • Testing the integration of different classes/modules of software together (simply testing two or more classes together, without them doing anything special like db calls and stuff)
  • Testing the system configuration function/feature-independently (database integration works, dependencies are correctly injected, security base classes work)

页: 1 我们把家庭看作是不同的家庭。

我们就此进行了一些长时间的讨论,以确保我们在谈论测试时讲同样的措辞。

我不强烈不同意你将融合测试定义为什么,但我只是说,如果你重新工作的所有人同意分类,那是 s的。

确实,你进行了单位测试,其确切定义各不相同,但肯定包含所有以像日本这样的工具界定的、以与源代码相同的方式组织的测试。 如果是任何来源代码,你只能找到一种检验方法,那么,你发现的东西是单位测试。

然后进行系统测试,以尽可能接近客户的方式测试整个系统。

任何在这两种情况之间相差的测试都是一体化测试,既不与源代码不符,也不代表终端用户的经验。

这在两种类别之间有很大的差距,在实践方面差异很大。 这一差距可以包含许多可能有用的测试,但这些测试的性质自然会大不相同。





相关问题
Selenium not working with Firefox 3.x on linux

I am using selenium-server , selenium rc for UI testing in my application . My dev box is Windows with FireFox 3.5 and every thing is running fine and cool. But when i try to run selenium tests on my ...

Best browser for testing under Safari Mobile on Linux?

I have an iPhone web app I m producing on a Linux machine. What s the best browser I can use to most closely mimic the feature-limited version of Safari present on the iPhone? (It s a "slimmed down" ...

Code Coverage Tools & Visual Studio 2008 Pro

Just wondering what people are using for code coverage tools when using MS Visual Studio 2008 Pro. We are using the built-in MS test project and unit testing tool (the one that come pre-installed ...

Is there any error checking web app cralwers out there?

Wondering if there was some sort of crawler we could use to test and re-test everything when changes are made to the web app so we know some new change didn t error out any existing pages. Or maybe a ...

热门标签