Aug 07, 2017
This post explores how to extract arrangement code when working with the Arrange Act Assert pattern so that it can be used with certainty across the test suite.
Jul 06, 2017
This post introduces the Arrange Act Assert pattern of testing and shows how it can be used in a Python context with Pytest.
May 30, 2017
An updated simple assertion helper for comparing instances of Django’s Q objects using pytest in Python 3.
Jan 04, 2017
My current Vim setup for Python development.
Nov 13, 2016
Using pip-tools with multiple requirements files can be difficult. This post describes my current workflow that manages the complexity with a Makefile.
Oct 12, 2016
Exploring the various model instance factories available for Django. Each factory is tested based on the quality of the instances it creates. Bonus: talk version and slides also available.
May 12, 2016
Exploring Python’s unittest module boolean assert methods and how they can be misleading in certain situations, but not if you RTFM of course.
May 04, 2016
How can documenting an API help us to communicate with our team and API consumer developers efficiently?
Mar 28, 2016
A super simple assertion helper for comparing instances of Django’s Q objects.
Nov 15, 2015
Confirming that Django can screw up your data when saving, and exploring why this is still the case.
Jan 09, 2015
A small Python 3 sketch of a solution to a water pouring problem.
Nov 17, 2014
Found that tests on a recent project started breaking for no clear reason, and it turned out it was because I’d used get to retrieve values from Contexts.
Oct 12, 2014
For the last month I’ve been using Codeship for Continuous Integration on my current client project. These are my current thoughts on this hosted service that works with Github and BitBucket repositories.
Mar 29, 2014
Agencies often provide flat designs to web developers as a specification, but these only scratch the surface of a true website functional specification. This is a check-list of features which can be fleshed out to start the journey towards a full functional spec.
Dec 14, 2013
Notes to myself on generators and how to create them with generator expressions and the yield statement.
Nov 19, 2013
Should detailed history be kept for development features, if so, where?
Oct 22, 2013
Notes to myself about Python decorators with a focus on making them testable.
Jun 16, 2013
Talk at Pyramid London meetup about testing strategies for Pyramid applications.
May 08, 2013
Talk at the first Pyramid London meetup about the Pyramid Router, URL Traversal and Dispatch.
Mar 29, 2013
Migrating a project from Django 1.4 to Django 1.5 had a couple of gotchas that cost me dev time.
Feb 21, 2013
A tweaked fork of the Pelican Svbtle theme with some cleaned CSS and HTML.
Jan 20, 2013
My Mako question got no views and no answers - should we be using Mako if things are so quiet?