尽管为这么小的应用程序创建单元测试似乎有点儿过分了,但是实际上即使对于最小的项目,使用这种方式也是良好的编程习惯。
Although it might seem like overkill to create unit tests for a small application like this, it really does build good programming practices to use this approach for even the smallest of projects.
开发人员在Application Developer工作区中开发项目,其中,他们可以创建代码、更改代码和进行单元测试。
Developers work on projects in an Application Developer workspace, where they create code, make changes, and unit test.
创建一个新的portlet项目,你可以使用附加的工具——如portlet开发描述编辑器——开发和单元测试你的portlet。
Once you create a new portlet project, you can use additional tools — such as the portlet deployment descriptor editor — to develop and unit-test your portlets.
我们最后讨论单元测试,是因为这个水平的测试的输入需要以后的文档由这个项目团队创建。
We discuss unit testing lastly because the inputs required for this level of testing are some of the latter documents created by the project team.
如果我可以简单地选定一个BDD的单元测试项目,然后项目创建后我就拥有了所有项目所需的文件,那就容易多了。
It would be a lot easier if I could just select a BDD Unit Test project and have all I needed for the project already available after the project was created.
创建好这个项目后,我们就有了构建新模板的基础(当然,这种方法适用于所有的项目类型,不光是单元测试项目)。
Once this is created we will have the base from which we shall build the new template (this, of course, can be applied to any project type, not just Unit Tests).
它会创建一个单独的解决方案,包括一个Web应用程序项目,并且,该项目可以用做单元测试。
This creates a single solution with both a web application project as well as a project we can use for unit testing.
首先必须创建一个测试项目,然后才能开始编写用来评估数据库对象的单元测试。
Before you can start to write unit tests that evaluate database objects, you must first create a test project.
在生成单元测试时创建测试项目。
在生成单元测试时创建测试项目。
应用推荐