← Back to team overview

ubuntu-phone team mailing list archive

Re: Landing team 05.04.14

 

On Mon, May 5, 2014 at 8:13 PM, Leo Arias <leo.arias@xxxxxxxxxxxxx> wrote:

> On Mon, May 5, 2014 at 10:24 AM, Didier Roche <didrocks@xxxxxxxxxx> wrote:
>
>>  ** Rss reader flaky test (Julien):
>> https://bugs.launchpad.net/ubuntu-rssreader-app/+bug/1314531
>>
>>
> This one works in trunk.
> It's the result of lack of testability and a bad automation strategy. All
> the tests in the RSS reader depend on an external feed, and when it
> changes, all the tests fail. Thats
> https://bugs.launchpad.net/ubuntu-rssreader-app/+bug/1248737
> I just had time to update the expected values on the tests, so it will
> happen again when the feed changes.
>
> pura vida.
> --
>

There are several examples within canonical projects that do the exact same
thing. I don't know what test runner you are using in python but the
ubuntuone-client is a perfect example of such a pattern. The code that is
of interest is the lp:ubutuone-dev-tools

There is A LOT of knowledge related to tests in the ubuntu one team that
tests network requests using a local test server and that are very
reliable. We should take advantage of it.



> ¡paz y baile!
> http://www.ubuntu.com
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>

References