https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
Web browser: --- Bug ID: 58941 Summary: [tracking] Missing unit tests Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Keywords: easy Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: valhallasw@arctus.nl Blocks: 58940 Classification: Unclassified Mobile Platform: ---
This is a bug to track unit tests that should be added. These bugs might be interesting for new contributors.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
Merlijn van Deen valhallasw@arctus.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |58943
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
Andre Klapper aklapper@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |tracking Blocks| |2007
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
Bug 58941 depends on bug 58943, which changed state.
Bug 58943 Summary: Archivebot: create unit tests for Timestripper https://bugzilla.wikimedia.org/show_bug.cgi?id=58943
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
Bug 58941 depends on bug 58943, which changed state.
Bug 58943 Summary: Archivebot: create unit tests for Timestripper https://bugzilla.wikimedia.org/show_bug.cgi?id=58943
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |PATCH_TO_REVIEW Resolution|FIXED |---
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
Bug 58941 depends on bug 58943, which changed state.
Bug 58943 Summary: Archivebot: create unit tests for Timestripper https://bugzilla.wikimedia.org/show_bug.cgi?id=58943
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
Bug 58941 depends on bug 58943, which changed state.
Bug 58943 Summary: Archivebot: create unit tests for Timestripper https://bugzilla.wikimedia.org/show_bug.cgi?id=58943
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |PATCH_TO_REVIEW Resolution|FIXED |---
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
Bug 58941 depends on bug 58943, which changed state.
Bug 58943 Summary: Archivebot: create unit tests for Timestripper https://bugzilla.wikimedia.org/show_bug.cgi?id=58943
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
--- Comment #1 from Andre Klapper aklapper@wikimedia.org --- For potential contributors (as this is marked as "easy"), where would I find more information how to write unit tests? Or would I just investigate existing past patches https://gerrit.wikimedia.org/r/#/c/106841/ myself?
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
Andre Klapper aklapper@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |need-unittest
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
--- Comment #2 from Merlijn van Deen valhallasw@arctus.nl --- Looking at old patches, or checking existing tests in the tests/ subdirectory are indeed the best options. I don't think there's any pywikibot-specific documentation for writing unit tests, but the python unittest docs ( http://docs.python.org/2/library/unittest.html ) will probably be useful.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
Merlijn van Deen valhallasw@arctus.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |65013
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |57602
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricordisamoa@openmailbox.or | |g Component|General |tests
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |70336
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |72681
https://bugzilla.wikimedia.org/show_bug.cgi?id=58941 Bug 58941 depends on bug 72681, which changed state.
Bug 72681 Summary: copy JavaScript Title tests https://bugzilla.wikimedia.org/show_bug.cgi?id=72681
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org