[svn r38744] * adding a section about conftest.py files (removing an XXX)
* removing dead links --HG-- branch : trunk
This commit is contained in:
parent
18120135a3
commit
0590bc0af1
|
@ -134,7 +134,18 @@ Customizing the testing process
|
||||||
writing conftest.py files
|
writing conftest.py files
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
XXX
|
You may put conftest.py files containing project-specific
|
||||||
|
configuration in your project's root directory, it's usually
|
||||||
|
best to put it just into the same directory level as your
|
||||||
|
topmost ``__init__.py``. In fact, ``py.test`` performs
|
||||||
|
an "upwards" search starting from the directory that you specify
|
||||||
|
to be tested and will lookup configuration values right-to-left.
|
||||||
|
You may have options that reside e.g. in your home directory
|
||||||
|
but note that project specific settings will be considered
|
||||||
|
first. There is a flag that helps you debugging your
|
||||||
|
conftest.py configurations::
|
||||||
|
|
||||||
|
py.test --traceconfig
|
||||||
|
|
||||||
adding custom options
|
adding custom options
|
||||||
+++++++++++++++++++++++
|
+++++++++++++++++++++++
|
||||||
|
|
|
@ -571,11 +571,7 @@ Development Notes
|
||||||
Changing the behavior of the web based reporter requires `pypy`_ since the
|
Changing the behavior of the web based reporter requires `pypy`_ since the
|
||||||
javascript is actually generated fom rpython source.
|
javascript is actually generated fom rpython source.
|
||||||
|
|
||||||
There exists as well `L/Rsession document`_ which discusses in more details
|
|
||||||
unique features and developement notes.
|
|
||||||
|
|
||||||
.. _`pypy`: http://codespeak.net/pypy
|
.. _`pypy`: http://codespeak.net/pypy
|
||||||
.. _`L/Rsession document`: test-distributed.html
|
|
||||||
|
|
||||||
Future/Planned Features of py.test
|
Future/Planned Features of py.test
|
||||||
==================================
|
==================================
|
||||||
|
|
Loading…
Reference in New Issue