A little over a month ago, I posted about creating an autopilot emulator for
ubuntu sdk applications. Thanks to some hard work by Leo Arias and the ubuntu sdk team, I'm happy to announce the little side project from my +junk branch is all grown up and even more ready for your consumption. Leo has made the emulator a proper part of the sdk, complete with tests for all of it's functions! You can now easily install it and incorporate it into your project. Here's how to snag your copy.
1) Add the ubuntu sdk team ppa if you haven't already
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
2) Install the ubuntu-ui-toolkit-autopilot package
sudo apt-get update && sudo apt-get install ubuntu-ui-toolkit-autopilot
This will install the emulator as a python module, ready for you to import. If you want to checkout what the module can do, have a look at the documentation.
Incorporating the module might seem a little tricky, so Leo has also put together an example of one of the ubuntu touch core apps using the new module. Check out it. Here's a branch showing off the work done for ubuntu-filemanager-app. And here's one for dropping-letters.
Please do check out the module and incorporate it into your ubuntu sdk project. Feedback is encouraged, and bug reports too! Please file any issues you find against the ubuntu-ui-toolkit project. Happy Automated Testing!
July 26th, 2013 by Nicholas Skaggs
Both comments and pings are currently closed.