NullHypothesis / exitmap

A fast and modular scanner for Tor exit relays. The canonical repository (including issue tracker) is at https://gitlab.torproject.org/tpo/network-health/exitmap

Home Page:https://www.cs.kau.se/philwint/spoiled_onions/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Increase test coverage

NullHypothesis opened this issue · comments

Test coverage is almost zero at this point, which means that there's quite a bit of code that has never been executed.

I would be interested in helping with this, do you have a preferred starting point?

Great, thanks for your interest, Frank! There's some rudimentary code in unittests.py which would be a good starting point. There are several functions in the code (e.g., in util.py) that are easy to test in isolation. For others, it might be more difficult.

okay, awesome. I'll start by adding tests to unittests.py