[QA] Creating test data for browser tests at run time
Chris McMahon
cmcmahon at wikimedia.org
Mon Jan 13 21:07:16 UTC 2014
For some time people on the Mobile team working with browser tests (among
others) have wanted the ability to run on local development environments,
without having to rely on test data and test user accounts that already
exist only in the shared test environments at beta labs and test2wiki.
For this reason (and for several other reasons) we have begun creating some
convenience methods that will create via the Mediawiki API particular pages
and particular users on any target wiki. The first pass at the code to do
this is https://gerrit.wikimedia.org/r/#/c/106548/ .
Besides supporting the ability to create test data for Mobile development
environments, being able to do this will also:
* reduce conflicts for certain tests that use the same pages and/or users
* support running browser tests on WMF Jenkins instead of Cloudbees
* support running browser tests on a bare Mediawiki wiki, such as the
public release wiki
* support running browser tests on Vagrant instances with bare wikis
* support testing the Mediawiki API itself
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20140113/2a185baf/attachment-0001.html>
More information about the QA
mailing list