AbdealiJK added a comment.
I tried out pytest. The complete output can be found here: https://travis-ci.org/AbdealiJK/pywikibot-core/builds/128659687 Final stats found (for the 1st travis build) was: `10 failed, 1787 passed, 282 skipped, 40 xfailed, 5 pytest-warnings, 1 error in 2135.09 seconds ` I think this is actually pretty good, I havent checked out all the failed tests, but a few were because of TimeOutErrors and a few just failed (AssertionErrors, Not sure why). I don't have a complete understanding of all the tests, so maybe someone more experienced could take a look at the logs. I think it may have something to do with me not having a sysops (Some failed messages had "no sysop configured" in them) ? @jayvdb About the metaclass parametrization you mentioned, it worked fine. date_tests and archivebot_tests worked as expected. Also, It'd be a good idea to make a simple checklist of all the things that we need in a test system. I'm not sure what is required in a test suite. Pytest's output is like this: tests/add_text_tests.py .. tests/api_tests.py ........................................s..s....F.s..... ## ... etc etc etc ... ## But it can be customized using pytest-sugar <https://pivotfinland.com/pytest-sugar/> and also using the pytest hooks in conftest <https://pytest.org/latest/writing_plugins.html> TASK DETAIL https://phabricator.wikimedia.org/T115313 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb, AbdealiJK Cc: AbdealiJK, zhuyifei1999, Aklapper, pywikibot-bugs-list, XZise, jayvdb _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
