https://bugzilla.wikimedia.org/show_bug.cgi?id=69070
Bug ID: 69070
Summary: Allow tests to be run against a selected site where
possible
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: tests
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
The tests are often hardcoded to use a specific site, even when this isnt
necessary. e.g. most of site_tests are generic tests which could work on any
site (including a localhost site).
As the travis-ci builds are now run against three different sites in the
config, changing these tests to use the config selected site increases the
variability of the testing achieved.
However the tests also need to be able to be run with a different site selected
to that of the config. i.e. config = ar.wikipedia & testsite = en.wikipedia ,
config = en.wikipedia & testsite = ar.wikipedia, and all other combinations
which might be helpful in showing a gnarly bug.
--
You are receiving this mail because:
You are the assignee for the bug.