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
holger krekel
8853c5bdef
merge install and basic usage into getting-started.txt
...
add an assert1.txt
--HG--
branch : trunk
2010-10-14 01:25:09 +02:00
holger krekel
2e4391d28e
major refinements to documentation and examples
...
--HG--
branch : trunk
2010-10-13 19:30:00 +02:00
holger krekel
9925ac883e
refine and document conftest loading and handling.
...
--HG--
branch : trunk
2010-10-13 18:45:07 +02:00
holger krekel
17719b99a1
select tests by call-id, add and refine documentation around it
...
--HG--
branch : trunk
2010-10-13 12:26:14 +02:00
holger krekel
04c41cb672
shift config initialization to own "config" plugin
...
--HG--
branch : trunk
2010-10-12 15:34:32 +02:00
holger krekel
6631447161
merge config, pluginmanager, main into one file
...
--HG--
branch : trunk
2010-10-12 12:54:32 +02:00
holger krekel
251fb0ab1c
various documentation related refinements
...
--HG--
branch : trunk
2010-10-12 10:59:04 +02:00
holger krekel
a82a6bb058
regen docs, add a specific test_collectonly.py example
...
--HG--
branch : trunk
2010-10-11 13:38:16 +02:00
holger krekel
b5b8e5f0c2
advance customization docs, enhance docstrings, add more reference object docs.
...
--HG--
branch : trunk
2010-10-11 12:54:28 +02:00
holger krekel
431a582132
regen and extend examples a bit with regendoc.py
...
--HG--
branch : trunk
2010-10-11 10:07:14 +02:00
holger krekel
eee0e14334
internally switch to pytest.plugin.NAME instead of pytest.plugin.pytest_NAME
...
--HG--
branch : trunk
2010-10-11 01:14:40 +02:00
holger krekel
ce3b260b0b
start documenting hooks, improve hookspec docstrings a bit
...
--HG--
branch : trunk
2010-10-11 00:49:54 +02:00
holger krekel
c614adcf48
move and consolidate some more plugin docs
...
--HG--
branch : trunk
2010-10-11 00:14:32 +02:00
holger krekel
d89d0e8b26
fix format of examples so that ronny's regendoc detects it.
...
--HG--
branch : trunk
2010-10-10 23:54:00 +02:00
holger krekel
4ee3831ac9
start reorganizing docs, write more docs, shift plugin docs, to proper documentation,
...
use sphinx, remove old docs ... work in progress.
--HG--
branch : trunk
2010-10-10 23:45:45 +02:00
holger krekel
d1aff902d5
remove pylib things and move things to new pytest namespace
...
--HG--
branch : trunk
2010-10-07 11:59:00 +02:00
Floris Bruynooghe
ec5ea5c05e
Show final value first when explaining an attribute
...
Then show the expansion as a "where" part of the explanation.
--HG--
branch : trunk
2010-10-06 18:20:09 +01:00
holger krekel
6892dc47a3
use repr() to print extra / differing values in assertion comparison failures
...
and guard against failures in detail-representations
--HG--
branch : trunk
2010-10-04 18:49:30 +02:00
Floris Bruynooghe
cd5676adc4
Truncate the text passed to difflib where possible
...
This stops difflib from printing many lines which had no change in
them anyway. It also avoids a bug in difflib which fails or hangs
when there are many trailing lines which are all identical.
--HG--
branch : trunk
2010-09-30 23:15:41 +01:00
Floris Bruynooghe
4b2cb3acbe
Merge tip from py-trunk.
...
--HG--
branch : trunk
2010-09-22 18:14:59 +01:00
Floris Bruynooghe
0af90e0962
Add specialised explanations to the demo
...
This currently breaks the test_failuers.py example as that file counts
the number of failures in the demo. But this demo isn't fixed yet so
we'll leave it for now.
--HG--
branch : trunk
2010-09-16 01:07:53 +01:00
holger krekel
bb6e9848b3
recreated plugin docs
...
--HG--
branch : trunk
2010-09-14 17:35:01 +02:00
holger krekel
9ca7ed647b
finalize release announce and changelog
...
--HG--
branch : trunk
2010-09-14 16:36:34 +02:00
holger krekel
04b3b9a3da
preliminary release announcement
...
--HG--
branch : trunk
2010-09-14 15:46:30 +02:00
holger krekel
af412d993c
simplify and fix installation instructions particularly for windows ( fixes #111 )
...
and bump version to 1.3.4
--HG--
branch : trunk
2010-09-14 15:43:00 +02:00
holger krekel
ba1f6336af
add 1.3.3 release "announcement"
...
--HG--
branch : trunk
2010-08-01 15:21:59 +02:00
holger krekel
677f7c0a6a
remove trailing whitespace everywhere
...
--HG--
branch : trunk
2010-07-26 21:15:15 +02:00