Writing 2 unit tests a day keeps the bug doctor away ;-)

Dear all

Here are some of the test cases I came up with…

Bye::testReadHeader() is pretty interesting and I believe I learned a lot by writing and making it work ;-)
I am looking into why the last test assertion is failing ;-)
I have taken the technique of circumventing around private declarations from Mike Feather’s book …

— cheers atul

Attached Files:

Would you like to post a relpy?


This post starts a thread.
Follow-ups:
Re: Writing 2 unit tests a day keeps the bug doctor away ;-)
Hi Atul, That’s a neat trick to derive a class Bye in order to make all protected functions public and be able to test them :-). Is that what you were (more...)