"Getting Started with Autopilot" - autopilot run helloworld runs 0 tests.

Nicholas Skaggs nicholas.skaggs at canonical.com
Wed Feb 6 17:00:59 UTC 2013


John, that's correct. :-) You can run them all, or be specific as to 
what to run -- no wildcards.


Nicholas

On 02/06/2013 10:54 AM, John Kim wrote:
> I tried again this morning, and I noticed that for autopilot run, I 
> have to write the entire function's name.  The wildcard * doesn't work.
>
> John
>
>
> On ?, 2? 5, 2013 at 11:42 ??, John Kim <johnkim.ubuntu at gmail.com> 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:~/autopilot-walkthrough$ autopilot run 
>> helloworld.test_hello*/
>> /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
>>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-quality/attachments/20130206/4d586c4f/attachment.html>


More information about the Ubuntu-quality mailing list