[Testing] [Sugar-devel] test automation
greenfeld at laptop.org
Sun Jul 1 08:31:34 EDT 2012
There are a few unit and system tests scattered throughout the Sugar source
code tree. I have some of them checked out at the office, but I do not
recall where they all are at home.
Personally I have been caught with a bit of a Catch-22: I need to write
automation to save time doing manual tests, but I have so many manual tests
to run that I have not had much time to write automation.
I also have looked at Dogtail as well as a few other utilities, although I
did not get as far along as Daniel did. When using the AT-SPI tree
browsers included with Dogtail and a few other programs, more often than
not I did not see anything.
It was unclear though if I was enabling AT-SPI correctly or if Dogtail was
falsely thinking that it was turned on properly. This setting differs
between environments , and X has to be restarted to make it take effect.
I may have been hampered a bit by trying to find a toolkit with a graphical
browser (to find controls without inspecting source code) during the GTK2
to GTK3 transition. Although AT-SPI is not GTK-specific, I still ran into
a lot of compilation/library mismatch issues.
There is a ticket open about getting AT-SPI working in Sugar, although we
may wish to still explore other automation methods. 
On Sun, Jul 1, 2012 at 3:33 AM, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
> in the last few days I've been experimenting with dogtail
> So far I'm using it in the buildbot to run and stop all the installed
> It's quite promising but apparently a bit buggy. Hopefully I can
> figure out how to make it reliable enough.
> On 1 July 2012 08:33, Sridhar Dhanapalan <sridhar at laptop.org.au> wrote:
> > I am keen to explore ways to improve the quality and delivery time of
> > code. Is there any work being done to automate testing of code?
> > We recently had some university students working with us to create an
> > activity , and they were using the Robot Framework .
> > Sridhar
> >  https://dev.laptop.org.au/issues/634
> >  https://code.google.com/p/robotframework/
> > Sridhar Dhanapalan
> > Engineering Manager
> > One Laptop per Child Australia
> > _______________________________________________
> > Sugar-devel mailing list
> > Sugar-devel at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> Daniel Narvaez
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Testing