s-rah / onionscan

OnionScan is a free and open source tool for investigating the Dark Web.
https://twitter.com/OnionScan
Other
2.89k stars 599 forks source link

Improve Code Coverage #103

Open s-rah opened 8 years ago

s-rah commented 8 years ago

Currently our coverage sits at a rather terrible 25% Coverage Status - this is my fault for not prioritizing tests earlier on.

@laanwj did a great job at adding tests for many components as well as general pattern with the EnvContext (https://github.com/s-rah/onionscan/blob/master/deanonymization/env_test.go)

We should apply this and others to writing more tests - with an emphasis on /spider /protocol and /deanonymization

We will likely never reach 100% due to the varying UX elements - so I'm going to put a preliminary target of 80% to reach by OnionScan 0.3 release. Any help anyone can contribute to this would be very much appreciated!