refining formulations

--HG--
branch : trunk
This commit is contained in:
holger krekel 2009-04-13 16:35:23 +02:00
parent 4a33940d82
commit 2a72f75d58
2 changed files with 10 additions and 8 deletions

View File

@ -38,17 +38,16 @@ Rapidly write integration, functional, unit tests
XXX
Unique test state setup/fixture methods
funcargs and xUnit style setups
===================================================
py.test provides the `unique funcargs mechanism`_
for constructing test fixtures and handling
complex test scenarios. You can also
use `traditional xUnit style setup`_ for
existing code bases or if you prefer
it for your unit tests.
py.test provides powerful means for managing test
state and fixtures. Apart from the `traditional
xUnit style setup`_ for unittests it features the
simple and powerful `funcargs mechanism`_ for handling
both complex and simple test scenarious.
.. _`unique funcargs mechanism`: funcargs.html
.. _`funcargs mechanism`: funcargs.html
.. _`traditional xUnit style setup`: xunit_setup.html
load-balance tests to multiple CPUs

View File

@ -11,6 +11,9 @@ Using funcargs you can:
* cleanly encapsulate glue code between your app and your tests
* do test scenario setup dependent on command line opts or environment
Using the funcargs mechanism will keep your test suite clean
and allow for easier refactoring of your applications.
The basic funcarg request/provide mechanism
=============================================