RunningCheckboxTestCases - 运行Checkbox(复选框)测试用例


Installing the PPA

A modified version of checkbox, along with a suite of application tests is available in the following ppa.

To install it run, 安装运行,
sudo add-apt-repository ppa:nskaggs/checkbox-app-testing
sudo apt-get update && sudo apt-get install checkbox-app-testing

Additionally, if your running the livecd, you need to enable the multiverse repositories to successfully install this ppa. Check out how to enable this via this wiki link

Getting Help

Before we talk about running the tests, here are the ways you can get help if you have trouble installing or running the application tests.
On freenode, the #ubuntu-testing channel
在IRC的freenode的#ubuntu-testing channel频道
The ubuntu-qa mailing list

Running checkbox

NOTE, for beta 2 the checkbox-qt gui has been adopted and differs from the old gtk version. The workflow remains the same.
Once everything is installed, start the application tests.
Open the dash and type ‘Application Testing’ and press enter to launch.
(If the above command doesn’t work, open a terminal and type ‘checkbox-app-testing &’ and press enter. The gui should launch)
(如果上述命令不起作用,打开终端并输入’checkbox-app-testing &’ 后按回车。图形界面将会弹出)
The checkbox tests should launch and display, similar to below:
Checkbox(复选框)测试应该启动并显示,如附件图片“1.2.1 overview” :

Click next. The application will gather information about your system and present you with a menu of tests. Select as many tests as you wish, but DO NOT UNCHECK the ‘Required tests (DO NOT UNCHECK)’. Right clicking will allow you to select or deselect all tests if needed. Each test suite should take around 5 - 10 minutes to complete.
点击继续。应用程序将收集你的系统信息并显示给你一个测试菜单。选择尽可能多的你想要的测试,但不要取消勾选“需求测试(不取消)”。右击将允许你选择或取消所有测试如果你需要。每个测试套组大约需要5-10分钟完成。 如附件图片“1.2.2 testoverview” :

Stopping and Resuming Testing

You may run the tests in batches with multiple submissions if you are otherwise unable to run all of the tests in one sitting (but want to do so! ). In addition, you can resume your progress with testing at any time. Close the application at any time during the testing to stop. To resume testing again, simply start the application, and checkbox should prompt you if you wish to restart or recover.
如果你无法一次性运行所有测试,你也许可以使用多重提交分批运行测试(但要这样做!)。此外,你可以在任何时间恢复你的测试进展。关闭应用程序在测试需要停止的任何时间。再次恢复测试,只需启动应用程序,Checkbox(复选框)将会提示你如果你希望重新启动或恢复。 如附件图片“1.2.3 recovery” :

Select Recover. When the menu appears hit next. You should resume where you left off previously with your results intact.

Submitting Results

Once complete, add your email address and press submit.
一旦完成,添加你的邮箱地址并点击提交。 如附件图片“1.2.4 submit” :

Checkbox should finish and thank you for testing.

Viewing your Results

To confirm we have received your submission, please have a look at this launchpad page: