improve docs some further, cleaner release announcement
--HG-- branch : 1.0.x
This commit is contained in:
parent
296a660a73
commit
937e51b4ae
|
@ -2,26 +2,32 @@ py.test / py lib 1.0.0: new test plugins, funcargs and cleanups
|
||||||
============================================================================
|
============================================================================
|
||||||
|
|
||||||
Welcome to the 1.0 release bringing new flexibility and
|
Welcome to the 1.0 release bringing new flexibility and
|
||||||
power to testing with Python! Main news:
|
power to testing with Python. Main news:
|
||||||
|
|
||||||
* improved architecture, featuring simple single-file plugins, e.g:
|
* improved test architecture, featuring super-simple project
|
||||||
|
specific or cross-project single-file plugins, e.g:
|
||||||
|
|
||||||
pytest_unittest.py: run traditional unittest.py tests
|
* pytest_unittest.py: run traditional unittest.py tests
|
||||||
pytest_xfail.py: mark tests as "expected to fail"
|
* pytest_xfail.py: mark tests as "expected to fail"
|
||||||
pytest_pocoo.py: automatically send tracebacks to pocoo paste service
|
* pytest_pocoo.py: automatically send tracebacks to pocoo paste service
|
||||||
pytest_monkeypatch.py: safely patch parts of your environment in a test function
|
* pytest_monkeypatch.py: safely patch parts of your environment in a test function
|
||||||
pytest_figleaf.py: generate html coverage reports
|
* pytest_figleaf.py: generate html coverage reports
|
||||||
pytest_resultlog.py: generate buildbot-friendly output
|
* pytest_resultlog.py: generate buildbot-friendly output
|
||||||
|
|
||||||
and many more!
|
and many more!
|
||||||
|
|
||||||
* funcargs - powerful mechanism for all your setup needs
|
* funcargs - bringing new flexibilty and zero-boilerplate to Python testing:
|
||||||
|
|
||||||
* distributed testing: ad-hoc send and run tests on many platforms
|
- cleanly separated test code and test configuration and test value setup
|
||||||
|
- ideal for integration and functional tests
|
||||||
|
- new generative tests -> deprecation of yield-generated tests
|
||||||
|
|
||||||
|
* distributed testing and distributed execution (py.execnet):
|
||||||
|
|
||||||
|
- new unified "TX" URL scheme for specifying remote resources
|
||||||
|
- new sync/async ways to handle multiple remote processes
|
||||||
|
- much improved documentation
|
||||||
|
|
||||||
* remove first round of non-test related code, notably
|
|
||||||
greenlets and apigen (documentation generation) that
|
|
||||||
now live on their own
|
|
||||||
|
|
||||||
See the py.test documentation for more info:
|
See the py.test documentation for more info:
|
||||||
|
|
||||||
|
@ -34,6 +40,10 @@ well-tested py.test code in independent namespaces:
|
||||||
* py.code: higher-level introspection and dynamic generation of python code
|
* py.code: higher-level introspection and dynamic generation of python code
|
||||||
* py.path: path abstractions over local and subversion files
|
* py.path: path abstractions over local and subversion files
|
||||||
|
|
||||||
|
Some non-strictly-test related code, notably greenlets/co-routines
|
||||||
|
and apigen now live on their own and have been removed, also simplifying
|
||||||
|
the installation procedures.
|
||||||
|
|
||||||
The whole package works well with Linux, OSX and Win32, on
|
The whole package works well with Linux, OSX and Win32, on
|
||||||
Python 2.3, 2.4, 2.5 and 2.6. (Expect Python3 compatibility soon!)
|
Python 2.3, 2.4, 2.5 and 2.6. (Expect Python3 compatibility soon!)
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ convenient enough to
|
||||||
|
|
||||||
.. _`funcarg provider`:
|
.. _`funcarg provider`:
|
||||||
|
|
||||||
funcarg providers: setting up test function arguments
|
funcarg providers: instantiating test function arguments
|
||||||
==============================================================
|
==============================================================
|
||||||
|
|
||||||
Test functions can specify one ore more arguments ("funcargs")
|
Test functions can specify one ore more arguments ("funcargs")
|
||||||
|
|
Loading…
Reference in New Issue