https://bugzilla.wikimedia.org/show_bug.cgi?id=50344

       Web browser: ---
            Bug ID: 50344
           Summary: Set up unit test running for pywikibot/core
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Continuous integration
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

pywikibot/core has unit tests that are triggered by running "python setup.py
test". If the script exits with a status code of 0, they all passed. Otherwise
it's a failure.

A little bit of of setup needs to be done first:

A user-config.py needs to be placed in ~/.pywikibot/user-config.py (I will
upload an example one). ~/.pywikibot will need to be writable by the script
since it will create temporary cache files.

Is there any way we can provide a password that will be used to test functions
only available to a logged in user?

Since anyone can write code to run on any wiki, these should only be run for
whitelisted users (for now this can be the pywikibot gerrit group) or when
being merged.

Also, this should be non-voting for now since all of our tests aren't passing
:/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to