You'll notice that the code sample is set up to be useful as a test bed for different UI widgets and layouts ideas.
您会注意到,代码示例被设置为适合用作不同用户界面小控件和布局想法的测试温床。
We don't really want to use an applet for the UI of our final application, but it provides an easy way to test out the code.
实际上,我们不需要将Applet用于最终应用程序的UI,但是它提供了测试代码的简单方法。
The framework enforces the separation of UI modules from the test code, allowing easy refactoring.
框架实行UImodule和测试代码的分离,从而有利于重构。
In this way, the test code is decoupled from the UI module.
这样,测试代码就和UImodule解耦了。
Even if a development team does not practice test-driven development, having programmatic tests exercise UI code is valuable for regression and integration testing.
即使一个开发团队没有在使用测试驱动开发方式,拥有一个可编程的能测试实际UI代码的框架,对于回归和集成测试也是很有价值的。
Additionally, you can open source code files in RubyMine right from TeamCIty web UI while browsing test results or VCS history.
另外,在浏览测试结果或者VCS历史的时候,你还可以在RubyMine里面从TeamCity的webUI中打开源码文件。
The meta data "{row: 1, column -> One} as A" means the UI element, a TextBox in our case, is in row 1 and the same column as where the header "One" is. The test code is very clean, for example
元数据“{row:1,column-> One}asA”意味着我们例子中的UI元素——一个TextBox,处于第一行,并和header“One”处在同一列。
The meta data "{row: 1, column -> One} as A" means the UI element, a TextBox in our case, is in row 1 and the same column as where the header "One" is. The test code is very clean, for example
元数据“{row:1,column-> One}asA”意味着我们例子中的UI元素——一个TextBox,处于第一行,并和header“One”处在同一列。
应用推荐