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 XXX
Unique test state setup/fixture methods funcargs and xUnit style setups
=================================================== ===================================================
py.test provides the `unique funcargs mechanism`_ py.test provides powerful means for managing test
for constructing test fixtures and handling state and fixtures. Apart from the `traditional
complex test scenarios. You can also xUnit style setup`_ for unittests it features the
use `traditional xUnit style setup`_ for simple and powerful `funcargs mechanism`_ for handling
existing code bases or if you prefer both complex and simple test scenarious.
it for your unit tests.
.. _`unique funcargs mechanism`: funcargs.html .. _`funcargs mechanism`: funcargs.html
.. _`traditional xUnit style setup`: xunit_setup.html .. _`traditional xUnit style setup`: xunit_setup.html
load-balance tests to multiple CPUs 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 * cleanly encapsulate glue code between your app and your tests
* do test scenario setup dependent on command line opts or environment * 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 The basic funcarg request/provide mechanism
============================================= =============================================