I just updated 
https://wiki.mozilla.org/Auto-tools/Projects/Robocop/WritingTests#More_Information.

----- Original Message -----
From: "Margaret Leibovic" <[email protected]>
To: "Chenxia Liu" <[email protected]>
Cc: "mobile-firefox-dev" <[email protected]>, "Michael Comella" 
<[email protected]>
Sent: Wednesday, September 4, 2013 3:14:05 PM
Subject: Re: New version of Robotium for tests

I know that mcomella was working on an etherpad with ideas to improve our 
testing documentation; has any progress been made on that? I feel like it would 
be great to include these links in whatever wiki page people refer to when 
writing new tests :) 

Margaret 


On Wed, Sep 4, 2013 at 10:28 AM, Chenxia Liu < [email protected] > wrote: 


As part of the testing framework rework (bug 910791), and partly because it's 
just overdue, we've upgraded the Robotium jar from 3.6 to 4.2. 

There are a lot of good changes in the new version (most saliently, better 
waiting/timing methods and UI manipulation) - see the changelog for specific 
details [1]. 

Since we haven't ported the old tests to using the new APIs yet (bug 912590), 
when writing tests, first take a look at the changelog or the new API Javadocs 
[2] to see if there's a proper method for doing what you need (especially for 
timing or waiting in tests), and use that instead of existing (probably hacky) 
code in the tests. 

Thanks! 
Chenxia 

[1] http://code.google.com/p/robotium/wiki/Changelog 
[2] http://robotium.googlecode.com/svn/doc/index.html 
_______________________________________________ 
mobile-firefox-dev mailing list 
[email protected] 
https://mail.mozilla.org/listinfo/mobile-firefox-dev 


_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to