[QA] repeating tests for logged in and anon users

Chris McMahon christopher.mcmahon at gmail.com
Wed Aug 28 15:45:06 UTC 2013


On Tue, Aug 27, 2013 at 10:05 PM, Amir E. Aharoni <
amir.aharoni at mail.huji.ac.il> wrote:

> Hi,
>
> I committed
> https://gerrit.wikimedia.org/r/#/c/81246/
>
> It basically repeats the same tests for logged in and for anon users.
> Is there a more robust way to do it?
>

There probably is.

As you may recall, I wrote these tests very quickly back in May based on
information that we had at that time from Runa.  She had devoted
significant effort to checking that features were enabled and disabled
properly for anonymous users and for logged-in users, so the tests cover
both conditions in great detail.

Now that ULS is more mature it might make sense to make the tests shorter
and spend less detail on parity for anonymous and logged-in users.

Should we open a Bugzilla ticket to refactor ULS tests for duplication
between anonymous and logged-in users?
-Chris



>
> --
> Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
> http://aharoni.wordpress.com
> ‪“We're living in pieces,
> I want to live in peace.” – T. Moore‬
> _______________________________________________
> QA mailing list
> QA at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/qa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20130828/1864d46a/attachment.html>


More information about the QA mailing list