Your Linux Data Center Experts

Thanks to Bill Tucker and 2011's Code Retreat that he put on, I've become quite the convert to testing. I knew I should be doing it, but I never found the time to become really comfortable with them until Code Retreat.

However, especially when I was starting, I found I really needed some examples and wanted some boilerplate I could just drop in place. At the Code Retreat I had just recently come back across an entry I made on my personal Wiki that had some examples. Since then I've expanded on them and today I included some examples of testing Bottle web applications (I still totally love Bottle by the way).

I've create a github account that has these examples and related code such as a “Makefile” which automatically runs the test. You can find it at https://github.com/linsomniac/python-unittest-skeleton. I hope you find it as useful as I have.

comments powered by Disqus

Join our other satisfied clients. Contact us today.