holger krekel
97f9bc2e46
fix/enhance example
2012-12-20 15:57:07 +01:00
holger krekel
d0bf65e6c8
adding an example on how to do interact with the list of collected tests once before any tests are run
2012-12-16 11:28:17 +01:00
holger krekel
8d25e52e1e
add sentry
2012-12-15 08:09:23 +01:00
Dusty Phillips
6fefab0e3a
pocoo no longer has a pastebin service, so this section title is incorrect.
2012-12-11 12:04:12 -07:00
Wieland Hoffmann
ffb5b8efa1
Fix a broken link to pytest-twisted
2012-11-22 19:59:15 +01:00
holger krekel
b5955c5979
fix version number, final fixes
2012-11-20 14:01:31 +01:00
holger krekel
765b053984
bump version, add announcement, regen docs
2012-11-20 13:42:00 +01:00
holger krekel
af89a9667f
add example for accessing test result information from fixture
2012-11-14 09:39:21 +01:00
ENDOH takanao
d31f4dcba8
Fix typos in a document
2012-11-10 16:29:43 +09:00
holger krekel
d9ce7f143e
switch to pushing docs to dev, amend markers example which needs the dev candidate
2012-11-09 12:40:48 +01:00
holger krekel
c790490387
add an example for postprocessing a test failure
2012-11-08 23:36:16 +01:00
holger krekel
664b01ca42
fix misleading typo
2012-11-08 19:05:46 +01:00
holger krekel
ff0c75aa34
- add a Package/dir level setup example
...
- make tox.ini's doc/regen use pytest release instead of dev version
2012-11-07 11:11:40 +01:00
holger krekel
370f5dd5cb
fix typo
2012-11-06 15:46:52 +01:00
holger krekel
79f45928a4
add release announce for 2.3.3
2012-11-06 15:41:51 +01:00
holger krekel
65d6ebe7d1
bump to 2.3.3, add release announce
2012-11-06 14:41:10 +01:00
holger krekel
33cd414420
fix issue127 improve pytest_addoption docs, add new config.getoption(name) method for consistency.
2012-11-06 14:09:12 +01:00
holger krekel
fb173a97a8
extended - fix issue214 - ignore attribute-access errors with objects in test modules that can blow up (for example flask's request object)
2012-10-31 17:00:55 +01:00
holger krekel
07cc48517d
fix wrong reference in basic fixture example, thanks for reporting! ( closes #212 )
2012-10-28 14:54:49 +01:00
holger krekel
573599beb3
i think "helps you write better programs" fits better than "makes"
2012-10-28 11:25:53 +01:00
holger krekel
6ebf39e9a6
fix wrong document version on pytest.org ( closes #210 )
2012-10-28 10:13:37 +01:00
holger krekel
427cf6f66d
add release announce
2012-10-25 14:13:43 +02:00
holger krekel
6ad16936bb
bump version to 2.3.2, regen docs and changelog
2012-10-25 13:48:31 +02:00
holger krekel
b8277bfed8
fix issue127 - improve pytest_addoption and related documentation
2012-10-25 11:07:07 +02:00
holger krekel
2637326782
improve support for trial a bit more: don't run trial's empty TestCase.runTest() method
2012-10-22 19:22:01 +02:00
holger krekel
7e5efa0005
mention twisted with external plugins
2012-10-22 09:32:41 +02:00
holger krekel
d4d213f83d
some more fixes
2012-10-20 14:10:12 +02:00
holger krekel
289ee1c6ea
prepare a 2.3.1
2012-10-20 14:05:33 +02:00
holger krekel
9ed127b5da
fix issue203 - fixture functions with a scope=function should have a "self" that points to the actual instance with which the test functions run.
2012-10-20 09:59:20 +02:00
holger krekel
525b08bc5c
some doc refinements
2012-10-20 09:52:03 +02:00
holger krekel
76db624639
start new dev cycle
2012-10-19 15:01:29 +02:00
holger krekel
a5ce481022
final touches
2012-10-19 11:12:13 +02:00
holger krekel
dca5fa2241
fixing links for 2.3 release, and fixing a windows32 failure on py3
2012-10-19 10:53:28 +02:00
holger krekel
024df6e00b
some more finalization of docs
2012-10-19 10:07:11 +02:00
holger krekel
7c8755cc89
refine docs, fix a marker/keywords bit, and add a test that request.keywords points to node.keywords.
2012-10-18 15:06:55 +02:00
holger krekel
7d747a1cde
remove .markers attribute which was added in development and after 2.2.4
...
so never released. Rather extend keywords to also exist on nodes. Assigning
to node.keywords will make the value appear on all subchildren's
keywords.
2012-10-18 13:52:32 +02:00
holger krekel
dbaedbacde
many doc improvements and fixes
2012-10-18 12:24:50 +02:00
holger krekel
f5d796b093
improve docs further, refine unittest docs, rename ``autoactive`` to ``autouse``
...
to better match ``@pytest.mark.usefixtures`` naming.
2012-10-12 14:52:36 +02:00
holger krekel
0594265adc
fix output of --fixtures for @pytest.fixture defined functions.
2012-10-09 16:49:04 +02:00
holger krekel
fb3af07ef4
try to move docs to a more releasable state, also refine
...
release announce and a few coding bits
2012-10-09 14:35:17 +02:00
holger krekel
916c1c170e
somewhat simplify pytest_generate_tests example
2012-10-08 13:19:31 +02:00
holger krekel
df643f65f0
remove support for @pytest.fixture on classes, to be reserved for future use:
...
Fixture-classes could offer setup/teardown/addoption/configure methods
and provide higher level support. Preliminary allowing it to work on classes
may make introducing it harder.
2012-10-08 11:22:31 +02:00
holger krekel
30b10a6950
- fix doc references, refactor fixtures docs to more quickly start
...
with examples instead of big text blobgs
- also silence -q and -qq reporting some more
2012-10-07 13:06:17 +02:00
Floris Bruynooghe
f588eae4f5
Use updated names
2012-10-05 22:44:18 +01:00
holger krekel
d8c365ef2c
implement pytest.mark.usefixtures and ini-file usefixtures setting
...
and also refine fixture docs a bit - fixtures.txt should now mostly
reflect the current state of the implementation
2012-10-05 19:20:40 +02:00
holger krekel
bb07ba7807
rename a number of internal and externally visible variables to use the fixture name
...
rather than funcargs. Introduce .funcargnames compatibility attribute for backward compat.
2012-10-05 14:24:44 +02:00
holger krekel
9251e747af
rename pytest.factory usages into pytest.fixture ones
2012-10-05 10:21:35 +02:00
holger krekel
439cc1238f
merge factories/funcargs and setup functions into the new "fixture" document
2012-10-05 10:21:35 +02:00
holger krekel
738f14a48a
improve the parametrization scenario example to sort by id, rather than by file-order, see also: http://stackoverflow.com/questions/12521924/pytest-running-scenarios-in-the-correct-order-in-the-class
2012-09-21 09:39:54 +02:00
holger krekel
6cb3281ddd
allow factory/setup-markers on classes, using their respective __init__ methods which can use the funcarg mechanism
2012-09-18 14:00:47 +02:00