make examples less nested for now

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-10-27 17:36:27 +02:00
parent 65675d5a95
commit f7b4f70a16
7 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,4 @@
Customizing test function through marks and hooks
====================================================
.. _`retrieved by hooks as item keywords`:
control skipping of tests according to command line option

View File

@ -1,7 +1,4 @@
Misc examples
====================================================
Detect if running from within a py.test run
--------------------------------------------------------------

View File

@ -1,6 +1,8 @@
.. highlightlang:: python
.. _mysetup:
mysetup pattern: application specific test fixtures
==========================================================

View File

@ -1,4 +1,6 @@
.. _`non-python tests`:
Working with non-python tests
====================================================

View File

@ -7,7 +7,7 @@ Usages and Examples
.. toctree::
:maxdepth: 2
example/marking.txt
example/controlskip.txt
example/mysetup.txt
example/misc.txt
example/detectpytest.txt
example/nonpython.txt

View File

@ -45,7 +45,8 @@ supports several testing practises and methods
- supports extended `xUnit style setup`_
- can integrate nose_, `unittest.py` and `doctest.py`_ style tests
- supports generating testing coverage
- supports generating testing coverage reports
- supports :ref:`non-python tests`
- `Javasript unit- and functional testing`_
.. _`Javasript unit- and functional testing`: plugin/oejskit.html

View File

@ -16,6 +16,7 @@ basic usage and funcargs:
function arguments:
- :ref:`mysetup`
- `application setup in test functions with funcargs`_
- `making funcargs dependendent on command line options`_
- `monkey patching done right`_ (blog post, consult `monkeypatch