holger krekel
1899443744
show traces for all hook invocations not just "path/node" based ones
2010-11-06 19:46:24 +01:00
holger krekel
fcebf4f557
some more improvements and updates to docs, add release announcements
2010-11-06 11:38:53 +01:00
holger krekel
6dac77433e
majorly refactor collection process
...
- get rid of py.test.collect.Directory alltogether.
- introduce direct node.nodeid attribute
- remove now superflous attributes on collect and test reports
2010-11-06 09:58:04 +01:00
holger krekel
f181c70d8e
add indent facility to tracing
2010-11-06 09:05:17 +01:00
holger krekel
d108235095
implement and document new invocation mechanisms, see doc/usage.txt
...
also rename pytest._core to pytest.main for convenience.
2010-11-05 23:37:31 +01:00
holger krekel
6a734efe44
introduce a minimal tag-based tracer, to be extended if needed, strike pytest_trace hook.
2010-11-05 23:37:31 +01:00
holger krekel
132eeeeade
update issues
2010-11-05 23:37:31 +01:00
holger krekel
99dfb8ad65
reverse options ordering in Parser class instead of on PluginManager
2010-11-05 23:37:31 +01:00
holger krekel
bb732a4e75
add "linelist" type for ini-files
2010-11-05 23:37:31 +01:00
holger krekel
b1e4301457
document and refine py.test.fail helper and strike superflous ExceptionFailure class
...
refine builtin organisation and start a new doc
2010-11-05 23:37:31 +01:00
holger krekel
49319ba729
some more refinements to docs
2010-11-05 23:37:25 +01:00
holger krekel
fed8f19156
introduce norecursedirs config option, remove recfilter()
2010-11-04 23:21:26 +01:00
holger krekel
5251653fc3
remove pytest_report_iteminfo hook, i strongly guess nobody needs or uses it.
2010-11-04 23:21:23 +01:00
holger krekel
28d51e26a0
remove imperative xfail, this test passes
2010-11-03 08:09:13 +01:00
holger krekel
c18cca9d54
massive documentation refinements
2010-11-02 00:53:53 +01:00
holger krekel
7d495cc250
majorly changing the unittest compatibility code, calling TestCase(name)(result)
2010-11-01 23:08:16 +01:00
holger krekel
53d1cfc3a1
allow unregistration by name
2010-11-01 09:20:58 +01:00
holger krekel
32ac7a7c6e
rename addargs to addopts, make adding of opts configurable
2010-11-01 08:55:14 +01:00
holger krekel
85c24b7fa1
some test fixes and refinements
2010-11-01 08:16:10 +01:00
holger krekel
cf8dd64703
slightly simplify collection node init
2010-11-01 01:01:31 +01:00
holger krekel
c3ec2718a2
fix tests by using less likely existing import names
2010-11-01 00:38:44 +01:00
holger krekel
209140fea0
simplify session object and rename some more hooks, not exposed/released yet
2010-11-01 00:27:12 +01:00
holger krekel
5616874823
streamline some hook docs and option handling, remove cruft bits, fix doc links
2010-10-31 23:28:31 +01:00
holger krekel
14b2b128c2
update issues
2010-10-31 21:47:26 +01:00
holger krekel
f1e3dde2ec
bump version, add a bit to changelog
2010-10-31 19:53:11 +01:00
holger krekel
8871ca5bfa
introduce "-q" option which decreases verbosity and basically leads to a unittest/nosetest-style "." output
...
add it in an ini file like this:
[pytest]
addargs=-q
and you get that by default.
2010-10-31 19:51:16 +01:00
holger krekel
bb50ec89a9
remove restdoc plugin which now lives as pytest-restdoc on bitbucket,
...
and be easily included in a project now (like PyPy which still needs it)
2010-10-31 19:04:22 +01:00
holger krekel
868670b5f2
fix --help output for ini-options
2010-10-31 19:02:38 +01:00
holger krekel
23f8d8bce7
allow modules/conftest files specify dotted import paths for loading plugins
2010-10-31 19:01:46 +01:00
holger krekel
03924d205d
show pytest.__version__ not pylib
2010-10-31 18:57:44 +01:00
holger krekel
35969e13ae
remove feature deprecated prior even to 1.0
2010-10-31 18:46:10 +01:00
holger krekel
c92365f8dd
change status
2010-10-31 18:18:24 +01:00
holger krekel
f73ab23003
merge trunk
2010-10-31 18:17:08 +01:00
holger krekel
7138df5b51
bump version
...
--HG--
branch : trunk
2010-10-31 18:06:11 +01:00
holger krekel
bc574f4d94
remove superflous collect_by_name, and improve some docs
...
--HG--
branch : trunk
2010-10-31 18:01:33 +01:00
holger krekel
b6ec5a575d
get option settings from ini-file. make getting configuration options from conftest.py only an internal feature.
...
--HG--
branch : trunk
2010-10-31 17:41:58 +01:00
holger krekel
1280041f0c
add and document new parser.addini(name, description) method to describe
...
ini-values. Also document the parser object with its public methods.
--HG--
branch : trunk
2010-10-30 19:23:50 +02:00
holger krekel
2d8bcbdf55
document "setup.py test" to use genscript'ed version.
...
--HG--
branch : trunk
2010-10-28 09:29:56 +02:00
holger krekel
c9e629c870
remove old ways to set option defaults, relying on global setup.cfg or tox.ini files now.
...
revamp py.test --help-config
--HG--
branch : trunk
2010-10-27 22:29:01 +02:00
holger krekel
b86b1628bb
introduce reading of setup.cfg / ini-style configuration files
...
rename internal config.Error to pytest.UsageError
--HG--
branch : trunk
2010-10-27 19:35:27 +02:00
holger krekel
f7b4f70a16
make examples less nested for now
...
--HG--
branch : trunk
2010-10-27 17:36:27 +02:00
holger krekel
65675d5a95
link to PyYAML parser
...
--HG--
branch : trunk
2010-10-27 15:14:12 +02:00
holger krekel
33951d48f1
a new example for doing non-python extensions
...
--HG--
branch : trunk
2010-10-27 14:52:28 +02:00
holger krekel
3ea082f63f
close branch "trunk"
...
--HG--
branch : trunk
2010-10-26 10:33:31 +02:00
holger krekel
8248b5e31d
changing default branch name to "default" instead of historic "trunk"
2010-10-26 10:32:36 +02:00
holger krekel
29222dffc9
add a genscript target
...
--HG--
branch : trunk
2010-10-26 10:09:41 +02:00
holger krekel
90c1084a88
add --lsof self-testing option
...
--HG--
branch : trunk
2010-10-26 09:11:53 +02:00
holger krekel
34c5c5d878
fix capturing: properly finalize self-testing of py.test, reducing number of open files during the
...
test run.
--HG--
branch : trunk
2010-10-25 23:09:24 +02:00
holger krekel
5fc87acf9b
re-introduce compatibility attributes on collection nodes to keep compatible with code like::
...
def pytest_collect_file(path, parent):
... parent.Module(...)
--HG--
branch : trunk
2010-10-25 23:09:21 +02:00
holger krekel
4480401119
allow unittest test functions to work with the "pytestmark" mechanism
...
by refactoring mark/keyword handling and initialization
--HG--
branch : trunk
2010-10-25 23:08:56 +02:00