9 items | 6 visits
List of useful websites for learning TDD, specifically Django/Python
Updated on Aug 05, 14
Created on Aug 04, 14
Category: Games
URL:
When testing something reliant on a values in settings.py override it and set a specific value for the test. Been caught a few times by not bothering.
My favourite ever Python library. Lets you mock datetime is all its flavours and literally freeze your apps. Essential if you are doing anything based around dates.
Good book with a very specific focus on TDD, Python and the web
The plain old Django poll tutorial, but approached through TDD. Useful first steps, but we don't need to worry about the Selenium stuff.
A quick reference for the different types of test doubles you can sue
A very nice way to present the various classifications of "Test Doubles" in a friendly conversation style article. Whilst Python's mock library provides these with less formal terminology, being able to recognise the techniques is important.
Useful article to read once you understand the basics of mocking
Good starting point for programmers who are aware of TDD but aren't sure where to start. Not Python specific but useful for the theory/approach.
Mock documentation for Python
9 items | 6 visits
List of useful websites for learning TDD, specifically Django/Python
Updated on Aug 05, 14
Created on Aug 04, 14
Category: Games
URL: