MediaWikiAGE / MAGE

MediaWiki Automated Graphical Editor. Mostly meant to be a replacement for AutoWikiBrowser (AWB).
MIT License
7 stars 7 forks source link

Create automated tests #36

Open owlnai opened 3 years ago

owlnai commented 3 years ago

Considering stability is a must in this kind of projects, automating tests is a must. GitHub does have support for them on PRs, meaning that if I want to introduce a change that somehow breaks the login flow, my PR would have a red mark until I fix it.

Of course, there can be false positives and sometimes you need to ignore the test errors, but it can solve bugs before they appear!

There are two major types:

Since this requires major work to decide on how we're going to approach testing, I believe this shouldn't be a priority for now, but should be before stable release.

Helcostr commented 3 years ago

We can do this after MVP is made. I like your suggestions.