Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 7f671eb35339cf812de52087b0d93519 > files > 400

python3-pytest-2.3.5-3.fc18.noarch.rpm



<!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>Pytest へようこそ!</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="#" />
    <link rel="up" title="基本から始めよう" href="overview.html" />
    <link rel="next" title="インストールして始めよう" href="getting-started.html" />
    <link rel="prev" title="基本から始めよう" href="overview.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="getting-started.html" title="インストールして始めよう"
             accesskey="N">次へ</a> |</li>
        <li class="right" >
          <a href="overview.html" title="基本から始めよう"
             accesskey="P">前へ</a> |</li>
        <li><a href="contents.html">pytest-2.2.4.0</a> &raquo;</li>
          <li><a href="overview.html" accesskey="U">基本から始めよう</a> &raquo;</li> 
      </ul>
    </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h4>前のトピックへ</h4>
  <p class="topless"><a href="overview.html"
                        title="前の章へ">基本から始めよう</a></p>
  <h4>次のトピックへ</h4>
  <p class="topless"><a href="getting-started.html"
                        title="次の章へ">インストールして始めよう</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="pytest">
<h1>Pytest へようこそ!<a class="headerlink" href="#pytest" title="このヘッドラインへのパーマリンク">¶</a></h1>
<ul class="simple">
<li><strong>長い間開発され、全ての機能を備えたテストツール</strong></li>
</ul>
<blockquote>
<div><ul class="simple">
<li>Posix/Windows, Python 2.4-3.2, PyPy, Jython 2.5.1 に対応</li>
<li><a class="reference internal" href="contents.html#toc"><em>包括的なオンラインドキュメント</em></a> と <a class="reference external" href="pytest.pdf">PDF ドキュメント</a></li>
<li>継続的に <a class="reference external" href="http://hudson.testrun.org/view/pytest/job/pytest/">多くの Python インタープリターでテスト</a></li>
<li><a class="reference internal" href="projects.html#projects"><em>様々なプロジェクトと組織</em></a> の、数万もの幅広いテストスイートで利用</li>
<li>多くの <a class="reference internal" href="example/index.html#examples"><em>テストサンプル</em></a> が付属</li>
<li><a class="reference internal" href="goodpractises.html#goodpractises"><em>優れたインテグレーションプラクティス</em></a> に対応</li>
</ul>
</div></blockquote>
<ul class="simple">
<li><strong>ボイラープレート (ひな形) のいらないテストを提供</strong></li>
</ul>
<blockquote>
<div><ul class="simple">
<li><a class="reference internal" href="getting-started.html#getstarted"><em>簡単に始められる</em></a></li>
<li>洗練された <a class="reference internal" href="usage.html#usage"><em>オプションの使い方</em></a></li>
<li><a class="reference internal" href="assert.html#assert-with-the-assert-statement"><em>assert 文によるアサーション</em></a></li>
<li>分かりやすい <a class="reference internal" href="example/reportingdemo.html#tbreportdemo"><em>トレースバックと失敗時のレポート</em></a></li>
<li><a class="reference internal" href="capture.html#printdebugging"><em>print デバッグ</em></a> と <a class="reference internal" href="capture.html#captures"><em>テスト実行時の標準出力のキャプチャ</em></a></li>
<li>テストのコーディングスタイルを <span class="target" id="index-0"></span><a class="pep reference external" href="http://www.python.org/dev/peps/pep-0008"><strong>PEP 8</strong></a> 準拠に対応</li>
</ul>
</div></blockquote>
<ul class="simple">
<li><strong>機能テストと複雑なテストのセットアップ</strong></li>
</ul>
<blockquote>
<div><ul class="simple">
<li>(2.2 の新機能) <a class="reference internal" href="usage.html#durations"><em>テストの実行時間をプロファイリング</em></a></li>
<li>(2.2 でかなり改善) <a class="reference internal" href="mark.html#mark"><em>マーキングとテスト選択</em></a></li>
<li>(2.2 で改善) <a class="reference internal" href="funcargs.html#parametrized-test-functions"><em>パラメーターテスト機能</em></a></li>
<li><a class="reference internal" href="skipping.html#skip-and-xfail"><em>skip と xfail: 成功しないテストを扱う</em></a></li>
<li>ユニークな <a class="reference internal" href="funcargs.html#id1"><em>funcargs を用いた依存性の注入</em></a></li>
<li><a class="reference internal" href="xdist.html#xdist"><em>xdist プラグイン</em></a> を用いた <a class="reference internal" href="xdist.html#xdistcpu"><em>複数 CPU に対する分散テスト</em></a></li>
<li><a class="reference internal" href="xdist.html#looponfailing"><em>失敗するテストのみを継続的に再実行</em></a></li>
<li>多くの <a class="reference internal" href="builtin.html#pytest-helpers"><em>組み込みヘルパー機能</em></a></li>
<li>柔軟な <a class="reference internal" href="goodpractises.html#python-test-discovery"><em>setuptools/distribute のテストコマンドとの組み合わせ</em></a></li>
</ul>
</div></blockquote>
<ul class="simple">
<li><strong>多くの共通テストメソッドを統合</strong></li>
</ul>
<blockquote>
<div><ul class="simple">
<li><tt class="docutils literal"><span class="pre">nose</span></tt>, <tt class="docutils literal"><span class="pre">unittest.py</span></tt>, <tt class="docutils literal"><span class="pre">doctest.py</span></tt> スタイルのテスト、Django のテストランナー (試作段階)</li>
<li><a class="reference internal" href="xunit_setup.html#xunitsetup"><em>xUnit スタイルの setup</em></a> の拡張</li>
<li>ドメイン固有の <a class="reference internal" href="example/nonpython.html#non-python-tests"><em>Python 以外のテストを扱う</em></a></li>
<li>テストカバレッジレポートの生成</li>
<li><a class="reference external" href="Javascriptunit-andfunctionaltesting">Javascript のユニット/機能テスト</a></li>
</ul>
</div></blockquote>
<ul class="simple">
<li><strong>豊富なプラグインとカスタマイズの仕組み</strong></li>
</ul>
<blockquote>
<div><ul class="simple">
<li>全てのコレクション、レポート、実行状態をフック関数に委譲</li>
<li>ディレクトリ単位、プロジェクト単位、PyPI でリリースされたプラグイン単位でのカスタマイズ</li>
<li>コマンドラインオプションを追加したり、その他のアドオンやカスタマイズが簡単</li>
</ul>
</div></blockquote>
</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="getting-started.html" title="インストールして始めよう"
             >次へ</a> |</li>
        <li class="right" >
          <a href="overview.html" title="基本から始めよう"
             >前へ</a> |</li>
        <li><a href="contents.html">pytest-2.2.4.0</a> &raquo;</li>
          <li><a href="overview.html" >基本から始めよう</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2011, holger krekel et alii.
      このドキュメントは <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3 で生成しました。
    </div>
  </body>
</html>