相反,我编写根据类中的方法运行所有单元测试用例的类。
Instead, I would write the class that runs all the unit test cases against the methods in the class.
只有一少部分地实际用例被直接输入道单元测试用例中。
Only a small portion of the actual use case serves as direct input to a unit test case.
在第2部分中,您将看到如何在持续集成服务器中运行这些单元测试用例。
In Part 2, you will see how to run these unit test cases in a continuous integration server.
敏捷软件开发和极限编程二者均提倡在开发源代码之前编写单元测试用例。
Agile software development and extreme programming both promote writing unit test cases before developing the source code.
论文主要研究单元测试的框架,单元测试用例的编写不在论文的讨论范围之内。
This thesis mainly deals with framework of unit testing and does not concern about writing of the test case.
所包括的项目交换文件还包含一个用于AddressCSV_To_Address映射的单元测试用例。
The included project interchange file also contains a unit test case for the AddressCSV_To_Address map.
例如,在单元测试用例中,对象的执行环境是测试用例本身,所以测试设置代码有责任直接满足依赖项。
In a unit test case, for example, the execution environment for the object is the test case itself, and the test setup code is tasked with satisfying the dependencies directly.
根据前面简单的单元测试用例,这块代码是“干净,绿色”的——但只有在我真正彻底地测试这块代码的情况下这才有意义。
So the code is "clean and green," according to my simple unit test case — but that's meaningful only if I'm really testing the code thoroughly.
他们显示了“参与者在做什么,他正与那些部分发生交互,以及有哪些参数正被通过,”38以及他们对测试人员开发单元测试用例有特别重要的作用。
They show "what the actor is doing, what components he is interacting with, and what parameters are getting passed," 38 and they are particularly useful to testers developing unit test cases.
清单5和清单6中的测试用例不像第 1部分中的单元测试那样处理每个细节。
The test cases in Listings 5 and 6 do not handle every detail, as the unit tests in Part 1 did.
简而言之——团队所有成员都能理解测试用例以及单元测试;从需求分析师到测试人员到开发人员。
Simply put – Test Cases and Unit Tests that make sense to everyone in the team; from requirements analyst to tester and developer.
运行单元测试确保测试用例能继续找到并返回正确的对象。
Running unit tests assures that test case code will continue to find and return the correct objects.
只要通过所有的测试用例,我就将向单元测试自动库添加新的单元测试类,在每次构建时运行。
As long as all the test cases pass, I add the new unit test class to my unit test automation library, which gets run on every build.
此步骤与运行部署前单元测试类似,不过 JUnit 测试用例的本质不同。
This step is similar to running pre-deployment unit tests, except for the nature of the JUnit test cases to run.
我们有一个自动测试架构,它可以自动运行单元测试以及功能级的测试用例(无论什么时候创建了的构建它都可用自动运行)。
We had one automated test framework that ran both unit- and feature-level test cases (it ran automatically whenever a build was generated.)
行为驱动开发则更进一步,通过使用自然语言,直接把单元测试(以及测试用例)同需求联系起来。
Behavior Driven Development goes further by directly associating unit tests (and test cases) with the requirements via the use of natural language.
通常,编写完业务需求后,团队成员会进行深入的探讨,建立起具体的用例,由这些用例驱动测试用例、单元测试和最终代码的实现。
Typically the Business requirement is written and the team will drill down to flesh out the use cases that will drive the tests cases, the unit tests and ultimately the implementation code.
运行CSUnit测试用例:CSUnitAddin支持运行另一个重要的.NET单元测试框架写的单元测试。
Run CSUnit tests: The CSUnitAddin supports running tests from another one of the major .NET test frameworks.
在helloworld项目中,我们在测试文件夹中包括了单元测试和集成测试这两个测试用例。
In the helloworld project, we included two test cases for unit testing and integrated JSF testing in the test folder.
因此,您可以为您的EJB单元测试重新使用基本的JUnit测试用例。
Therefore, you can reuse the underlying JUnit test cases for your EJB unit tests.
最新的内容“利用RedBar状态重构你的测试用例”解决了一个常见的问题。即一旦单元测试套件变得庞大,如何在不破坏测试的前提下进行测试代码的重构呢?
The latest installment (" Refactoring tests in the Red ") tackles a common problem - once a unit test suite becomes substantial, how can the unit tests.
Rails提供了强大的测试框架,包括自动化单元测试(用于模型)、功能测试用例(用于控制器)和集成测试(跨多个控制器的端到端集成)。
Rails comes with a powerful framework for automating unit tests (for the model), functional test cases (for the controllers), and integration tests (end to end across multiple controllers).
重点研究了单元测试过程中测试内容和测试用例的生成。
The content and test case of unit test were studied in detail.
详细探讨了面向对象单元测试、面向对象集成测试和面向对象系统测试的测试策略,以及相应的测试用例设计方法。
Testing strategies of object-oriented unit test, object-oriented integrate test, object-oriented system test and their designing approach of testing data were discussed in detail.
结合目前软件单元测试技术的研究现状,我们将深入研究单元测试中源文件的模块依赖问题和测试用例的自动生成问题。
According to the current research status of software unit test problems, we will investigate module dependencies in the source file and the automated test case generation.
在单元测试实践的基础上提出了一种单元测试支持工具的设计方法,该工具提供了一个灵活有效的单元测试框架和基于该框架的测试用例管理和优化方法。
A unit testing supporting tool based on testing practice is presented, which provides a flexible and effective unit testing framework and testing case management and optimization methods.
在单元测试实践的基础上提出了一种单元测试支持工具的设计方法,该工具提供了一个灵活有效的单元测试框架和基于该框架的测试用例管理和优化方法。
A unit testing supporting tool based on testing practice is presented, which provides a flexible and effective unit testing framework and testing case management and optimization methods.
应用推荐