Funcargs & other fun with pytest
by Brianna Laugher on Aug 18, 2012
- 17,638 views
Video - http://www.youtube.com/watch?v=DTNejE9EraI ...
Video - http://www.youtube.com/watch?v=DTNejE9EraI
Code - https://gist.github.com/3386951
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.