My talk at PyCon AU 2012 - "Funcargs and other fun with pytest"

24 August 2012, 00:50

(What’s six months between friends…)

This last weekend I went down to Hobart for the third Australian PyCon conference. The first two were in Sydney, and the next one will also be in Hobart. I had a ball! I will hopefully revive this blog a bit more to write about other aspects of the conference but first up: the talk I gave, which was about the testing library pytest.

Pytest is a mature and comprehensive testing suite for Python projects, but it can be a little intimidating for newcomers. Where do these mysterious funcargs come from, how do parametrised tests work, and where are my xUnit-style setUp and tearDown methods?

Pytest lives by “convention over configuration” – which is great once you know what the conventions are. This talk will look at real examples of pytest in use, emphasising the features that differentiate it from nose.

Video:

I had fun picking out the comics – they are from comically vintage.

Slides, code.

tags: , , ,

---

Comment

Subscribe to comments on this post: rss / atom

Commenting is closed for this article.