Hello! Try typing autopilot list helloworld -- what does it say? Then copy one of the lines of the test to run. There might be a small mispelling or similar preventing ap from finding the test.

Nicholas


On 02/13/2013 06:25 AM, Олександр Гаврилюк wrote:
Hello Team!
I have tried to mess with autopilot and ran into a small issue there. Could anyone give a hand.

I get the following when trying to list the tests in helloworld or run them:

havryliuk@havryliuk:~/autopilot-walkthrough$ autopilot run helloworld.test_hello.HelloWorld.test_type_hello_world
Traceback (most recent call last):
File "/usr/bin/autopilot", line 258, in
main()
File "/usr/bin/autopilot", line 238, in main
run_tests(args)
File "/usr/bin/autopilot", line 160, in run_tests
test_suite = load_test_suite_from_name(args.suite)
File "/usr/bin/autopilot", line 205, in load_test_suite_from_name
package = __import__(top_level_pkg)
ImportError: No module named helloworld

Folder helloworld is there and I am executing these commands from the autopilot-walkthrough folder

Thanks in advance
Oleksandr


2013/1/31 Nicholas Skaggs <[email protected] <mailto:[email protected]>>

    Oleksander, welcome aboard! Since you spoke about automated
    testing, here's some things that might be of interest to you right
    now:

    Tomorrow, we're hosting a hackfest where you can learn about
    autopilot (an automated testing framework we use) and help
    contribute testcases. Details are here:
    https://wiki.ubuntu.com/QATeam/AutomatedTesting/Hackfest.

    Here is the session we did at UDW yesterday on autopilot. It
    explains and gives a good overview of what it is and how you can
    use it. You can find the log here:
    http://irclogs.ubuntu.com/2013/01/30/%23ubuntu-classroom.html#t18:00

    Finally, I'd encourage you to have a look through the
    mini-tutorial I did:
    http://www.theorangenotebook.com/2012/11/getting-started-with-autopilot.html
    http://www.theorangenotebook.com/2012/11/our-first-autopilot-testcase.html
    http://www.theorangenotebook.com/2013/01/introspecting-with-autopilot.html

    Whew, that's some reading for you! Please ask questions, and don't
    be a stranger. There's other activities to get involved with as
    well, but I'll try not to overwhelm you with everything at once
    :-) Again, welcome!

    Nicholas


    On 01/31/2013 10:02 AM, John Kim wrote:

    Glad to have you on board! Hope you will enjoy the community.

    Here is a great place for you to start:
    https://wiki.ubuntu.com/QATeam

    By any chance, if you can, come stop by to Ubuntu Developer Week,
    in which Ubuntu developers give presentations on various aspects
    of - you guessed it - Ubuntu development. Find out more here.

    https://wiki.ubuntu.com/UbuntuDeveloperWeek

    Sincerely,

    John Kim

    On Jan 31, 2013 2:49 AM, "Олександр Гаврилюк"
    <[email protected]
    <mailto:[email protected]>> wrote:

        Hello Team,
        Glad to join the community!

        My name is Oleksandr and I come from Ukraine
        I have worked as a technical writer and manual test engineer
        for some time. For a little more that a year, I have been
        involved into automated testing and would love to move one
        with it.

        Within the Ubuntu project, I would like to give a hand in
        automated testing wherever it is needed. For myself, I would
        like to learn much and develop in the automation field.

-- Kind regards,
        Oleksandr Gavryliuk

        --
        Ubuntu-quality mailing list
        [email protected]
        <mailto:[email protected]>
        Modify settings or unsubscribe at:
        https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality





    --
    Ubuntu-quality mailing list
    [email protected]
    <mailto:[email protected]>
    Modify settings or unsubscribe at:
    https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality




--
Kind regards,
Oleksandr Gavryliuk

-- 
Ubuntu-quality mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality

Reply via email to