1
2Talks and Tutorials
3==========================
4
5.. sidebar:: Next Open Trainings
6
7   `professional testing with pytest and tox <http://www.python-academy.com/courses/specialtopics/python_course_testing.html>`_, 27-29th June 2016, Freiburg, Germany
8
9.. _`funcargs`: funcargs.html
10
11Talks and blog postings
12---------------------------------------------
13
14.. _`tutorial1 repository`: http://bitbucket.org/pytest-dev/pytest-tutorial1/
15.. _`pycon 2010 tutorial PDF`: http://bitbucket.org/pytest-dev/pytest-tutorial1/raw/tip/pytest-basic.pdf
16
17- `pytest - Rapid Simple Testing, Florian Bruhin, Swiss Python Summit 2016
18  <https://www.youtube.com/watch?v=rCBHkQ_LVIs>`_.
19
20- `Improve your testing with Pytest and Mock, Gabe Hollombe, PyCon SG 2015
21  <https://www.youtube.com/watch?v=RcN26hznmk4>`_.
22
23- `Introduction to pytest, Andreas Pelme, EuroPython 2014
24  <https://www.youtube.com/watch?v=LdVJj65ikRY>`_.
25
26- `Advanced Uses of py.test Fixtures, Floris Bruynooghe, EuroPython
27  2014 <https://www.youtube.com/watch?v=IBC_dxr-4ps>`_.
28
29- `Why i use py.test and maybe you should too, Andy Todd, Pycon AU 2013
30  <https://www.youtube.com/watch?v=P-AhpukDIik>`_
31
32- `3-part blog series about pytest from @pydanny alias Daniel Greenfeld (January
33  2014) <http://pydanny.com/pytest-no-boilerplate-testing.html>`_
34
35- `pytest: helps you write better Django apps, Andreas Pelme, DjangoCon
36  Europe 2014 <https://www.youtube.com/watch?v=aaArYVh6XSM>`_.
37
38- :ref:`fixtures`
39
40- `Testing Django Applications with pytest, Andreas Pelme, EuroPython
41  2013 <https://www.youtube.com/watch?v=aUf8Fkb7TaY>`_.
42
43- `Testes pythonics com py.test, Vinicius Belchior Assef Neto, Plone
44  Conf 2013, Brazil <https://www.youtube.com/watch?v=QUKoq2K7bis>`_.
45
46- `Introduction to py.test fixtures, FOSDEM 2013, Floris Bruynooghe
47  <https://www.youtube.com/watch?v=bJhRW4eZMco>`_.
48
49- `pytest feature and release highlights, Holger Krekel (GERMAN, October 2013)
50  <http://pyvideo.org/video/2429/pytest-feature-and-new-release-highlights>`_
51
52- `pytest introduction from Brian Okken (January 2013)
53  <http://pythontesting.net/framework/pytest-introduction/>`_
54
55- `monkey patching done right`_ (blog post, consult `monkeypatch
56  plugin`_ for up-to-date API)
57
58Test parametrization:
59
60- `generating parametrized tests with funcargs`_ (uses deprecated ``addcall()`` API.
61- `test generators and cached setup`_
62- `parametrizing tests, generalized`_ (blog post)
63- `putting test-hooks into local or global plugins`_ (blog post)
64
65Assertion introspection:
66
67- `(07/2011) Behind the scenes of pytest's new assertion rewriting
68  <http://pybites.blogspot.com/2011/07/behind-scenes-of-pytests-new-assertion.html>`_
69
70Distributed testing:
71
72- `simultaneously test your code on all platforms`_ (blog entry)
73
74Plugin specific examples:
75
76- `skipping slow tests by default in pytest`_ (blog entry)
77
78- `many examples in the docs for plugins`_
79
80.. _`skipping slow tests by default in pytest`: http://bruynooghe.blogspot.com/2009/12/skipping-slow-test-by-default-in-pytest.html
81.. _`many examples in the docs for plugins`: plugin/index.html
82.. _`monkeypatch plugin`: plugin/monkeypatch.html
83.. _`application setup in test functions with funcargs`: funcargs.html#appsetup
84.. _`simultaneously test your code on all platforms`: http://tetamap.wordpress.com/2009/03/23/new-simultanously-test-your-code-on-all-platforms/
85.. _`monkey patching done right`: http://tetamap.wordpress.com/2009/03/03/monkeypatching-in-unit-tests-done-right/
86.. _`putting test-hooks into local or global plugins`: http://tetamap.wordpress.com/2009/05/14/putting-test-hooks-into-local-and-global-plugins/
87.. _`parametrizing tests, generalized`: http://tetamap.wordpress.com/2009/05/13/parametrizing-python-tests-generalized/
88.. _`generating parametrized tests with funcargs`: funcargs.html#test-generators
89.. _`test generators and cached setup`: http://bruynooghe.blogspot.com/2010/06/pytest-test-generators-and-cached-setup.html
90
91Older conference talks and tutorials
92----------------------------------------
93
94- `pycon australia 2012 pytest talk from Brianna Laugher
95  <http://2012.pycon-au.org/schedule/52/view_talk?day=sunday>`_ (`video <http://www.youtube.com/watch?v=DTNejE9EraI>`_, `slides <http://www.slideshare.net/pfctdayelise/funcargs-other-fun-with-pytest>`_, `code <https://gist.github.com/3386951>`_)
96- `pycon 2012 US talk video from Holger Krekel <http://www.youtube.com/watch?v=9LVqBQcFmyw>`_
97- `pycon 2010 tutorial PDF`_ and `tutorial1 repository`_
98
99- `ep2009-rapidtesting.pdf`_ tutorial slides (July 2009):
100
101  - testing terminology
102  - basic pytest usage, file system layout
103  - test function arguments (funcargs_) and test fixtures
104  - existing plugins
105  - distributed testing
106
107- `ep2009-pytest.pdf`_ 60 minute pytest talk, highlighting unique features and a roadmap (July 2009)
108
109- `pycon2009-pytest-introduction.zip`_ slides and files, extended version of pytest basic introduction, discusses more options, also introduces old-style xUnit setup, looponfailing and other features.
110
111- `pycon2009-pytest-advanced.pdf`_ contain a slightly older version of funcargs and distributed testing, compared to the EuroPython 2009 slides.
112
113.. _`ep2009-rapidtesting.pdf`: http://codespeak.net/download/py/ep2009-rapidtesting.pdf
114.. _`ep2009-pytest.pdf`: http://codespeak.net/download/py/ep2009-pytest.pdf
115.. _`pycon2009-pytest-introduction.zip`: http://codespeak.net/download/py/pycon2009-pytest-introduction.zip
116.. _`pycon2009-pytest-advanced.pdf`: http://codespeak.net/download/py/pycon2009-pytest-advanced.pdf
117