This file is indexed.

/usr/share/doc/python-pytest-doc/html/_sources/index.txt is in python-pytest-doc 2.6.3-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.. _features:

.. note::

   next training: `professional testing with pytest and tox <http://www.python-academy.com/courses/specialtopics/python_course_testing.html>`_, 24-26th November 2014, Freiburg, Germany


pytest: helps you write better programs
=============================================

**a mature full-featured Python testing tool**

 - runs on Posix/Windows, Python 2.6-3.4, PyPy and (possibly still) Jython-2.5.1
 - **well tested** with more than a thousand tests against itself
 - **strict backward compatibility policy** for safe pytest upgrades
 - :ref:`comprehensive online <toc>` and `PDF documentation <pytest.pdf>`_
 - many :ref:`third party plugins <extplugins>` and :ref:`builtin helpers <pytest helpers>`,
 - used in :ref:`many small and large projects and organisations <projects>`
 - comes with many :ref:`tested examples <examples>`

**provides easy no-boilerplate testing**

 - makes it :ref:`easy to get started <getstarted>`,
   has many :ref:`usage options <usage>`
 - :ref:`assert with the assert statement`
 - helpful :ref:`traceback and failing assertion reporting <tbreportdemo>`
 - :ref:`print debugging <printdebugging>` and :ref:`the
   capturing of standard output during test execution <captures>`

**scales from simple unit to complex functional testing**

 - :ref:`modular parametrizeable fixtures <fixture>` (new in 2.3,
   continously improved)
 - :ref:`parametrized test functions <parametrized test functions>`
 - :ref:`mark`
 - :ref:`skipping` (improved in 2.4)
 - :ref:`distribute tests to multiple CPUs <xdistcpu>` through :ref:`xdist plugin <xdist>`
 - :ref:`continuously re-run failing tests <looponfailing>`
 - flexible :ref:`Python test discovery`

**integrates with other testing methods and tools**:

 - multi-paradigm: pytest can run ``nose``, ``unittest`` and
   ``doctest`` style test suites, including running testcases made for
   Django and trial
 - supports :ref:`good integration practises <goodpractises>`
 - supports extended :ref:`xUnit style setup <xunitsetup>`
 - supports domain-specific :ref:`non-python tests`
 - supports generating `test coverage reports
   <https://pypi.python.org/pypi/pytest-cov>`_
 - supports :pep:`8` compliant coding styles in tests

**extensive plugin and customization system**:

 - all collection, reporting, running aspects are delegated to hook functions
 - customizations can be per-directory, per-project or per PyPI released plugin
 - it is easy to add command line options or customize existing behaviour


.. _`easy`: http://bruynooghe.blogspot.com/2009/12/skipping-slow-test-by-default-in-pytest.html