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
|
|
|
|
power to testing with Python! Main news:
|
2009-04-02 19:16:41 +08:00
|
|
|
|
2009-06-26 23:48:46 +08:00
|
|
|
* improved architecture, featuring simple single-file plugins, e.g:
|
2009-04-02 19:16:41 +08:00
|
|
|
|
2009-06-26 23:48:46 +08:00
|
|
|
pytest_unittest.py: run traditional unittest.py tests
|
2009-06-24 23:47:29 +08:00
|
|
|
pytest_xfail.py: mark tests as "expected to fail"
|
|
|
|
pytest_pocoo.py: automatically send tracebacks to pocoo paste service
|
|
|
|
pytest_monkeypatch.py: safely patch parts of your environment in a test function
|
|
|
|
pytest_figleaf.py: generate html coverage reports
|
|
|
|
pytest_resultlog.py: generate buildbot-friendly output
|
2009-04-02 15:10:16 +08:00
|
|
|
|
2009-06-26 23:48:46 +08:00
|
|
|
and many more!
|
2009-06-24 23:47:29 +08:00
|
|
|
|
2009-06-26 23:48:46 +08:00
|
|
|
* funcargs - powerful mechanism for all your setup needs
|
2009-06-24 23:47:29 +08:00
|
|
|
|
2009-06-26 23:48:46 +08:00
|
|
|
* distributed testing: ad-hoc send and run tests on many platforms
|
|
|
|
|
|
|
|
* remove first round of non-test related code, notably
|
|
|
|
greenlets and apigen (documentation generation) that
|
|
|
|
now live on their own
|
2009-06-24 23:47:29 +08:00
|
|
|
|
|
|
|
See the py.test documentation for more info:
|
|
|
|
|
|
|
|
http://pytest.org
|
|
|
|
|
2009-06-26 23:48:46 +08:00
|
|
|
The py lib also got smaller and focuses on offering much of the
|
|
|
|
well-tested py.test code in independent namespaces:
|
2009-04-02 15:10:16 +08:00
|
|
|
|
|
|
|
* py.execnet: ad-hoc code distribution 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-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!)
|
|
|
|
|
|
|
|
Download/Install: http://codespeak.net/py/dist/download.html
|
2009-04-02 15:10:16 +08:00
|
|
|
|
2009-04-02 19:16:41 +08:00
|
|
|
best,
|
|
|
|
holger
|
2009-04-02 15:10:16 +08:00
|
|
|
|