Whoa, thanks a lot for writing this! I was looking forward to it :) I want to add that the existing Autopilot tests for Ubuntu's desktop GTK apps can be found at https://code.launchpad.net/~ubuntu-testcase/ubuntu-autopilot-tests/trunk They can be used as example code.
And there's more on "Why autopilot and not $other_project" in Pitti's session on testing, http://irclogs.ubuntu.com/2013/01/31/%23ubuntu-classroom.html if you're interested. 2013/6/18 xapantu <xapa...@gmail.com> > Hi, > > I read that there were some interests in automated tests here, but > apparently the attempt were targeted to unit tests to directly test the > code. Here is an other approach, which is to test the GUI and not only the > engine. (And yes, there is some real life code working, see below.) > > I wrote a (rather short) blog post about GUI testing with Autopilot: > http://xapantu.wordpress.com/**2013/06/17/automated-testing-** > with-autopilot/<http://xapantu.wordpress.com/2013/06/17/automated-testing-with-autopilot/> > > (I could have wrote all of that in a mail, but originally I wanted to make > a longer article to explain how to write tests, but due to a lack of time, > it will follow later.) > > For the tl;dr; version, it uses Autopilot, and the code is at > lp:~xapantu/pantheon-terminal/**tests. > > Comments welcomed, all of that is far from being perfect! > > Lucas > > -- > Mailing list: > https://launchpad.net/~**elementary-dev-community<https://launchpad.net/~elementary-dev-community> > Post to : > elementary-dev-community@**lists.launchpad.net<elementary-dev-community@lists.launchpad.net> > Unsubscribe : > https://launchpad.net/~**elementary-dev-community<https://launchpad.net/~elementary-dev-community> > More help : > https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp> > -- Sergey "Shnatsel" Davidoff OS architect @ elementary
-- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp