For those working with WMF browser tests, we now have test setup methods available via a new Rugygem[1]. The Rubygem uses the Mediawiki API to provide methods for creating and deleting articles, as well as creating users. More methods will likely be added in the near future.
Documentation on how to use these methods within the Cucumber/Selenium-based browser test framework is available on mediawiki.org[2], and if you have questions about how to best make use of them, please hit up the QA team on IRC[3] or e-mail[4].
Thanks,
Jeff
[1] http://rubygems.org/gems/mediawiki_api [2] https://www.mediawiki.org/wiki/Quality_Assurance/Browser_testing/Writing_tes... [3] @wikimedia-qa [4] qa@lists.wikimedia.org