Brian Okken
5e77eb23eb
add test_unittest_style_setup_teardown()
...
to test setUpModule() and tearDownModule()
2013-06-22 09:35:10 -07:00
variedthoughts
3bcd3317ad
support unittest setUpModule/tearDownModule
2013-06-20 14:43:42 +00:00
holger krekel
4af052b098
added some endorsements, not quite properly layouted
2013-06-20 14:05:16 +02:00
holger krekel
ac3d8800fd
make sessionfinish hooks execute with the same cwd-context as at
...
session start (helps fix plugin behaviour which write output files
with relative path such as pytest-cov)
2013-06-10 10:09:28 +02:00
holger krekel
2951c3ace9
Merged in embray/pytest (pull request #37 )
...
Adds a test for and fixes #112
2013-06-09 15:07:44 +02:00
Erik Bray
17e1106584
reindent a few of the blockquotes in these tests
2013-06-07 17:30:10 -04:00
holger krekel
7e2d4daa68
Merge pull request #1 from alfredodeza/297
...
add ref targets on recwarn
2013-06-03 07:13:04 -07:00
Alfredo Deza
0cfc4a49ea
adding ref targets on recwarn
2013-06-03 10:07:14 -04:00
holger krekel
da1996b5f5
fix issue316 - properly reference collection hooks in docs
2013-06-03 10:04:50 +02:00
Erik Bray
b1595d3f61
Adds a test for and fixes #112 . If attempting to write to the __pycache__ directory raises a permission error _write_pyc() should just return False to prevent any further write attempts.
2013-05-28 18:11:12 -04:00
holger krekel
c294a417bd
allow to specify parametrize inputs as a comma-separated string
...
add Wouter to changelog and to authors
2013-05-28 10:32:54 +02:00
Benjamin Peterson
bc5a5a63f2
use __dict__ not func_dict for Python 3 compatibility
2013-05-27 14:04:53 -07:00
holger krekel
655afba17d
Merged in w00t0r/pytest-fixes (pull request #35 )
...
Fixed issue #306 : Keywords and markers are now matched in a defined way. Also applied some pep8 formatting while fixing.
2013-05-27 21:40:41 +02:00
Wouter van Ackooy
212f4b4d64
Issue 306: Used a set for the extra_keywords, and used listchain for parent iteration.
2013-05-27 18:14:35 +02:00
Wouter van Ackooy
60906f7a46
Issue 306: Use the names of all the parents in the chain for matching, except the Instance objects.
2013-05-27 17:58:39 +02:00
Wouter van Ackooy
72afbbbd71
Added new test to check on matching markers to full test names, which was possible before. Also adjusted check on number of deselected tests.
2013-05-23 12:21:40 +02:00
Wouter van Ackooy
583c736f0c
Added a test to check there is no matching on magic values.
2013-05-23 09:12:50 +02:00
holger krekel
8a0a18e9b3
- add Brianna (@pfctdayelise ) to changelog and contributors
...
- fix some broken tests on py32/py33 (related to issue308 merge)
- re-format docstrings
-
2013-05-22 15:24:58 +02:00
holger krekel
bbc61c85ac
Merged in pfctdayelise/pytest (pull request #36 )
...
issue 308
2013-05-22 13:36:39 +02:00
Wouter van Ackooy
02511d1564
Added lost space.
2013-05-22 07:41:46 +02:00
holger krekel
f78408df77
add holger's gittip account, would also like to add ronny's
2013-05-21 16:05:32 +02:00
Brianna Laugher
f2175146a9
Merged hpk42/pytest into default
2013-05-21 11:18:37 +10:00
Brianna Laugher
d8bc40271a
issue #308
...
+ docs
2013-05-21 11:12:45 +10:00
Wouter van Ackooy
fe27f3cc7d
Fixed issue #306 : Keywords and markers are now matched in a defined way. Also applied some pep8 formatting while fixing.
2013-05-20 14:37:58 +02:00
Brianna Laugher
3aa0e4a526
? pull/merge
2013-05-20 12:56:30 +10:00
Brianna Laugher
ee65ca10f4
issue #308
...
address some comments by @hpk42 on 0b9d82e :
- move tests into their own class, rename
- add test showing metafunc.parametrize called in pytest_generate_tests rather than as decorator
- add test and fix single-argname case
- convert two loops into one in parametrize()
also
- renamed 'input' to 'n', since 'input' is a built-in
2013-05-20 12:52:20 +10:00
holger krekel
afbeb056f0
added changelog for improved doctest counting
2013-05-17 20:48:51 +02:00
Danilo de Jesus da Silva Bellini
242b67de17
zero to many doctests from module instead of one
2013-05-17 12:18:22 -03:00
holger krekel
ed1095565b
Merged hpk42/pytest into default
2013-05-17 11:32:52 +02:00
Brianna Laugher
5373a63008
issue #308
...
first attempt, mark individual parametrize test instances with other marks (like xfail)
2013-05-17 18:46:36 +10:00
holger krekel
e6e86fa462
fix issue307 - use yaml.safe_load instead of yaml.load, thanks Mark Eichin.
2013-05-16 09:59:48 +02:00
holger krekel
5a1ce3c45c
add Jaap Broekhuizen for junitxml gen
2013-05-10 08:14:39 +02:00
holger krekel
67279418ff
fix junitxml generation when test output contains control characters,
...
addressing issue267
2013-05-10 08:13:35 +02:00
holger krekel
1f1c24fe15
Merged in jaapz/pytest-xml-escape-control-chars (pull request #32 )
...
Fix junitxml generation when using special characters in parametrized tests.
2013-05-10 08:06:31 +02:00
Jaap Broekhuizen
7803bca335
Implemented a test for xml control character fail.
2013-05-09 21:16:57 +02:00
holger krekel
c610c903f6
mention --tb style change in changelog
2013-05-09 15:50:28 +02:00
holger krekel
36e7cc1b9c
honor --tb style for setup/teardown errors as well.
2013-05-09 15:50:09 +02:00
holger krekel
d69c9da656
add maho as contributor
2013-05-09 15:37:51 +02:00
holger krekel
a113c4c6d3
Merged in maho/pytest (pull request #31 )
...
#299
2013-05-09 15:32:29 +02:00
maho
9e3cd03721
#299 - polishing
2013-05-08 17:01:20 +02:00
Jaap Broekhuizen
0e5f2847f1
Fix pytest.py permissions.
2013-05-08 16:11:55 +02:00
Jaap Broekhuizen
963b944e79
Fix junitxml generation when using special characters in parametrized tests.
2013-05-08 15:15:43 +02:00
holger krekel
55cd3d8bf3
bump version
2013-05-07 21:39:30 +02:00
holger krekel
150ad0172f
document context fixtures, also improve plugin docs
2013-05-07 21:37:08 +02:00
holger krekel
9d8645b45d
enhance index page, fix announcement index
2013-05-07 21:34:59 +02:00
holger krekel
bbd265184d
support boolean condition expressions in skipif/xfail
...
change documentation to prefer it over string expressions
2013-05-07 18:40:26 +02:00
holger krekel
3279cfa28b
don't use indexservers anymore
2013-05-07 16:26:56 +02:00
holger krekel
5fb4a100c9
Removed tag 1.4.14
2013-05-07 10:55:41 +02:00
holger krekel
71b4908233
Removed tag 1.4.14
2013-05-07 10:54:46 +02:00
holger krekel
77d2f6adde
fix issue245 by depending on py-1.4.14 which fixes py.io.dupfile
...
to not assume file.mode is present.
2013-05-07 10:54:05 +02:00