holger krekel
8d9e0712be
refine classname normalization for junit-xml
...
--HG--
branch : trunk
2010-01-12 01:35:50 +01:00
holger krekel
3296939eda
fix sessionstart/sessionfinish handling at the slave side, set "session.nodeid" to id of the slave and make sure "final" teardown failures are reported nicely. fixes issue66.
...
--HG--
branch : trunk
2010-01-11 17:09:07 +01:00
holger krekel
ba1451330e
refine rsyncing and internal dir/transferal handling: don't transfer roots in a popen- no-chdir situation and only use one py._pydir everywhere
...
--HG--
branch : trunk
2010-01-11 14:30:50 +01:00
holger krekel
99301a0dae
(experimental) allow cmdline arguments to deep-point to a test, also remove virtually redundant session.getinitialitems() calls
...
--HG--
branch : trunk
2010-01-10 21:29:36 +01:00
holger krekel
3029aa6558
fix some "import py" test issues, and prevent "genscript" script from having dist-options
...
--HG--
branch : trunk
2010-01-10 20:45:37 +01:00
holger krekel
27aa14c20f
fix python3 issues, add missing plugin docs
...
--HG--
branch : trunk
2010-01-03 13:27:06 +01:00
holger krekel
d541713dca
re-arrange "py.test -h" command line option grouping and update some plugin docs.
...
--HG--
branch : trunk
2010-01-03 12:41:29 +01:00
holger krekel
eebeb1b257
enable doctest plugin by default, add a --doctest-glob option and some documentation, regen plugin docs.
...
--HG--
branch : trunk
2010-01-02 23:30:46 +01:00
holger krekel
56a936993c
enhance figleaf setup, enabled by default now (requires --figleaf). Generalize internal ability to show "hints" at the end of "-h".
...
--HG--
branch : trunk
2010-01-02 22:48:53 +01:00
holger krekel
a20e60aeae
slightly refine invocation of py.test: use the py lib that we got invoked with,
...
does away with the need to not-chdir some tests
--HG--
branch : trunk
2010-01-02 11:57:42 +01:00
holger krekel
fd76cd8f41
remove/refine some doc strings. create popen-files with absolute paths.
...
--HG--
branch : trunk
2010-01-01 23:05:00 +01:00
holger krekel
e0dd171e45
fix standalone script generation on windows, make tests not do a chdir() so that distributed testing discovers the transferred lib
...
--HG--
branch : trunk
2010-01-01 21:54:27 +01:00
holger krekel
47df1e16b6
fix some failures introduced by the last commit, document new "pytestconfig" funcarg
...
--HG--
branch : trunk
2010-01-01 21:03:33 +01:00
holger krekel
f8b5951103
run py.* tools through "-c import py ; py.cmdline.py*" by default
...
and introduce --tools-on-path to force discovery of tools from PATH
--HG--
branch : trunk
2010-01-01 20:36:58 +01:00
holger krekel
b62978a88f
internal: always use scripts found in the environment
...
--HG--
branch : trunk
2009-12-31 16:15:11 +01:00
holger krekel
2752168a58
introduce --confcutdir option to early-inhibit lookup of conftest files above a certain directory.
...
--HG--
branch : trunk
2009-12-31 15:10:32 +01:00
holger krekel
eb4249322e
fix xml generation for skipped collections of tests
...
--HG--
branch : trunk
2009-12-31 11:50:01 +01:00
holger krekel
587951966f
adding a logxml plugin and a --xml=path option generating a junit-xml style result log. The xml result log can be parsed nicely by hudson.
...
Initial code was based on Ross Lawley's pytest_xmlresult plugin.
--HG--
branch : trunk
2009-12-31 11:25:07 +01:00
holger krekel
fa0c7b18bf
move standalone script to become a plugin offering "--genscript",
...
adjust paths accordingly and add CHANGELOG entry.
--HG--
branch : trunk
2009-12-30 19:10:49 +01:00
holger krekel
f5ea19858c
deprecate direct definition of Directory, Module, ... in conftest.py's,
...
add some pytest collect related tests + some refinements.
--HG--
branch : trunk
2009-12-30 16:18:59 +01:00
holger krekel
4656bc4c97
deprecate use of 'disabled'
...
--HG--
branch : trunk
2009-12-30 12:13:38 +01:00
holger krekel
f02b84d528
update ISSUES some more, introduce duration to RunResult and a failing dist-testing termination test.
...
--HG--
branch : trunk
2009-12-30 11:37:46 +01:00
holger krekel
a15afb5e48
skip tests using 'capfd' funcarg but not having os.dup. cleanup issues and regen plugin docs.
...
--HG--
branch : trunk
2009-12-30 11:16:20 +01:00
holger krekel
631dfe9f13
only consider matching conftest plugins for discovering hooks related to collection nodes.
...
--HG--
branch : trunk
2009-12-30 02:36:58 +01:00
holger krekel
9d01975c78
fix capturing to be more careful during teardown when a setup never happened (due to e.g. an error in user-provided runtest_setup code)
...
--HG--
branch : trunk
2009-12-30 00:11:27 +01:00
holger krekel
77b640d1b7
streamline some tests and overall reduce py.test.ensuretemp usage, note down issue about deprecation .
...
--HG--
branch : trunk
2009-12-29 22:26:03 +01:00
holger krekel
79af98fc29
some testing hygene: move _reparse testing functionality to actual test support code, un-xfail a now passing test, reduce direct py.test.config usage aiming for deprecation.
...
--HG--
branch : trunk
2009-12-29 18:02:54 +01:00
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
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
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
2ca39443a3
some doc fixes
...
--HG--
branch : trunk
2009-12-17 09:33:41 +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
79a9a99d1e
small refinements/precision regarding execnet checks
...
--HG--
branch : trunk
2009-11-23 17:25:46 +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
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
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
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