parent
65675d5a95
commit
f7b4f70a16
|
@ -1,7 +1,4 @@
|
||||||
|
|
||||||
Customizing test function through marks and hooks
|
|
||||||
====================================================
|
|
||||||
|
|
||||||
.. _`retrieved by hooks as item keywords`:
|
.. _`retrieved by hooks as item keywords`:
|
||||||
|
|
||||||
control skipping of tests according to command line option
|
control skipping of tests according to command line option
|
|
@ -1,7 +1,4 @@
|
||||||
|
|
||||||
Misc examples
|
|
||||||
====================================================
|
|
||||||
|
|
||||||
Detect if running from within a py.test run
|
Detect if running from within a py.test run
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
|
|
||||||
.. highlightlang:: python
|
.. highlightlang:: python
|
||||||
|
|
||||||
|
.. _mysetup:
|
||||||
|
|
||||||
mysetup pattern: application specific test fixtures
|
mysetup pattern: application specific test fixtures
|
||||||
==========================================================
|
==========================================================
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
|
|
||||||
|
.. _`non-python tests`:
|
||||||
|
|
||||||
Working with non-python tests
|
Working with non-python tests
|
||||||
====================================================
|
====================================================
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ Usages and Examples
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
example/marking.txt
|
example/controlskip.txt
|
||||||
example/mysetup.txt
|
example/mysetup.txt
|
||||||
example/misc.txt
|
example/detectpytest.txt
|
||||||
example/nonpython.txt
|
example/nonpython.txt
|
||||||
|
|
|
@ -45,7 +45,8 @@ supports several testing practises and methods
|
||||||
|
|
||||||
- supports extended `xUnit style setup`_
|
- supports extended `xUnit style setup`_
|
||||||
- can integrate nose_, `unittest.py` and `doctest.py`_ style tests
|
- 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`_
|
||||||
|
|
||||||
.. _`Javasript unit- and functional testing`: plugin/oejskit.html
|
.. _`Javasript unit- and functional testing`: plugin/oejskit.html
|
||||||
|
|
|
@ -16,6 +16,7 @@ basic usage and funcargs:
|
||||||
|
|
||||||
function arguments:
|
function arguments:
|
||||||
|
|
||||||
|
- :ref:`mysetup`
|
||||||
- `application setup in test functions with funcargs`_
|
- `application setup in test functions with funcargs`_
|
||||||
- `making funcargs dependendent on command line options`_
|
- `making funcargs dependendent on command line options`_
|
||||||
- `monkey patching done right`_ (blog post, consult `monkeypatch
|
- `monkey patching done right`_ (blog post, consult `monkeypatch
|
||||||
|
|
Loading…
Reference in New Issue