<!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>講演とチュートリアル</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.2.4.0', 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> <script type="text/javascript" src="_static/translations.js"></script> <link rel="top" title="None" href="index.html" /> <link rel="next" title="フィードバックや py.test への貢献" href="develop.html" /> <link rel="prev" title="プラグインと conftest ファイルの連携" href="plugins.html" /> </head> <body> <div class="related"> <h3>ナビゲーション</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="py-modindex.html" title="Pythonモジュール索引" >モジュール</a></li> <li class="right" > <a href="develop.html" title="フィードバックや py.test への貢献" accesskey="N">次へ</a> |</li> <li class="right" > <a href="plugins.html" title="プラグインと conftest ファイルの連携" accesskey="P">前へ</a> |</li> <li><a href="contents.html">pytest-2.2.4.0</a> »</li> </ul> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="contents.html">目次</a></h3> <ul> <li><a class="reference internal" href="#">講演とチュートリアル</a><ul> <li><a class="reference internal" href="#id2">チュートリアルやブログ記事</a></li> <li><a class="reference internal" href="#id3">カンファレンス講演とチュートリアル</a></li> </ul> </li> </ul> <h4>前のトピックへ</h4> <p class="topless"><a href="plugins.html" title="前の章へ">プラグインと conftest ファイルの連携</a></p> <h4>次のトピックへ</h4> <p class="topless"><a href="develop.html" title="次の章へ">フィードバックや py.test への貢献</a></p> <div id="searchbox" style="display: none"> <h3>クイック検索</h3> <form class="search" action="search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="検索" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> モジュール、クラス、または関数名を入力してください </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="id1"> <h1>講演とチュートリアル<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1> <div class="section" id="id2"> <h2>チュートリアルやブログ記事<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2> <p>基本的な使用方法と関数の引数 (funcarg):</p> <ul class="simple"> <li><a class="reference external" href="http://bitbucket.org/hpk42/pytest-tutorial1/raw/tip/pytest-basic.pdf">pycon 2010 tutorial PDF</a> と <a class="reference external" href="http://bitbucket.org/hpk42/pytest-tutorial1/">tutorial1 repository</a></li> </ul> <p>関数の引数:</p> <ul class="simple"> <li><a class="reference internal" href="example/mysetup.html#mysetup"><em>Mysetup パターン: アプリケーションに特化したテストフィクスチャ</em></a></li> <li><a class="reference external" href="funcargs.html#appsetup">application setup in test functions with funcargs</a></li> </ul> <ul class="simple"> <li><a class="reference external" href="http://tetamap.wordpress.com/2009/03/03/monkeypatching-in-unit-tests-done-right/">monkey patching done right</a> (ブログ記事、実際の 1.0 API は <a class="reference external" href="plugin/monkeypatch.html">monkeypatch plugin</a> を参照)</li> </ul> <p>パラメーターテスト:</p> <ul class="simple"> <li><a class="reference external" href="funcargs.html#test-generators">generating parametrized tests with funcargs</a> (非推奨 <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> (ブログ記事)</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> (ブログ記事)</li> </ul> <p>アサートイントロスペクション:</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>分散テスト:</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> (ブログ記事)</li> </ul> <p>プラグインに特化した例:</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> (ブログ記事)</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="id3"> <h2>カンファレンス講演とチュートリアル<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2> <ul class="simple"> <li><a class="reference external" href="http://codespeak.net/download/py/ep2009-rapidtesting.pdf">ep2009-rapidtesting.pdf</a> チュートリアルのスライド (2009年7月):<ul> <li>テストの専門用語</li> <li>基本的な py.test 使用方法、ファイルシステムの配置</li> <li>テスト関数の引数 (<a class="reference external" href="funcargs.html">funcargs</a>) とテストフィクスチャ</li> <li>既存のプラグイン</li> <li>分散テスト</li> </ul> </li> </ul> <ul class="simple"> <li><a class="reference external" href="http://codespeak.net/download/py/ep2009-pytest.pdf">ep2009-pytest.pdf</a>: 60分の py.test 講演、独特の機能やロードマップを強調して説明 (2009年7月)</li> </ul> <ul class="simple"> <li><a class="reference external" href="http://codespeak.net/download/py/pycon2009-pytest-introduction.zip">pycon2009-pytest-introduction.zip</a>: スライドとファイル、py.test 入門の拡張バージョン、より多くのオプションの議論、古いスタイル xUnit setup の導入、looponfailing とその他の機能</li> </ul> <ul class="simple"> <li><a class="reference external" href="http://codespeak.net/download/py/pycon2009-pytest-advanced.pdf">pycon2009-pytest-advanced.pdf</a>: EuroPython 2009 のスライドと比較して、ちょっと古いバージョンの funcargs や分散テストを含む</li> </ul> </div> </div> </div> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>ナビゲーション</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="py-modindex.html" title="Pythonモジュール索引" >モジュール</a></li> <li class="right" > <a href="develop.html" title="フィードバックや py.test への貢献" >次へ</a> |</li> <li class="right" > <a href="plugins.html" title="プラグインと conftest ファイルの連携" >前へ</a> |</li> <li><a href="contents.html">pytest-2.2.4.0</a> »</li> </ul> </div> <div class="footer"> © Copyright 2011, holger krekel et alii. このドキュメントは <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3 で生成しました。 </div> </body> </html>