点击确定按钮后,Visual Studio 将弹出一个创建单元测试项目(Create Unit Test Project)的对话框,如下图所示。单元测试项目允许我们创建自动测试,验证应用程序的功能和行为。
基于20个网页-相关网页
尽管为这么小的应用程序创建单元测试似乎有点儿过分了,但是实际上即使对于最小的项目,使用这种方式也是良好的编程习惯。
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.
应用推荐