holger krekel
db21cac694
cleanup py.test.* namespace, docstrings for improved pydoc and interactive usage.
...
use new apipkg __onfirstaccess__ feature to initialize the py.test namespace with the default plugins. This, besides other good implications, means that you can now type: pydoc py.test or help(py.test)
--HG--
branch : trunk
2009-12-29 16:29:48 +01:00
holger krekel
080fd2880e
simplify Config initialization
...
--HG--
branch : trunk
2009-12-29 14:13:12 +01:00
holger krekel
71e332c9c4
robustiy some randomly failing tests
...
--HG--
branch : trunk
2009-12-29 12:36:45 +01:00
holger krekel
425e4849f3
remove/reduce internal global state: py._com.registry is now fully contained and always instantiated from the py.test PluginManager class.
...
--HG--
branch : trunk
2009-12-29 12:36:17 +01:00
holger krekel
8737254a74
simplify pluginmanager, move plugin validation code to plugin, remove unused code
...
--HG--
branch : trunk
2009-12-29 10:59:01 +01:00
holger krekel
0361b73d75
remove defaultconfest.py and make PluginManager directly do early initialization of default plugins.
...
--HG--
branch : trunk
2009-12-29 10:26:51 +01:00
holger krekel
27bcd2dbda
always import defaultconftest by python import path. strike some redundant code.
...
--HG--
branch : trunk
2009-12-28 17:49:46 +01:00
Ralf Schmitt
cc82f1601c
add script to generate standalone py.test
...
--HG--
branch : trunk
2009-12-27 23:03:04 +01:00
holger krekel
516cee2a94
windows fixes and print funcargs for keyboardinterrupt traces
...
--HG--
branch : trunk
2009-12-25 09:53:36 +01:00
holger krekel
88e61467f1
fixing and cleaning up some tests
...
--HG--
branch : trunk
2009-12-25 00:24:58 +01:00
holger krekel
6d46efa87a
introduce --ignore option to ignore paths during collection
...
--HG--
branch : trunk
2009-12-24 22:23:45 +01:00
holger krekel
f254b6f7c1
fixes to various tests, related to execnet automatic ID generation and other bits.
...
also lowering the version as "1.1.1post1" for now. 1.1.2 is still a bit off.
--HG--
branch : trunk
2009-12-24 19:43:14 +01:00
holger krekel
1580b2c8da
create version/interpreter differentiated py.test$VER for cpython, jython, pypy-c's, prepare 1.1.2 release
...
--HG--
branch : trunk
2009-12-23 19:58:52 +01:00
holger krekel
2ca39443a3
some doc fixes
...
--HG--
branch : trunk
2009-12-17 09:33:41 +01:00
holger krekel
56c1391a16
fix keyword calling
...
--HG--
branch : trunk
2009-11-27 20:32:21 +01:00
holger krekel
9d5b313aad
adjustments and fixes to test run, distribution files. thanks thm.
...
--HG--
branch : trunk
2009-11-24 15:16:58 +01:00
holger krekel
8c6593cc08
by default flush log writes to files
...
--HG--
branch : trunk
2009-11-24 02:48:13 -08:00
holger krekel
9652be0ac1
don't consider setuptools plugins if it is not installed.
...
--HG--
branch : trunk
2009-11-24 10:49:04 +01:00
holger krekel
79a9a99d1e
small refinements/precision regarding execnet checks
...
--HG--
branch : trunk
2009-11-23 17:25:46 +01:00
holger krekel
ed03eef81b
introduce plugin discovery through setuptools "pytest11" entrypoints
...
and refine execnet dependency handling. Prepare 1.1 release
--HG--
branch : trunk
2009-11-23 17:20:36 +01:00
holger krekel
ecb19b751a
add % as allowed char, condense CHANGELOG
...
--HG--
branch : trunk
2009-11-20 09:19:29 +01:00
holger krekel
d1dcf0fa92
be a bit more helpful by default regarding --report settings
...
--HG--
branch : trunk
2009-11-20 09:11:04 +01:00
holger krekel
452ce50d7d
fix compatibility issue with svnwc.update and put CHANGELOG to rootlevel
...
--HG--
branch : trunk
2009-11-20 00:12:06 +01:00
holger krekel
6d9e3ac686
adapt to new execnet.Group code (since execnet-1.0.0b4), strike superflous code
...
--HG--
branch : trunk
2009-11-19 23:13:29 +01:00
holger krekel
3adf6687c9
reintroduce py.test.cmdline.main() (alias for py.cmdline.pytest())
...
resolves issue #61
--HG--
branch : trunk
2009-11-19 23:13:28 +01:00
holger krekel
1a86d09da4
a few internal test related fixes as to run on a osx/no-execnet situation
...
--HG--
branch : trunk
2009-11-12 21:15:59 +01:00
holger krekel
f4ec2d1ecd
improve deprecation, start changelog
...
--HG--
branch : trunk
2009-11-12 13:10:30 +01:00
holger krekel
a4a652af85
fix a bug with svnwc.listdir() not accepting a checker(versioned=...)
...
--HG--
branch : trunk
2009-11-12 13:09:27 +01:00
holger krekel
e0bca8fe51
fix up install docs and plugin docs for the final release
...
have CHANGELOG be a file containing links instead of a symlink
beause it causes issues with pip-install on some systems.
--HG--
branch : trunk
2009-11-05 17:46:14 +01:00
holger krekel
a5a94c4e8f
largely improve and reshuffle docs, heading strongly towards a 1.1.0
...
--HG--
branch : trunk
2009-11-05 03:18:55 +01:00
holger krekel
b04a04cabd
make py lib a self-contained directory again
...
- move and merge _py/ bits back to py/
- fixes all around
--HG--
branch : trunk
2009-11-04 21:34:07 +01:00
holger krekel
92d482069c
moving py/bin to rootlevel bin/ and fixing tests
...
--HG--
branch : trunk
2009-10-29 16:53:02 +01:00
holger krekel
cc15685015
remove pyrest and _py/rest before first 1.1. release
...
--HG--
branch : trunk
2009-10-29 12:25:47 +01:00
holger krekel
690ccaedc1
remove unnecessary builtin directory in favour of a single file
...
--HG--
branch : trunk
2009-10-28 22:00:38 +01:00
holger krekel
33bd39053f
using apipkg 1.0b2 snapshot version - adjusting/cleaning up some impl-detail accesses
...
--HG--
branch : trunk
2009-10-27 21:31:42 +01:00
holger krekel
d8b9b5f1c8
- make importorskip static at py.test.importorskip because it's
...
used for conditional plugin loading
- fix case where xfail is defined at module/class level
- fixes and improvements to docs, correct links to plugins
- use new skip facilities here and there
--HG--
branch : trunk
2009-10-15 20:10:06 +02:00
holger krekel
3ca770b420
generalize skipping
...
- rename pytest_xfail to pytest_skip
- dynamic "skipif" and "xfail" decorators
- move most skipping code to the plugin
also coming with this commit:
- extend mark keyword to accept positional args + docs
- fix a few documentation related issues
- leave version as "trunk" for now
--HG--
branch : trunk
2009-10-15 16:18:57 +02:00
holger krekel
5791c06bf2
rewrote the initpkg mechanism and moved py lib implementation files to
...
_py/... with py/__init__.py containing pointers into them
The new apipkg is only around 70 lines of code and allows
us to get rid of the infamous "py.__." by regular non-magical
"_py." imports. It is also available as a separately installable
package, see http://bitbucket.org/hpk42/apipkg
--HG--
branch : trunk
2009-10-03 01:47:39 +02:00
holger krekel
db1ff48996
* use the MIT license for the py lib
...
* bump version to prospective 1.1.0b1
* strike some unused code from initpkg
--HG--
branch : trunk
2009-10-03 01:11:04 +02:00
holger krekel
1f29529a24
* don't add distributed command line options when 'execnet' is not
...
installed, report a nice message.
* fix tests and code to work with non-existing execnet
* point execnet doc to the new package
--HG--
branch : trunk
2009-10-02 22:29:22 +02:00
holger krekel
ab9f6a75ad
remove py.execnet, substitute py.execnet usages with "execnet" ones.
...
--HG--
branch : trunk
2009-10-02 16:58:57 +02:00
holger krekel
496e3b1138
adding internal repr for debugging
...
adding an example for generating multi-args/multi python tests
--HG--
branch : trunk
2009-09-30 18:36:04 +02:00
holger krekel
5914277f92
internally rename "provider" to "factory" to be consistent
...
with documentation.
--HG--
branch : trunk
2009-09-30 12:59:47 +02:00
holger krekel
98b2300266
fix cached_setup to deal properly for test_functions
...
with multiple args. closes #50
--HG--
branch : trunk
2009-09-30 12:52:40 +02:00
Benjamin Peterson
3d2975f38e
support floats
...
--HG--
branch : trunk
2009-09-26 18:26:32 -05:00
Benjamin Peterson
c3fd7f0247
don't need to import py
...
--HG--
branch : trunk
2009-09-26 14:22:01 -05:00
Benjamin Peterson
cb5bd868d9
use default argument
...
--HG--
branch : trunk
2009-09-26 14:21:36 -05:00
Benjamin Peterson
0f96be372d
clean up unused compatibility code
...
--HG--
branch : trunk
2009-09-26 14:20:36 -05:00
Benjamin Peterson
4d598370b4
test cross version serialization by launching subprocesses; much cleaner!
...
--HG--
branch : trunk
2009-09-26 12:35:24 -05:00
holger krekel
8f69d23f18
merging jarko'S fixes, resolves issue #45 , resolves issue #46
...
--HG--
branch : trunk
2009-09-23 19:43:43 +02:00