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
==========================
.. _`funcargs`: funcargs.html
2011-09-06 17:43:42 +08:00
Tutorial examples and blog postings
2009-08-05 04:33:24 +08:00
---------------------------------------------
2010-02-10 01:32:17 +08:00
.. _`tutorial1 repository`: http://bitbucket.org/hpk42/pytest-tutorial1/
.. _`pycon 2010 tutorial PDF`: http://bitbucket.org/hpk42/pytest-tutorial1/raw/tip/pytest-basic.pdf
2011-09-06 17:43:42 +08:00
Basic usage and funcargs:
2010-02-10 01:32:17 +08:00
- `pycon 2010 tutorial PDF`_ and `tutorial1 repository`_
2011-09-06 17:43:42 +08:00
Function arguments:
2009-08-05 04:33:24 +08:00
2010-10-27 23:36:27 +08:00
- :ref:`mysetup`
2010-07-27 03:15:15 +08:00
- `application setup in test functions with funcargs`_
2009-08-05 04:33:24 +08:00
- `monkey patching done right`_ (blog post, consult `monkeypatch
plugin`_ for actual 1.0 API)
2011-09-06 17:43:42 +08:00
Test parametrization:
2009-08-05 04:33:24 +08:00
2010-07-27 03:15:15 +08:00
- `generating parametrized tests with funcargs`_
- `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
- `(07/2011) Behind the scenes of py.test's new assertion rewriting
<http://pybites.blogspot.com/2011/07/behind-scenes-of-pytests-new-assertion.html>`_
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
2009-12-21 05:10:44 +08:00
- `skipping slow tests by default in py.test`_ (blog entry)
2010-07-27 03:15:15 +08:00
- `many examples in the docs for plugins`_
2009-08-05 04:33:24 +08:00
2009-12-21 05:10:44 +08:00
.. _`skipping slow tests by default in py.test`: http://bruynooghe.blogspot.com/2009/12/skipping-slow-test-by-default-in-pytest.html
2009-08-19 01:04:57 +08:00
.. _`many examples in the docs for plugins`: plugin/index.html
2009-08-05 04:33:24 +08:00
.. _`monkeypatch plugin`: plugin/monkeypatch.html
.. _`application setup in test functions with funcargs`: funcargs.html#appsetup
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/
2009-08-05 04:33:24 +08:00
.. _`generating parametrized tests with funcargs`: funcargs.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
2009-08-05 04:33:24 +08:00
2011-09-06 17:43:42 +08:00
Conference talks and tutorials
2009-08-05 04:33:24 +08:00
----------------------------------------
2009-07-04 22:14:14 +08:00
2010-07-27 03:15:15 +08:00
- `ep2009-rapidtesting.pdf`_ tutorial slides (July 2009):
2009-07-04 22:14:14 +08:00
2010-07-27 03:15:15 +08:00
- testing terminology
2009-07-04 22:14:14 +08:00
- basic py.test usage, file system layout
2010-07-27 03:15:15 +08:00
- test function arguments (funcargs_) and test fixtures
- existing plugins
- distributed testing
2009-07-04 22:14:14 +08:00
2010-07-27 03:15:15 +08:00
- `ep2009-pytest.pdf`_ 60 minute py.test talk, highlighting unique features and a roadmap (July 2009)
2009-07-04 22:14:14 +08:00
2010-07-27 03:15:15 +08:00
- `pycon2009-pytest-introduction.zip`_ slides and files, extended version of py.test basic introduction, discusses more options, also introduces old-style xUnit setup, looponfailing and other features.
2009-07-04 22:14:14 +08:00
2010-07-27 03:15:15 +08:00
- `pycon2009-pytest-advanced.pdf`_ contain a slightly older version of funcargs and distributed testing, compared to the EuroPython 2009 slides.
2009-07-04 22:14:14 +08:00
.. _`ep2009-rapidtesting.pdf`: http://codespeak.net/download/py/ep2009-rapidtesting.pdf
.. _`ep2009-pytest.pdf`: http://codespeak.net/download/py/ep2009-pytest.pdf
.. _`pycon2009-pytest-introduction.zip`: http://codespeak.net/download/py/pycon2009-pytest-introduction.zip
.. _`pycon2009-pytest-advanced.pdf`: http://codespeak.net/download/py/pycon2009-pytest-advanced.pdf