Right now we have very few automated tests for HTTPS Everywhere. We should add unittest, especially of how rulesets get applied.
Would like to help at some point, need to familiarize myself with the codebase / testing framework a bit -- but then would love to find ways to contribute in the future
Would like to help too. Any pointers on where can I start?
I write stuff like this fairly often - where should I start?
Wonderful, thank you all for your help! The current (very small) tests we have are in https-everywhere-tests/. To run them, run ./test.sh. Here are some areas new tests should cover:
RE Jacob's first point, I've been collecting some common (very basic) ruleset errors we see: #460
Right, that's another good area to work on: sanity testing the rulesets. However, I would say the place where we are the furthest behind is in testing the ruleset evaluation code itself, i.e. HTTPSRules.js.