holger krekel
c7531705fc
refine plugin registration, allow new "-p no:NAME" way to prevent/undo plugin registration
2010-12-06 16:54:42 +01:00
holger krekel
752965c298
add some docs and new projects
2010-12-06 10:41:20 +01:00
holger krekel
d894bae281
bumping version to a dev version, run tests by using python PyPI by default
2010-11-26 13:37:00 +01:00
holger krekel
f1fc6e5eb6
regenerating examples
2010-11-26 13:26:56 +01:00
Benjamin Peterson
ca72c162c8
need double colon here
2010-11-25 20:55:32 -06:00
holger krekel
b622c85bbf
last changes, preparing 2.0.0
2010-11-25 20:06:42 +01:00
holger krekel
9e7ef58cfd
some small pre-release updates
2010-11-25 16:36:25 +01:00
holger krekel
0efa6e5aea
adding anto's projects
2010-11-25 13:00:01 +01:00
holger krekel
1df0eaa387
tons and tons of refinements and additions to docs
2010-11-25 12:11:10 +01:00
Benjamin Peterson
8a527b95f2
don't try to load conf.py
2010-11-24 21:27:10 -06:00
holger krekel
4cb2c74159
introduce new discovery mechanism
...
XXX experiment with using it before introducing it or wait
for feature request
2010-11-24 22:01:04 +01:00
holger krekel
03ee8b7fe0
[mq]: doc
2010-11-24 19:02:08 +01:00
holger krekel
6ebd5f2900
improve docs
2010-11-24 00:23:22 +01:00
holger krekel
0357d3afda
refine initialization and collection reporting, introduce a progress bar
2010-11-22 11:59:56 +01:00
holger krekel
f456e376b9
refine tmpdir handling and docs
...
- clear tmpdir specified with --basetemp
- remove config.mktmp and config.getbasetemp methods
2010-11-21 17:43:18 +01:00
holger krekel
158e160823
merging and refining examples, also refining skipping documentation.
2010-11-20 21:35:55 +01:00
holger krekel
093bef0a08
refine release announcement
2010-11-18 18:42:33 +01:00
holger krekel
0325441099
add some missing files
2010-11-18 15:04:50 +01:00
holger krekel
582486d531
refine docs and docstrings, fix some small bits here and there while doing that.
2010-11-18 14:56:16 +01:00
holger krekel
a698465487
streamline docs, especially use "import pytest" and "pytest.*" in python code examples instead of "import py" and "py.test.*".
2010-11-17 22:12:16 +01:00
holger krekel
acd286f82f
run doctests in .txt/.rst files directly specified on command line irrespective of "test*.txt" pattern.
2010-11-17 14:33:21 +01:00
holger krekel
929291775e
flat is better than nested (cont'd):
...
- pytest.py is new module, making "python -m pytest" work always
- _pytest/*.py now contains core.py, hookspec and the plugins, no sub packages
2010-11-13 11:10:45 +01:00
holger krekel
2e4e9eb745
internally use pytest.* instead of ``py.test.*`` in many places.
...
make sub namespace names 'collect' and 'cmdline' available on pytest directly
2010-11-13 09:05:11 +01:00
holger krekel
55dff651f4
refine initilization: read config also from a "pytest.ini" file if exists
...
and revert earlier commandline option and group ordering change.
2010-11-07 16:10:22 +01:00
holger krekel
6461295ab4
probably the last major internal cleanup action: rename collection to
...
session which now is the root collection node. This means that
session, collection and config objects have a more defined
relationship (previously there was no way to get from a collection
node or even from a runtest hook to the session object which
was strange).
2010-11-07 10:19:58 +01:00
holger krekel
885c7ce281
some fixes for --pyargs situations and the docs, remove wrongly added test
2010-11-07 00:22:16 +01:00
holger krekel
707775dcfa
introduce new --testpkg importpath option, add more meat to draft release announcement
2010-11-06 22:17:33 +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
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
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
c18cca9d54
massive documentation refinements
2010-11-02 00:53:53 +01:00
holger krekel
32ac7a7c6e
rename addargs to addopts, make adding of opts configurable
2010-11-01 08:55:14 +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
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
23f8d8bce7
allow modules/conftest files specify dotted import paths for loading plugins
2010-10-31 19:01:46 +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
f466d35771
add example for catching exceptions, simplify install doc
...
--HG--
branch : trunk
2010-10-24 21:55:27 +02:00
holger krekel
76a1bf391e
fix some doc bits
...
--HG--
branch : trunk
2010-10-22 10:09:26 +02:00
holger krekel
6411fa69bc
fix example good -> bad (thanks frank)
...
--HG--
branch : trunk
2010-10-17 11:11:32 +02:00
holger krekel
80778eb3ae
add an example for testing from an app if a test run is ongoing
...
--HG--
branch : trunk
2010-10-17 00:10:22 +02:00
holger krekel
170346654c
turn most funcargrequest attributes into properties and document them.
...
--HG--
branch : trunk
2010-10-16 23:59:38 +02:00