[HTTPS-Everywhere] A tool to help write test URLs

Jacob Hoffman-Andrews jsha at eff.org
Fri Mar 20 13:42:32 PDT 2015


Hi all,

I wrote a small Python tool to suggest test URL tags. It's available in
utils/test-generator.py.

The test-generator tries to expand all regexes that it sees into a list
of domains that would match that regex. This works for regexes like
(foo|bar).example.com, but not for [\w-].example.com: for those types of
wildcards you'll still have to write a set of (actually existing)
example URLs.

Hopefully this will help writing test URLs for large, existing rulesets.
The ideal approach is to modify them to match the new style guide, but
for some of the largest rulesets this may be too time consuming, so I
hope this helps!

Thanks,
Jacob



More information about the HTTPS-Everywhere mailing list