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
holger krekel
71cb42d263
updating some feature descriptions
...
--HG--
branch : trunk
2010-07-08 20:13:39 +02:00
holger krekel
9d47521cf0
finalizing docs
...
--HG--
branch : trunk
2010-07-08 15:28:54 +02:00
holger krekel
4d4344212f
fixing a doc reference, removing development dependency
...
--HG--
branch : trunk
2010-07-07 16:37:28 +02:00
holger krekel
eddd16d9fd
progressing towards 1.3.2, adding announcement, regen docs
...
--HG--
branch : trunk
2010-07-07 15:41:28 +02:00
holger krekel
f9c5b00ffa
refine and extend custom error reporting particularly for collection-related errors
...
--HG--
branch : trunk
2010-07-04 17:06:50 +02:00
holger krekel
72de7d94fd
adding a link to Floris' new post
...
--HG--
branch : trunk
2010-06-14 15:45:31 +02:00
holger krekel
523704f890
make py.test.raises as-VAR be an ExceptionInfo object
...
but only initialize it after the block is finished.
--HG--
branch : trunk
2010-06-09 14:45:41 +02:00
holger krekel
6951da7da0
merge Ronny's changes, add some documentation and changelog entries
...
--HG--
branch : trunk
2010-06-09 14:26:08 +02:00
holger krekel
64388832d9
introduce a new request.applymarker() function and refactor
...
internally to allow for dynamically adding keywords to test
items.
--HG--
branch : trunk
2010-06-08 02:34:51 +02:00
holger krekel
395bee4bc0
fix name of fedora package, thanks thm
...
--HG--
branch : trunk
2010-05-29 09:15:50 +02:00
holger krekel
73d9900844
add Meme's pytest-cov plugin to the plugin index page
...
--HG--
branch : trunk
2010-05-26 14:48:27 +02:00
holger krekel
2e36e2619f
update plugin docs, restructure release announcement a bit
...
--HG--
branch : trunk
2010-05-25 21:01:43 +02:00
holger krekel
312238c023
update release announcement
...
--HG--
branch : trunk
2010-05-25 20:46:51 +02:00
holger krekel
7fc7b4307b
adding xfail example
...
--HG--
branch : trunk
2010-05-22 17:22:31 +02:00
holger krekel
545aab85f2
py-1.3.1 release prep and version bumping
...
--HG--
branch : trunk
2010-05-22 17:11:30 +02:00
holger krekel
4f7ef0b63f
fix issue89 - allow py.test.mark decorators to be used with classes
...
(if you are using >=python2.6)
also allow to have multiple markers applied at class level
and test and fix a bug with chained skip/xfail decorators:
if any of the conditions is true a test will be skipped/xfailed
with a explanation which condition evaluated to true.
--HG--
branch : trunk
2010-05-21 18:11:47 +02:00
holger krekel
c790288a5f
fix issue98 - xdist documentation wrongly told to set pytest_option_X
...
where it is only option_X that is correct.
--HG--
branch : trunk
2010-05-18 18:45:12 +02:00
holger krekel
1706947edd
fix some ReST issues
...
--HG--
branch : trunk
2010-05-05 22:04:53 +02:00
holger krekel
54afd26c7e
fix typo
...
--HG--
branch : trunk
2010-05-05 21:53:36 +02:00
holger krekel
a127767da6
fix interpreter compat
...
--HG--
branch : trunk
2010-05-05 21:03:43 +02:00
holger krekel
a7d646c5e7
updating docs
...
--HG--
branch : trunk
2010-05-05 21:01:54 +02:00
holger krekel
87fcea7eb7
update release announcement
...
--HG--
branch : trunk
2010-05-05 20:19:02 +02:00
holger krekel
45e10f4c48
rename pytest_ignore_collect_path to pytest_ignore_collect before release
...
--HG--
branch : trunk
2010-05-02 15:24:02 +02:00