2009-06-26 23:48:46 +08:00
|
|
|
py.test / py lib 1.0.0: new test plugins, funcargs and cleanups
|
2009-06-24 23:47:29 +08:00
|
|
|
============================================================================
|
2009-04-02 15:10:16 +08:00
|
|
|
|
2009-06-24 23:47:29 +08:00
|
|
|
Welcome to the 1.0 release bringing new flexibility and
|
2009-06-27 00:12:06 +08:00
|
|
|
power to testing with Python. Main news:
|
2009-04-02 19:16:41 +08:00
|
|
|
|
2009-07-21 00:54:08 +08:00
|
|
|
* funcargs - new flexibilty and zero-boilerplate fixtures for Python testing:
|
2009-04-02 19:16:41 +08:00
|
|
|
|
2009-07-21 00:54:08 +08:00
|
|
|
- separate test code, configuration and setup
|
|
|
|
- ideal for integration and functional tests
|
|
|
|
- more powerful dynamic generation of tests
|
|
|
|
|
|
|
|
* new plugin architecture, allowing project-specific and
|
|
|
|
cross-project single-file plugins. Many useful examples
|
|
|
|
shipped by default:
|
|
|
|
|
|
|
|
* pytest_unittest.py: run and integrate traditional unittest.py tests
|
|
|
|
* pytest_xfail.py: mark tests as "expected to fail" and report separately.
|
2009-06-27 00:12:06 +08:00
|
|
|
* pytest_pocoo.py: automatically send tracebacks to pocoo paste service
|
2009-07-21 00:54:08 +08:00
|
|
|
* pytest_monkeypatch.py: safely monkeypatch from tests
|
2009-06-27 00:12:06 +08:00
|
|
|
* pytest_figleaf.py: generate html coverage reports
|
2009-07-21 00:54:08 +08:00
|
|
|
* pytest_resultlog.py: generate buildbot-friendly reporting output
|
2009-04-02 15:10:16 +08:00
|
|
|
|
2009-06-27 00:12:06 +08:00
|
|
|
and many more!
|
2009-06-24 23:47:29 +08:00
|
|
|
|
2009-06-27 00:12:06 +08:00
|
|
|
* 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
|
2009-07-21 00:54:08 +08:00
|
|
|
- improved documentation
|
2009-06-26 23:48:46 +08:00
|
|
|
|
2009-07-21 00:54:08 +08:00
|
|
|
See the py.test and py lib documentation for more info:
|
2009-06-24 23:47:29 +08:00
|
|
|
|
|
|
|
http://pytest.org
|
2009-07-21 00:54:08 +08:00
|
|
|
http://pylib.org
|
2009-06-24 23:47:29 +08:00
|
|
|
|
2009-07-21 00:54:08 +08:00
|
|
|
The py lib now is smaller and focuses more on offering
|
|
|
|
functionality used by the py.test tool in independent
|
|
|
|
namespaces:
|
2009-04-02 15:10:16 +08:00
|
|
|
|
2009-07-21 00:54:08 +08:00
|
|
|
* py.execnet: elastic code deployment to SSH, Socket and local sub processes
|
2009-06-26 23:48:46 +08:00
|
|
|
* py.code: higher-level introspection and dynamic generation of python code
|
2009-04-02 15:10:16 +08:00
|
|
|
* py.path: path abstractions over local and subversion files
|
|
|
|
|
2009-06-27 00:12:06 +08:00
|
|
|
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.
|
|
|
|
|
2009-06-24 23:47:29 +08:00
|
|
|
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!)
|
|
|
|
|
2009-04-02 19:16:41 +08:00
|
|
|
best,
|
|
|
|
holger
|
2009-04-02 15:10:16 +08:00
|
|
|
|