jayvdb added a comment.
We could use a MediaWiki sqlite database. I am guessing (hoping) that mediawiki has a test runner which sets up a test instance of MediaWiki to run tests against. If so, we should try to use the MediaWiki test framework to set up the MediaWiki instance on localhost. If not, wtf, someone needs to build one of those.
However, I dont see anything like that; their .travis.yml only appears to set up an empty database instance without a http interface. @hashar , am I wrong there? Or do you know if someone is working on building a way for the MediaWiki tests to run live tests against the http frontend processor? For pywikibot needs, it would be sufficient if it only connected api.php to a port; we dont need to access index.php.
TASK DETAIL https://phabricator.wikimedia.org/T58961
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: pywikipedia-bugs, Ladsgroup, valhallasw, hashar, jayvdb
pywikipedia-bugs@lists.wikimedia.org