<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Talks and Tutorials</title> <link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '', VERSION: '2.3.4.1', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="top" title="None" href="index.html" /> <link rel="next" title="Feedback and contribute to py.test" href="develop.html" /> <link rel="prev" title="Working with non-python tests" href="example/nonpython.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="develop.html" title="Feedback and contribute to py.test" accesskey="N">next</a></li> <li class="right" > <a href="example/nonpython.html" title="Working with non-python tests" accesskey="P">previous</a> |</li> <li><a href="contents.html">pytest-2.3.4.1</a> »</li> <g:plusone></g:plusone> </ul> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <div id="searchbox" style="display: none"> <form class="search" action="search.html" method="get"> <input type="text" name="q" size="18" /> <input type="submit" value="Search" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> </div> <script type="text/javascript">$('#searchbox').show(0);</script> <h3>quicklinks</h3> <div style="text-align: left; font-size: 100%; vertical-align: middle;"> <table> <tr> <td> <a href="index.html">home</a> </td><td> <a href="contents.html">TOC/contents</a> </td></tr><tr><td> <a href="getting-started.html">install</a> </td><td> <a href="changelog.html">changelog</a> </td></tr><tr><td> <a href="example/index.html">examples</a> </td><td> <a href="customize.html">customize</a> </td></tr><tr><td> <a href="https://bitbucket.org/hpk42/pytest/issues?status=new&status=open">issues[bb]</a> </td><td> <a href="contact.html">contact</a> </td></tr></table> </div> <h3><a href="contents.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">Talks and Tutorials</a><ul> <li><a class="reference internal" href="#tutorial-examples-and-blog-postings">Tutorial examples and blog postings</a></li> <li><a class="reference internal" href="#older-conference-talks-and-tutorials">Older conference talks and tutorials</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="example/nonpython.html" title="previous chapter">Working with non-python tests</a></p> <h4>Next topic</h4> <p class="topless"><a href="develop.html" title="next chapter">Feedback and contribute to py.test</a></p> </div> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="talks-and-tutorials"> <h1>Talks and Tutorials<a class="headerlink" href="#talks-and-tutorials" title="Permalink to this headline">¶</a></h1> <div class="admonition note"> <p class="first admonition-title">Note</p> <p class="last">Upcoming: <a class="reference external" href="`http://www.python-academy.com/courses/specialtopics/python_course_testing.html">professional testing with pytest and tox</a> , 24th-26th June 2013, Leipzig.</p> </div> <div class="section" id="tutorial-examples-and-blog-postings"> <h2>Tutorial examples and blog postings<a class="headerlink" href="#tutorial-examples-and-blog-postings" title="Permalink to this headline">¶</a></h2> <p>Basic usage and funcargs:</p> <ul class="simple"> <li><a class="reference external" href="http://pythontesting.net/framework/pytest-introduction/">pytest introduction from Brian Okken (January 2013)</a></li> <li><a class="reference external" href="http://2012.pycon-au.org/schedule/52/view_talk?day=sunday">pycon australia 2012 pytest talk from Brianna Laugher</a> (<a class="reference external" href="http://www.youtube.com/watch?v=DTNejE9EraI">video</a>, <a class="reference external" href="http://www.slideshare.net/pfctdayelise/funcargs-other-fun-with-pytest">slides</a>, <a class="reference external" href="https://gist.github.com/3386951">code</a>)</li> <li><a class="reference external" href="http://www.youtube.com/watch?v=9LVqBQcFmyw">pycon 2012 US talk video from Holger Krekel</a></li> <li><a class="reference external" href="http://bitbucket.org/hpk42/pytest-tutorial1/raw/tip/pytest-basic.pdf">pycon 2010 tutorial PDF</a> and <a class="reference external" href="http://bitbucket.org/hpk42/pytest-tutorial1/">tutorial1 repository</a></li> </ul> <p>Fixtures and Function arguments:</p> <ul class="simple"> <li><a class="reference internal" href="fixture.html#fixtures"><em>pytest fixtures: explicit, modular, scalable</em></a></li> <li><a class="reference external" href="http://tetamap.wordpress.com/2009/03/03/monkeypatching-in-unit-tests-done-right/">monkey patching done right</a> (blog post, consult <a class="reference external" href="plugin/monkeypatch.html">monkeypatch plugin</a> for up-to-date API)</li> </ul> <p>Test parametrization:</p> <ul class="simple"> <li><a class="reference external" href="funcargs.html#test-generators">generating parametrized tests with funcargs</a> (uses deprecated <tt class="docutils literal"><span class="pre">addcall()</span></tt> API.</li> <li><a class="reference external" href="http://bruynooghe.blogspot.com/2010/06/pytest-test-generators-and-cached-setup.html">test generators and cached setup</a></li> <li><a class="reference external" href="http://tetamap.wordpress.com/2009/05/13/parametrizing-python-tests-generalized/">parametrizing tests, generalized</a> (blog post)</li> <li><a class="reference external" href="http://tetamap.wordpress.com/2009/05/14/putting-test-hooks-into-local-and-global-plugins/">putting test-hooks into local or global plugins</a> (blog post)</li> </ul> <p>Assertion introspection:</p> <ul class="simple"> <li><a class="reference external" href="http://pybites.blogspot.com/2011/07/behind-scenes-of-pytests-new-assertion.html">(07/2011) Behind the scenes of py.test’s new assertion rewriting</a></li> </ul> <p>Distributed testing:</p> <ul class="simple"> <li><a class="reference external" href="http://tetamap.wordpress.com/2009/03/23/new-simultanously-test-your-code-on-all-platforms/">simultaneously test your code on all platforms</a> (blog entry)</li> </ul> <p>Plugin specific examples:</p> <ul class="simple"> <li><a class="reference external" href="http://bruynooghe.blogspot.com/2009/12/skipping-slow-test-by-default-in-pytest.html">skipping slow tests by default in py.test</a> (blog entry)</li> <li><a class="reference external" href="plugin/index.html">many examples in the docs for plugins</a></li> </ul> </div> <div class="section" id="older-conference-talks-and-tutorials"> <h2>Older conference talks and tutorials<a class="headerlink" href="#older-conference-talks-and-tutorials" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li><a class="reference external" href="http://codespeak.net/download/py/ep2009-rapidtesting.pdf">ep2009-rapidtesting.pdf</a> tutorial slides (July 2009):<ul> <li>testing terminology</li> <li>basic py.test usage, file system layout</li> <li>test function arguments (<a class="reference external" href="funcargs.html">funcargs</a>) and test fixtures</li> <li>existing plugins</li> <li>distributed testing</li> </ul> </li> <li><a class="reference external" href="http://codespeak.net/download/py/ep2009-pytest.pdf">ep2009-pytest.pdf</a> 60 minute py.test talk, highlighting unique features and a roadmap (July 2009)</li> <li><a class="reference external" href="http://codespeak.net/download/py/pycon2009-pytest-introduction.zip">pycon2009-pytest-introduction.zip</a> slides and files, extended version of py.test basic introduction, discusses more options, also introduces old-style xUnit setup, looponfailing and other features.</li> <li><a class="reference external" href="http://codespeak.net/download/py/pycon2009-pytest-advanced.pdf">pycon2009-pytest-advanced.pdf</a> contain a slightly older version of funcargs and distributed testing, compared to the EuroPython 2009 slides.</li> </ul> </div> </div> </div> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="develop.html" title="Feedback and contribute to py.test" >next</a></li> <li class="right" > <a href="example/nonpython.html" title="Working with non-python tests" >previous</a> |</li> <li><a href="contents.html">pytest-2.3.4.1</a> »</li> <g:plusone></g:plusone> </ul> </div> <div class="footer"> © Copyright 2012, holger krekel. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-7597274-13']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> </body> </html>