Quantcast
Channel: Obey the Testing Goat!
Browsing all 39 articles
Browse latest View live

BDD with Django and Behave

I've started working on a new appendix for the book, which is meant to be an intro to BDD. Will you head on over to the online version of the book and tell me what you think? BDD appendix on Chimera If...

View Article


Image may be NSFW.
Clik here to view.

[OT] HiDPI on Ubuntu with a Samsung Ativ 9

This post isn't about TDD, but I just wanted to gather some notes into one place about how to get Hi-DPI working on Ubuntu. I found other sources but my hope is that this will bring all the important...

View Article


Image may be NSFW.
Clik here to view.

[OT] Autumn Leaves

To my usual readers that come hear for TDD, apologies, this is off-topic, normal service will resume shortly. I was in an autumnal mood yesterday, and found myself listening to 3 different versions of...

View Article

Image may be NSFW.
Clik here to view.

Better tests for Redis integrations with redislite

A colleague and I were staring at some ugly, mocky tests for our redis integration the other day, when I remembered someone at Pycon last year showing me a cool library called redislite -- basically, a...

View Article

Testing, async, asyncio, and performance

I recently did some experimenting with asyncio, and wanted to report back on how I got on with writing tests for it. While I was at it I was also able to compare its performance with a couple of other...

View Article


Intermediate TDD workshops in London and Portland

After many successful years of running my beginners' TDD/Django tutorial, I thought it might be time to have a crack at some more intermediate-level topics, so I'm announcing a couple of workshops. the...

View Article

Your feedback required re: a new edition

Mozilla has announced that they are retiring the Persona project, which I use in the book from chapter 15 onwards. This is sad news, because it was a great project, but also because it's going to break...

View Article

Coaches needed for Python Bootcamp @ Pycon US in Portland next week.

Coming to Pycon? Want to help some beginners to get to grips with Python, and get the most out of the conference? I need your help! Having observed the surprising number of beginners to be found at...

View Article


EuroPython 2016 call for beginners' day coaches.

Coming to EuroPython? Will you be there by the Sunday before it all starts? (the 17th) Want to help some beginners to get to grips with Python, and get the most out of the conference? I need your...

View Article


Plans for the second edition

The second edition was mostly prompted by the announcement by Mozilla that they were shutting down Persona in November 2016. Given that it would affect almost all the chapters from 15 thru to 21, it...

View Article

Image may be NSFW.
Clik here to view.

Second Edition update: Virtualenvs, Django 1.10, REST APIs, cleaner FTs...

A brief update on my progress for the second edition. Getting there! Virtualenvs all the way down. In the first edition, I made the judgement call that telling people to use virtualenvs at the very...

View Article

Upgraded to Selenium 3! (and Geckodriver)

Selenium 3 and Geckodriver Selenium 3 came out earlier this year, and the Mozilla project, those wonderful technohippies, have been pushing the standard forward (did someone say "bleeding edge"?), and...

View Article

Latest release (the last big one?): Python 3.6, Django 1.11 beta

Hi all! A brief overview of changes in the latest version, with hopefully a few pointers for people half-way through the book and looking to adapt. Python 3.6 and Django 1.11b: minimal changes, other...

View Article


Image may be NSFW.
Clik here to view.

Second edition is out! Reviews please!

I'm still not great at selfies... Here you get two for the price of one tho. The second edition is officially out! on Amazon.com on Amazon.co.uk on ebooks.com (DRM-free) on Safari Thanks to everyone...

View Article

Speeding up Django unit tests with SQLite, keepdb and /dev/shm

Here's the tldr version: DATABASES = { 'default': { 'ENGINE': 'your db settings as normal', [...] 'TEST': { # this gets you in-memory sqlite for tests, which is fast 'ENGINE':...

View Article


A Pytest pattern: using "parametrize" to customise nested fixtures.

The problem: customisable fixtures in pytest Let's say you're running along merrily with some fixtures that create database objects for you: @pytest.fixture def supplier(db): s = Supplier(...

View Article

Python Architecture Stuff: do we need more?

I've been learning lots of new stuff about application architecture recently, and I want to get a sense from you, dear reader, of whether these ideas are of interest, and whether we should try and...

View Article


New Book Excerpt: On Coupling and Abstractions

At MADE.com i’ve been working on a new book with the chief architect, Bob Gregory, in which we talk about application architecture and design. What follows is an excerpt, a standalone chapter in which...

View Article

Cosmic Python

Folks I've written a new book!Along with my coauthor Bob, we are proud to release "Architecture Patterns with Python", which you can find out more about at cosmicpython.com.The cosmic soubriquet is a...

View Article
Browsing all 39 articles
Browse latest View live