2010-10-11 05:45:45 +08:00
2010-07-27 03:15:15 +08:00
Talks and Tutorials
2009-07-04 22:14:14 +08:00
==========================
2017-05-18 05:47:51 +08:00
..
.. sidebar :: Next Open Trainings
2014-07-17 23:21:45 +08:00
2017-05-18 05:47:51 +08:00
`Professional Testing with Python
<http://www.python-academy.com/courses/specialtopics/python_course_testing.html>`_,
26-28 April 2017, Leipzig, Germany.
2014-07-17 23:21:45 +08:00
2009-07-04 22:14:14 +08:00
.. _`funcargs`: funcargs.html
2017-05-18 04:17:19 +08:00
Books
---------------------------------------------
2018-08-31 07:18:51 +08:00
- `pytest Quick Start Guide, by Bruno Oliveira (2018)
<https://www.packtpub.com/web-development/pytest-quick-start-guide>`_.
2017-05-18 04:17:19 +08:00
- `Python Testing with pytest, by Brian Okken (2017)
<https://pragprog.com/book/bopytest/python-testing-with-pytest>`_.
2014-07-29 21:06:37 +08:00
Talks and blog postings
2009-08-05 04:33:24 +08:00
---------------------------------------------
2018-11-01 08:24:18 +08:00
- pytest: recommendations, basic packages for testing in Python and Django, Andreu Vallbona, PyconES 2017 (`slides in english <http://talks.apsl.io/testing-pycones-2017/> `_ , `video in spanish <https://www.youtube.com/watch?v=K20GeR-lXDk> `_ )
2018-11-01 06:35:47 +08:00
2016-11-13 19:04:39 +08:00
- `Pythonic testing, Igor Starikov (Russian, PyNsk, November 2016)
<https://www.youtube.com/watch?v=_92nfdd5nK8>`_.
2016-03-17 13:37:49 +08:00
- `pytest - Rapid Simple Testing, Florian Bruhin, Swiss Python Summit 2016
<https://www.youtube.com/watch?v=rCBHkQ_LVIs>`_.
2015-11-11 11:28:59 +08:00
- `Improve your testing with Pytest and Mock, Gabe Hollombe, PyCon SG 2015
<https://www.youtube.com/watch?v=RcN26hznmk4>`_.
2014-07-29 21:06:37 +08:00
- `Introduction to pytest, Andreas Pelme, EuroPython 2014
2014-07-29 21:00:45 +08:00
<https://www.youtube.com/watch?v=LdVJj65ikRY>`_.
2014-07-29 21:06:37 +08:00
- `Advanced Uses of py.test Fixtures, Floris Bruynooghe, EuroPython
2014-07-29 21:00:45 +08:00
2014 <https://www.youtube.com/watch?v=IBC_dxr-4ps>`_.
2014-07-29 21:06:37 +08:00
- `Why i use py.test and maybe you should too, Andy Todd, Pycon AU 2013
<https://www.youtube.com/watch?v=P-AhpukDIik>`_
2013-01-21 16:04:01 +08:00
2014-07-29 21:06:37 +08:00
- `3-part blog series about pytest from @pydanny alias Daniel Greenfeld (January
2014-01-23 20:07:28 +08:00
2014) <http://pydanny.com/pytest-no-boilerplate-testing.html>`_
2014-07-29 21:06:37 +08:00
- `pytest: helps you write better Django apps, Andreas Pelme, DjangoCon
Europe 2014 <https://www.youtube.com/watch?v=aaArYVh6XSM>`_.
2010-02-10 01:32:17 +08:00
2014-07-29 21:06:37 +08:00
- :ref: `fixtures`
2012-08-26 22:30:01 +08:00
2014-07-29 21:06:37 +08:00
- `Testing Django Applications with pytest, Andreas Pelme, EuroPython
2013 <https://www.youtube.com/watch?v=aUf8Fkb7TaY>`_.
- `Testes pythonics com py.test, Vinicius Belchior Assef Neto, Plone
Conf 2013, Brazil <https://www.youtube.com/watch?v=QUKoq2K7bis>`_.
- `Introduction to py.test fixtures, FOSDEM 2013, Floris Bruynooghe
<https://www.youtube.com/watch?v=bJhRW4eZMco>`_.
- `pytest feature and release highlights, Holger Krekel (GERMAN, October 2013)
<http://pyvideo.org/video/2429/pytest-feature-and-new-release-highlights>`_
- `pytest introduction from Brian Okken (January 2013)
<http://pythontesting.net/framework/pytest-introduction/>`_
2009-08-05 04:33:24 +08:00
2016-07-05 08:30:50 +08:00
- pycon australia 2012 pytest talk from Brianna Laugher (`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> `_ )
- `pycon 2012 US talk video from Holger Krekel <http://www.youtube.com/watch?v=9LVqBQcFmyw> `_
- `monkey patching done right`_ (blog post, consult `monkeypatch plugin`_ for up-to-date API)
2009-08-05 04:33:24 +08:00
2011-09-06 17:43:42 +08:00
Test parametrization:
2009-08-05 04:33:24 +08:00
2016-07-05 08:30:50 +08:00
- `generating parametrized tests with fixtures`_ .
2010-07-27 03:15:15 +08:00
- `test generators and cached setup`_
- `parametrizing tests, generalized`_ (blog post)
- `putting test-hooks into local or global plugins`_ (blog post)
2009-08-05 04:33:24 +08:00
2011-09-06 17:43:42 +08:00
Assertion introspection:
2011-07-12 16:38:02 +08:00
2014-01-18 19:31:33 +08:00
- `(07/2011) Behind the scenes of pytest's new assertion rewriting
<http://pybites.blogspot.com/2011/07/behind-scenes-of-pytests-new-assertion.html>`_
2011-07-12 16:38:02 +08:00
2011-09-06 17:43:42 +08:00
Distributed testing:
2010-07-27 03:15:15 +08:00
2011-02-17 21:46:40 +08:00
- `simultaneously test your code on all platforms`_ (blog entry)
2010-07-27 03:15:15 +08:00
2011-09-06 17:43:42 +08:00
Plugin specific examples:
2009-08-05 04:33:24 +08:00
2014-01-18 19:31:33 +08:00
- `skipping slow tests by default in pytest`_ (blog entry)
2009-12-21 05:10:44 +08:00
2010-07-27 03:15:15 +08:00
- `many examples in the docs for plugins`_
2009-08-05 04:33:24 +08:00
2014-01-18 19:31:33 +08:00
.. _`skipping slow tests by default in pytest`: http://bruynooghe.blogspot.com/2009/12/skipping-slow-test-by-default-in-pytest.html
2016-07-05 08:30:50 +08:00
.. _`many examples in the docs for plugins`: plugins.html
.. _`monkeypatch plugin`: monkeypatch.html
.. _`application setup in test functions with fixtures`: fixture.html#interdependent-fixtures
2011-02-17 21:46:40 +08:00
.. _`simultaneously test your code on all platforms`: http://tetamap.wordpress.com/2009/03/23/new-simultanously-test-your-code-on-all-platforms/
2010-07-27 03:15:15 +08:00
.. _`monkey patching done right`: http://tetamap.wordpress.com/2009/03/03/monkeypatching-in-unit-tests-done-right/
2009-08-05 04:33:24 +08:00
.. _`putting test-hooks into local or global plugins`: http://tetamap.wordpress.com/2009/05/14/putting-test-hooks-into-local-and-global-plugins/
2010-07-27 03:15:15 +08:00
.. _`parametrizing tests, generalized`: http://tetamap.wordpress.com/2009/05/13/parametrizing-python-tests-generalized/
2016-07-05 08:30:50 +08:00
.. _`generating parametrized tests with fixtures`: parametrize.html#test-generators
2010-06-14 21:45:31 +08:00
.. _`test generators and cached setup`: http://bruynooghe.blogspot.com/2010/06/pytest-test-generators-and-cached-setup.html