jayvdb added a comment.
(Old comment not saved when I unplugged the wrong thing.., which is now a bit redundant) Regarding the mark decorator, I suspect that they could be used to achieve the same result, but the hard part will be building a solution that does not litter the test files with decorators needed only for `py.test` . Currently the test files are almost pure unittest`. A easy way into this problem is to create a `conftest.py` which accepts a command line argument, like `--site-only=en.wikipedia` which then plays with the number of tests that are collected and executed based on the custom attributes. Firstly, that is a mergable solution. And I suspect that by the time that has been built, the 'right' solution for a customisable nose-compatible plugin is then obvious. TASK DETAIL https://phabricator.wikimedia.org/T135659 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: AbdealiJK, jayvdb Cc: AbdealiJK, Aklapper, Zppix, jayvdb, pywikibot-bugs-list, Jay8g, Krenair _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
