Page MenuHomePhabricator

Set up comprehensive testing for the IABot
Closed, DeclinedPublic

Description

The InternetArchiveBot is a vital tool for many Wikipedia communitys and will only become more important in the years to come. The bot runs with numerous different configurations and has to deal with the idiosyncrasies of MediaWiki syntax and the community's wishes regarding link and template formatting.

We have an issue not only with bugs, but also with regressions or bugs that are introduced while trying to fix another one. For a piece of software that complex, there should be a comprehensive test suite that is easy to maintain and add to, so that each edit that was reported as a bug can be added as a test case to ensure that it will be handled fine by later versions of the bot as well.

Not sure how to set this up and where to start, but I'm happy to lend a hand. Since the bot's source is on GitHub, we might start by using Actions and see how far we get?

Related Objects

StatusSubtypeAssignedTask
DeclinedNone
OpenNone

Event Timeline

Harej triaged this task as Medium priority.Feb 4 2021, 2:11 AM

As I decline the task I want to be clear we are not declining the idea of writing tests. Rather, the notion of writing tests is very broad and likely to continue indefinitely, so it is not well scoped as an individual task.