"Getting Started with Autopilot" - autopilot run helloworld runs 0 tests.
Jean-Baptiste Lallement
jean-baptiste at ubuntu.com
Wed Feb 6 15:58:02 UTC 2013
On 02/06/2013 08:42 AM, John Kim wrote:
> Hello QA,
>
> I am trying out Nicholas's autopilot tutorial, "Getting started with
> autopilot." After branching auto-pilot walkthrough, I followed the
> steps, and this was my output.
>
> /john at epikvision:~$ cd autopilot-walkthrough/
> /john at epikvision:~/autopilot-walkthrough$ autopilot list helloworld/
> /Loading tests from: /home/john/autopilot-walkthrough/
> /
> /
> / helloworld.test_example.ExampleFunctions.test_assert/
> / helloworld.test_example.ExampleFunctions.test_keyboard/
> / helloworld.test_example.ExampleFunctions.test_mouse/
> / helloworld.test_hello.HelloWorld.test_type_hello_world/
>
> / 4 total tests./
> /john at epikvision:~/autopilot-walkthrough$ ls/
> /firefox helloworld/
> /john at epikvision:~/autop ilot-walkthrough$ autopilot run
> helloworld.test_hello*/
Use the name of the testsuite without the '*'
If you want to run the full test suite:
$ autopilot run helloworld.test_hello
or
$ autopilot run helloworld.test_example
or a single test in the testsuite:
$ autopilot run helloworld.test_hello.HelloWorld.test_type_hello_world
> /Loading tests from: /home/john/autopilot-walkthrough/
> /
> /
> /Tests running.../
> /
> /
> /Ran 0 tests in 0.000s/
> /OK/
> /
> /
> When I ran autopilot, it didn't run any tests. I expected a gedit
> window to appear after the test was run, but it didn't happen. Also,
> there was not three but four functions listed (not that it may be
> significant).
>
> I would like to carry on with the tutorial, but I'm stuck. Thanks very
> much.
>
> John Kim
>
>
>
--
Jean-Baptiste
irc: jibel
More information about the Ubuntu-quality
mailing list