Re: [tor-dev] Unit testing blog posts

2012-02-16 Thread Damian Johnson
Nice posts and thanks for improving the tor tests! I'm not entirely in agreement with the last point (about tests covering all cases). If the test space is decently small then exercising everything can better ensure that you don't violate a set of invariants. For example, one of stem's unit tests a

Re: [tor-dev] Unit testing blog posts

2012-02-16 Thread Tim Wilde
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/15/2012 6:07 PM, Esteban Manchado Velázquez wrote: > I ended up publishing it in two parts :-) Here are the URLs: > > > http://hcoder.org/2012/02/13/unit-testing-advice-for-seasoned-hackers-12/ > > > http://hcoder.org/2012/02/15/unit-testing-a