Mocking django class based views

While going through Appendix C I quickly ran into trouble with the mocky Unit test for the new list view when I converted it to a class based view. the following is a description of how I made it work.


Read More

A better way to run QUnit tests.

There is a much simpler and better way to run QUnit tests for Test-Driven Development with Python

After trying to use the xUnit plugin for Jenkins (which I will be writing about more in depth soon) I ran into the problem of generating JUnit reports for QUnit tests. This article is about my solution to that problem.


Read More

retry helper for BrokenPipeError in selenium

While going over chapter 21 of Test-Driven Development with Python I kept getting failing tests with

BrokenPipeError: [Errno 32] Broken pipe exception

This article describes my workaround for this problem.


Read More