通过 portletUnit框架,您可以使用portlet内与控件有关的动作测试一个 portlet的UI。
With the portletUnit framework, you can test the UI of a portlet with actions related to the controls within the portlet.
驾驶测试中会要求你做几个标准的机动动作。
You will be asked to perform some standard manoeuvres during your driving test.
顾名思义,这种测试确保不同的控制器和动作按照预期的方式配合工作。
As the name suggests, this test ensures that different controllers and actions work together as expected.
我们来考虑如何测试用户控制器和登录动作在极端负载下的表现。
Let's consider the user controller and the login action to be tested on extreme loads.
在TDT中,你可以看到嵌套数据的两个测试动作块。
In the TDT you'll see two test action blocks with nested data.
要想测试存档动作,只需点击按钮并检查在CSLD作业数据库中是否创建了正确的存档请求。
In order to test the archive action, just click the button and verify if the correct archiving request is created in the CSLD job database.
好的测试不仅仅是重复执行相同的动作。
Robust testing is more than just executing the same action repeatedly.
这常常与自动化ui测试连在一起,特别是动作结果不需要通过用户界面验证的时候。
This is often done in conjunction with automated UI testing, especially when the results of the action are not necessarily verifiable via the user interface.
这种方法清晰的将决策脚本中的测试逻辑封装与测试脚本中执行的测试动作和验证分离开来。
This approach clearly separates the testing logic encapsulated in the decision scripts from the test actions and verifications performed in the test scripts.
对于规范中定义的各个UI动作,在单元测试中创建一行说明。
For each UI gesture defined in the specification, create a line in your unit test.
一旦创建好测试类之后,测试方法中要有实际的动作。
Once you have your test class, the real action happens in your test methods.
此时,您的测试中有一些动作,但目前为止,无法验证您的动作是否有效。
At this point, your test has the actions in it, but so far, there is nothing to verify that your actions worked.
这将有助于您了解GUI组件通过API为您提供哪些动作或属性用于测试。
This will help you know which actions or properties a GUI component provides through its API for you to use in your tests.
无论哪种情况,在你有机会做了这个测试之后,你都会想要撤销这个动作的。
In either case, you'll want to undo this action once you've had a chance to see how your design looks put to this test.
每隔一小时测量一次参与者的客观警觉性,心理动作警觉作业测试与清醒度维持测试交换进行。
Objective alertness was measured by hourly testing, alternating the PVT with the Maintenance of Wakefulness test (MWT).
为UI定义、动作和测试提供一门dsl。
测试诸如单击链接这样的用户动作可以通过使用WicketTester的clickLink()方法实现,只需为之传递链接组件ID路径,然后再验证所呈现的组件即可,如清单23 所示。
Testing a user action such as clicking a link can be done using WicketTester's clickLink() method, passing it the link component ID path, and then verifying the rendered page, as shown in Listing 23.
LegStar会生成jbossESB示例配置文件,文件包含了处理管道的完整动作,以供测试。
LegStar generates sample JBoss ESB configuration files with a complete actions processing pipeline ready for testing.
功能测试的示例包括测试成功的Web请求、正确的页面重定向、正确的身份验证以及对特定动作的正确响应。
Examples of functional tests include testing for a successful Web request, redirection to the correct page, proper authentication, and the correct responses for specific actions.
TelluriumIDE——另外一个Firefox插件,可以记录用户操作,并生成Tellurium测试脚本,包括UImodule的定义、用户的动作以及断言。
Tellurium IDE - a Firefox plugin that records user actions and generates Tellurium test scripts, including UI module definitions, actions, and assertions.
为了体会一下功能测试,我们来考虑登录和注册动作涉及的UsersController。
For a taste of functional testing specifics, we consider the case of the UsersController involved in the login and registration actions.
测试表单提交的用户动作的测试用例。
portlet的单元测试应该涉及对portlet每个模式的功能测试和对portlet执行的动作。
The unit testing of portlets should cover the functional testing for each mode of the portlet and the actions performed on the portlets.
测试OnClick用户动作的测试用例。
研究过程中,巴韦利埃的小组共对11名在过去一年内至少每周玩5次动作游戏的男性进行了测试,同时接受测试的还有12名在过去一年内从未玩动作游戏的男性。
Bavelier's group tested 11 men who reported having played action videogames at least five times a week for the past year and 12 men who reported no action videogame activity in the past year.
使用任何动作的WebResponse可以测试portlet的任何动作及其功能。
Using the WebResponse of any action, you can test any action of the portlet and its functions.
更值得一提的是,您可以设置您的配置管理系统在任何检入动作发生时执行测试。
Better yet, you can set up your configuration management system to execute the tests upon any check-in.
比如,一个命令按钮的功能测试既包括了对按下按钮时的动作的测试,也包括了对按钮的大小,位置和颜色的测试。
For example, functional testing of a command button can include testing what happens when the button is pushed as well as testing its size, location, and color.
他可以同工友聊天,但整个流程中没有多余的动作;他说,这些已经用秒表分析测试过。
He can chat with other line workers, but on the line there are no wasted movements; they have been analyzed and tested with a stopwatch, he said.
尽管在社交情况下的心理动作警觉作业(PVT)测试中的区别并不明显,内向型人比外向型人在清醒度维持测试(MWT)中表现出更为警觉。
Although differences in PVT performance were not evident during the social-exposure condition, introverts were more alert than extraverts on the MWT.
应用推荐