9ccd52d538 
								
							 
						 
						
							
							
								
								fix issue305 - ignore any problems in writing a pyc file, but print out a trace.  
							
							
							
						 
						
							2013-08-01 15:43:42 +02:00  
				
					
						
							
							
								 
						
							
								cbbbfcd101 
								
							 
						 
						
							
							
								
								fix collection imports for python2.5  
							
							
							
						 
						
							2013-08-01 15:38:03 +02:00  
				
					
						
							
							
								 
						
							
								72a48d69cd 
								
							 
						 
						
							
							
								
								refs  #279 : sequence assertions can also deal with (Mutable)Sequence instances  
							
							
							
						 
						
							2013-08-01 14:48:34 +02:00  
				
					
						
							
							
								 
						
							
								7e4b21e9a7 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2013-08-01 14:45:24 +02:00  
				
					
						
							
							
								 
						
							
								b90d82c17f 
								
							 
						 
						
							
							
								
								fix some py33 issues introduced with rev 2985  
							
							... 
							
							
							
							--HG--
branch : argcomplete 
							
						 
						
							2013-08-01 14:24:25 +02:00  
				
					
						
							
							
								 
						
							
								99783b6fba 
								
							 
						 
						
							
							
								
								refs  #335 : clarify that the exception info returned by pytest.raises is a py.code.ExceptionInfo()  
							
							
							
						 
						
							2013-08-01 11:19:47 +02:00  
				
					
						
							
							
								 
						
							
								6817a56270 
								
							 
						 
						
							
							
								
								minor adjustment, added test for positional argument completion  
							
							... 
							
							
							
							--HG--
branch : argcomplete 
							
						 
						
							2013-07-30 12:33:38 +02:00  
				
					
						
							
							
								 
						
							
								87860600fb 
								
							 
						 
						
							
							
								
								Fixes for argcomplete  
							
							... 
							
							
							
							- separate out most argcomplete related stuff in new file _argcomplete.py
  (could probably be in the py library)
- allow positional arguments to be interspaced with optional arguments
  ( + test in test_parseopt.py )
- removed double argument in tox.ini
- add documentation on installing argcomplete (>=0.5.7 as needed for
  Python 3), might need improving/incorporation in index.
This does not work on 2.5 yet. I have patches for argcomplete
(with/print()/"".format) but I am not sure they will be accepted.
Agreed with hpk not to push for that.
Removing argcomplete and leaving completion code active now works by early
exit, so <TAB> no longer re-runs the programs without parameters
(which took long for py.test)
test calls bash with a script that redirects filedescriptor 8 (as used by
argcomplete), so the result can be tested.
--HG--
branch : argcomplete 
							
						 
						
							2013-07-30 11:26:15 +02:00  
				
					
						
							
							
								 
						
							
								2a7c79dbf5 
								
							 
						 
						
							
							
								
								make genscript provide information as to compatibility  
							
							... 
							
							
							
							(now that argparse is a dependency on python2.6) 
							
						 
						
							2013-07-26 08:59:31 +02:00  
				
					
						
							
							
								 
						
							
								ad72e7f29d 
								
							 
						 
						
							
							
								
								auto change %default -> %(default)s in help parameter string (on retrieval)  
							
							... 
							
							
							
							added code for warnings on optparse arguments (type, help),
which can be easily switched on with TYPE_WARN = True in config.py
installed and tested ( py.test --help )
pytest-quickcheck-0.7
pytest-gae-0.2.2
pytest-growl-0.1
pytest-bdd-0.4.7
pytest-bdd-splinter-0.4.4
pytest-cache-1.0
pytest-capturelog-0.7
pytest-codecheckers-0.2
pytest-contextfixture-0.1.1
pytest-cov-1.6
pytest-flakes-0.1
pytest-incremental-0.3.0
pytest-xdist-1.8
pytest-localserver-0.1.5
pytest-monkeyplus-1.1.0
pytest-oerp-0.2.0
pytest-pep8-1.0.4
pytest-pydev-0.1
pytest-rage-0.1
pytest-runfailed-0.3
pytest-timeout-0.3
pytest-xprocess-0.7
pytest-browsermob-proxy-0.1
pytest-mozwebqa-1.1.1
pytest-random-0.02
pytest-rerunfailures-0.03
pytest-zap-0.1
pytest-blockage-0.1
pytest-django-2.3.0
pytest-figleaf-1.0
pytest-greendots-0.1
pytest-instafail-0.1.0
pytest-konira-0.2
pytest-marker-bugzilla-0.06
pytest-marks-0.4
pytest-poo-0.2
pytest-twisted-1.4
pytest-yamlwsgi-0.6
--HG--
branch : argparse 
							
						 
						
							2013-07-25 17:26:48 +02:00  
				
					
						
							
							
								 
						
							
								15ec5a898c 
								
							 
						 
						
							
							
								
								moving from optparse to argparse. Major difficulty is  
							
							... 
							
							
							
							that argparse does not have Option objects -> added class Argument
Needed explicit call of MyOptionParser.format_epilog as argparse
does not have that. The parse_arg epilog argument wraps the text,
which is not the same (could be handled with a special formatter).
- parser.parse() now returns single argument (with positional args in
  .file_or_dir)
- "file_or_dir" made a class variable Config._file_or_dir and used in help and tests
- added code for argcomplete (because of which this all started!)
addoption:
- if option type is a string ('int' or 'string', this converted to
  int resp. str
- if option type is 'count' this is changed to the type of choices[0]
testing:
- added tests for Argument
- test_mark.test_keyword_extra split as ['-k', '-mykeyword'] generates argparse
  error test split in two and one marked as fail
- testing hints, multiline and more strickt (for if someone moves format_epilog
  to epilog argument of parse_args without Formatter)
- test for destination derived from long option with internal dash
- renamed second test_parseopt.test_parse() to test_parse2 as it was
  not tested at all (the first was tested.)
--HG--
branch : argparse 
							
						 
						
							2013-07-25 15:33:43 +02:00  
				
					
						
							
							
								 
						
							
								6d145ac93a 
								
							 
						 
						
							
							
								
								bump version  
							
							
							
						 
						
							2013-07-24 11:16:19 +02:00  
				
					
						
							
							
								 
						
							
								1280add047 
								
							 
						 
						
							
							
								
								SO-17664702: call fixture finalizers even if the fixture function  
							
							... 
							
							
							
							partially failed (finalizers would not always be called before) 
							
						 
						
							2013-07-17 10:29:11 +02:00  
				
					
						
							
							
								 
						
							
								c53556b88d 
								
							 
						 
						
							
							
								
								paint last line red if "failures" or "errors" occured, attribute theuni  
							
							
							
						 
						
							2013-07-17 09:31:55 +02:00  
				
					
						
							
							
								 
						
							
								60a53c75a6 
								
							 
						 
						
							
							
								
								some python2.5/3.3 fixes of Brianna's parametrize improvements  
							
							
							
						 
						
							2013-07-16 15:43:20 +02:00  
				
					
						
							
							
								 
						
							
								af7db5195b 
								
							 
						 
						
							
							
								
								Merged in pfctdayelise/pytest (pull request  #38 )  
							
							... 
							
							
							
							A couple of improvements to parametrize 
							
						 
						
							2013-07-16 15:30:48 +02:00  
				
					
						
							
							
								 
						
							
								589138ea71 
								
							 
						 
						
							
							
								
								re  #320  fallback to test scope if the class-scoped fixture is used in non-class-based test function  
							
							... 
							
							
							
							--HG--
branch : 320-class-scoped-fixture-caching-is-broken-if 
							
						 
						
							2013-07-06 21:30:24 +02:00  
				
					
						
							
							
								 
						
							
								c36186ce65 
								
							 
						 
						
							
							
								
								Always check for both ENOENT and ENOTDIR  
							
							... 
							
							
							
							This fixes issue 326. 
							
						 
						
							2013-07-06 18:53:26 +02:00  
				
					
						
							
							
								 
						
							
								e6a063ee47 
								
							 
						 
						
							
							
								
								Solve fixture ordering when loading plugins from conftest  
							
							... 
							
							
							
							Conftests are plugins with a location attached to them while other
plugins do not have a location.  When ordering fixturedefs those from
plugins without a location need to be listed first. 
							
						 
						
							2013-07-06 17:56:54 +02:00  
				
					
						
							
							
								 
						
							
								ffa1bf726d 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2013-07-06 15:54:33 +02:00  
				
					
						
							
							
								 
						
							
								87df85f12d 
								
							 
						 
						
							
							
								
								improved reporting  
							
							... 
							
							
							
							added intermediate level of quiet reporting:
 * -q now shows short summary (# passed/failed tests + time)
 * the former -q is now -qq 
							
						 
						
							2013-07-06 15:43:59 +02:00  
				
					
						
							
							
								 
						
							
								2c7613c15c 
								
							 
						 
						
							
							
								
								merge with upstream  
							
							
							
						 
						
							2013-07-06 10:06:12 +02:00  
				
					
						
							
							
								 
						
							
								d9f0a28da2 
								
							 
						 
						
							
							
								
								Compatibility with my spinal cord reflexes: colorize last summary line.  
							
							... 
							
							
							
							Provide a red bar if there are any 'failures'. Otherwise make it green. 
							
						 
						
							2013-07-03 19:43:18 +02:00  
				
					
						
							
							
								 
						
							
								c4c966683c 
								
							 
						 
						
							
							
								
								fix issue323 - parametrize() of many module-scoped params  
							
							
							
						 
						
							2013-06-28 12:57:10 +02:00  
				
					
						
							
							
								 
						
							
								469830fffa 
								
							 
						 
						
							
							
								
								some internal renaming to make more sense of the sorting algo,  
							
							... 
							
							
							
							no semantical changes. 
							
						 
						
							2013-06-28 12:54:10 +02:00  
				
					
						
							
							
								 
						
							
								f9720a38fe 
								
							 
						 
						
							
							
								
								mention added support for setUpModule/tearDownModule detection, thanks Brian Okken.  
							
							
							
						 
						
							2013-06-23 09:24:48 +02:00  
				
					
						
							
							
								 
						
							
								3bcd3317ad 
								
							 
						 
						
							
							
								
								support unittest setUpModule/tearDownModule  
							
							
							
						 
						
							2013-06-20 14:43:42 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								345b8391c4 
								
							 
						 
						
							
							
								
								A couple of improvements to parametrize  
							
							... 
							
							
							
							- When not specifying ids, let None and bools use their native string form (like str, int, float) rather than obfuscated form used for objects
- When specifying ids, explicitly raise a ValueError if a different number of ids are specified compared to the test cases
- Add tests for both these items. 
							
						 
						
							2013-05-29 12:59:47 +10:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								bc5a5a63f2 
								
							 
						 
						
							
							
								
								use __dict__ not func_dict for Python 3 compatibility  
							
							
							
						 
						
							2013-05-27 14:04:53 -07:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								212f4b4d64 
								
							 
						 
						
							
							
								
								Issue 306: Used a set for the extra_keywords, and used listchain for parent iteration.  
							
							
							
						 
						
							2013-05-27 18:14:35 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								02511d1564 
								
							 
						 
						
							
							
								
								Added lost space.  
							
							
							
						 
						
							2013-05-22 07:41:46 +02:00  
				
					
						
							
							
								 
						
							
								f2175146a9 
								
							 
						 
						
							
							
								
								Merged hpk42/pytest into default  
							
							
							
						 
						
							2013-05-21 11:18:37 +10:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								242b67de17 
								
							 
						 
						
							
							
								
								zero to many doctests from module instead of one  
							
							
							
						 
						
							2013-05-17 12:18:22 -03:00  
				
					
						
							
							
								 
						
							
								5373a63008 
								
							 
						 
						
							
							
								
								issue  #308  
							
							... 
							
							
							
							first attempt, mark individual parametrize test instances with other marks (like xfail) 
							
						 
						
							2013-05-17 18:46:36 +10:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								a113c4c6d3 
								
							 
						 
						
							
							
								
								Merged in maho/pytest (pull request  #31 )  
							
							... 
							
							
							
							#299  
						
							2013-05-09 15:32:29 +02:00  
				
					
						
							
							
								 
						
							
								9e3cd03721 
								
							 
						 
						
							
							
								
								#299  - polishing  
							
							
							
						 
						
							2013-05-08 17:01:20 +02:00  
				
					
						
							
							
								 
						
							
								963b944e79 
								
							 
						 
						
							
							
								
								Fix junitxml generation when using special characters in parametrized tests.  
							
							
							
						 
						
							2013-05-08 15:15:43 +02:00  
				
					
						
							
							
								 
						
							
								55cd3d8bf3 
								
							 
						 
						
							
							
								
								bump version  
							
							
							
						 
						
							2013-05-07 21:39:30 +02:00  
				
					
						
							
							
								 
						
							
								bbd265184d 
								
							 
						 
						
							
							
								
								support boolean condition expressions in skipif/xfail  
							
							... 
							
							
							
							change documentation to prefer it over string expressions 
							
						 
						
							2013-05-07 18:40:26 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								d2dc797779 
								
							 
						 
						
							
							
								
								#299  
							
							
							
						 
						
							2013-05-05 22:15:06 +02:00  
				
					
						
							
							
								 
						
							
								56aa9962fc 
								
							 
						 
						
							
							
								
								allow fixture functions to be implemented as context managers:  
							
							... 
							
							
							
							@pytest.fixture
def myfix():
    # setup
    yield 1
    # teardown 
							
						 
						
							2013-05-05 14:48:37 +02:00  
				
					
						
							
							
								 
						
							
								8e41ef5776 
								
							 
						 
						
							
							
								
								bump version  
							
							
							
						 
						
							2013-05-05 14:48:17 +02:00  
				
					
						
							
							
								 
						
							
								8c7ae7f7a5 
								
							 
						 
						
							
							
								
								release 2.3.5 packaging  
							
							
							
						 
						
							2013-04-30 12:26:30 +02:00  
				
					
						
							
							
								 
						
							
								05c4ecf892 
								
							 
						 
						
							
							
								
								fix recursion within import hook and source.decode in particular  
							
							
							
						 
						
							2013-04-30 12:05:58 +02:00  
				
					
						
							
							
								 
						
							
								c5f9958783 
								
							 
						 
						
							
							
								
								never consider a fixture function for test function collection  
							
							
							
						 
						
							2013-04-29 10:31:51 +02:00  
				
					
						
							
							
								 
						
							
								7a90515d49 
								
							 
						 
						
							
							
								
								Treat frozenset as a set  
							
							... 
							
							
							
							Thanks to Brianna Laugher. 
							
						 
						
							2013-04-28 20:59:10 +01:00  
				
					
						
							
							
								 
						
							
								3c317dc35e 
								
							 
						 
						
							
							
								
								Minor style cleanup  
							
							
							
						 
						
							2013-04-28 20:56:56 +01:00  
				
					
						
							
							
								 
						
							
								b2cb93e06d 
								
							 
						 
						
							
							
								
								allow re-running of a test item (as exercised by the  
							
							... 
							
							
							
							pytest-rerunfailures plugins) by re-initializing and removing
request/funcargs information in runtestprotocol() - which is a slightly
odd place to add funcarg-related functionality but it allows all
pytest_runtest_setup/teardown hooks to properly see a valid
request/funcarg content on test items. 
							
						 
						
							2013-04-22 10:35:48 +02:00  
				
					
						
							
							
								 
						
							
								c93fbb0e57 
								
							 
						 
						
							
							
								
								Load conftest files in the correct order initially  
							
							... 
							
							
							
							When the conftest.py files are looked for intially they got loaded
starting from the subdir ending at the parent dir(s).  Later on during
collection any conftest.py files are loaded starting from the parent
dir ending at the subdir.  Due to how extending fixtures works the
latter is correct as otherwise the wrong fixture will be available.
So this changes the initial conftest loading to start at the root and
go towards the subdir.
This does also affect the order of other hooks, hence the order of the
reporting being different in testing/test_terminal.py. 
							
						 
						
							2013-04-18 12:24:53 +01:00  
				
					
						
							
							
								 
						
							
								cf7cae0780 
								
							 
						 
						
							
							
								
								pdb plugin: move entering pdb into a toplevel function  
							
							... 
							
							
							
							this prepares pdb at collect time 
							
						 
						
							2013-04-18 11:18:24 +02:00  
				
					
						
							
							
								 
						
							
								55c349a9eb 
								
							 
						 
						
							
							
								
								charify pdb visible stack end finding by turning it into a function  
							
							
							
						 
						
							2013-04-16 10:19:20 +02:00  
				
					
						
							
							
								 
						
							
								73446e98be 
								
							 
						 
						
							
							
								
								turn the postmortem traceback selection to a function  
							
							
							
						 
						
							2013-04-16 10:18:08 +02:00  
				
					
						
							
							
								 
						
							
								bfe9779b37 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2013-04-16 09:13:58 +02:00  
				
					
						
							
							
								 
						
							
								bb6f3ebd31 
								
							 
						 
						
							
							
								
								slightly improve -k help string  
							
							... 
							
							
							
							cosmetic change to test_nose.py 
							
						 
						
							2013-04-16 09:04:05 +02:00  
				
					
						
							
							
								 
						
							
								ee69b43c7a 
								
							 
						 
						
							
							
								
								Merged in adamgoucher/pytest (pull request  #29 )  
							
							... 
							
							
							
							stdout/stderr now captured by junitxml 
							
						 
						
							2013-04-16 09:02:08 +02:00  
				
					
						
							
							
								 
						
							
								63a6936d82 
								
							 
						 
						
							
							
								
								move pdb plugin post morten traceback selection to a own function  
							
							... 
							
							
							
							this is preparation for making it resillent against broken envs
that can't import doctest 
							
						 
						
							2013-04-16 08:46:55 +02:00  
				
					
						
							
							
								 
						
							
								1cbd2db621 
								
							 
						 
						
							
							
								
								stdout/stderr now captured by junitxml  
							
							
							
						 
						
							2013-04-16 00:45:14 -04:00  
				
					
						
							
							
								 
						
							
								712898cfe1 
								
							 
						 
						
							
							
								
								- add release announce  
							
							
							
						 
						
							2013-03-28 10:21:03 +01:00  
				
					
						
							
							
								 
						
							
								f31dc7a8b7 
								
							 
						 
						
							
							
								
								Attempt to improve detailed failure reporting  
							
							... 
							
							
							
							* If --verbose is used do not truncate.
* Add a special dict comparison instead of diffing
  pprint output. 
							
						 
						
							2013-03-28 01:39:01 +00:00  
				
					
						
							
							
								 
						
							
								9c9679945e 
								
							 
						 
						
							
							
								
								fix Issue 265 - integrate nose setup/teardown with setupstate  
							
							... 
							
							
							
							as sideeffect teardown is only called if setup doesnt fail 
							
						 
						
							2013-03-25 10:52:02 +01:00  
				
					
						
							
							
								 
						
							
								76fb51a4ba 
								
							 
						 
						
							
							
								
								fix issue 271 - dont write junitxml on slave nodes  
							
							
							
						 
						
							2013-03-24 20:43:25 +01:00  
				
					
						
							
							
								 
						
							
								93da606763 
								
							 
						 
						
							
							
								
								fix Issue 274 - dont fail when doctest does not know the example location  
							
							... 
							
							
							
							instead only the last test is shown, this could use some further enhancement 
							
						 
						
							2013-03-24 20:05:29 +01:00  
				
					
						
							
							
								 
						
							
								5e479c94ce 
								
							 
						 
						
							
							
								
								disable assertion rewriting on CPython 2.6.0 because of bugs ( fixes   #280 )  
							
							
							
						 
						
							2013-03-21 12:19:01 -05:00  
				
					
						
							
							
								 
						
							
								8f8466ee40 
								
							 
						 
						
							
							
								
								Merged in witsch/pytest/doctest-fixtures (pull request  #25 )  
							
							... 
							
							
							
							fixture support in doctests 
							
						 
						
							2013-03-21 12:33:43 +01:00  
				
					
						
							
							
								 
						
							
								dfcb0e322c 
								
							 
						 
						
							
							
								
								rename `get_fixture` to `getfixture` to better match the current API style  
							
							... 
							
							
							
							--HG--
branch : doctest-fixtures 
							
						 
						
							2013-03-21 12:04:14 +01:00  
				
					
						
							
							
								 
						
							
								5a3547dd7e 
								
							 
						 
						
							
							
								
								also provide `get_fixture` helper for module level doctests  
							
							... 
							
							
							
							--HG--
branch : doctest-fixtures 
							
						 
						
							2013-03-20 17:32:48 +01:00  
				
					
						
							
							
								 
						
							
								f747d363b0 
								
							 
						 
						
							
							
								
								don't expose the `FixtureRequest` object itself in doctests.  in most cases `get_fixture` is sufficient, and you can always call `get_fixture('request')` anyway  
							
							... 
							
							
							
							--HG--
branch : doctest-fixtures 
							
						 
						
							2013-03-20 16:36:48 +01:00  
				
					
						
							
							
								 
						
							
								65c69a34ac 
								
							 
						 
						
							
							
								
								python 2.4 compatibility  
							
							
							
						 
						
							2013-03-16 20:08:01 -07:00  
				
					
						
							
							
								 
						
							
								ba0100e057 
								
							 
						 
						
							
							
								
								(antocuni, ronny around): import directly from _pytest.runner to avoid the usage of @property  
							
							
							
						 
						
							2013-03-14 16:53:57 +01:00  
				
					
						
							
							
								 
						
							
								37c47155e0 
								
							 
						 
						
							
							
								
								correctly handle nose.SkipTest during collection  
							
							
							
						 
						
							2013-03-14 16:10:33 +01:00  
				
					
						
							
							
								 
						
							
								0cf79b29cd 
								
							 
						 
						
							
							
								
								in the default Python 2 case, manually check the source is ASCII ( fixes   #269 )  
							
							
							
						 
						
							2013-03-08 10:44:41 -05:00  
				
					
						
							
							
								 
						
							
								6d1662e4b7 
								
							 
						 
						
							
							
								
								Use py.builtin._basestring  
							
							
							
						 
						
							2013-02-15 13:38:40 +00:00  
				
					
						
							
							
								 
						
							
								48e6aa9dc7 
								
							 
						 
						
							
							
								
								Allow MarkEvaluator expressions to be unicode  
							
							... 
							
							
							
							This fixes issue #266 . 
							
						 
						
							2013-02-15 11:47:48 +00:00  
				
					
						
							
							
								 
						
							
								0dd05023b8 
								
							 
						 
						
							
							
								
								fix issue 251 - report a skip instead of ignoring classes with init  
							
							
							
						 
						
							2013-02-15 10:18:00 +01:00  
				
					
						
							
							
								 
						
							
								69ef750091 
								
							 
						 
						
							
							
								
								fix issue134 - print the collect errors that prevent running specified test items  
							
							
							
						 
						
							2013-02-14 12:21:42 +01:00  
				
					
						
							
							
								 
						
							
								ca8b3c2307 
								
							 
						 
						
							
							
								
								unify logic for error exit on test failures  
							
							
							
						 
						
							2013-02-14 12:13:04 +01:00  
				
					
						
							
							
								 
						
							
								d0e18ac63f 
								
							 
						 
						
							
							
								
								issue250 unicode/str mixes in parametrization names and values now works  
							
							
							
						 
						
							2013-02-12 23:30:34 +01:00  
				
					
						
							
							
								 
						
							
								296f752cca 
								
							 
						 
						
							
							
								
								fix --genscript option to generate standalone scripts that also  
							
							... 
							
							
							
							work with python3.3 (importer ordering) 
							
						 
						
							2013-02-12 22:59:29 +01:00  
				
					
						
							
							
								 
						
							
								456731ed0f 
								
							 
						 
						
							
							
								
								fix issue257 assertion-triggered compilation of source ending in a  
							
							... 
							
							
							
							comment line doesn't blow up in python2.5 (fixed through py>=1.4.13.dev6) 
							
						 
						
							2013-02-12 22:43:33 +01:00  
				
					
						
							
							
								 
						
							
								162c3689c6 
								
							 
						 
						
							
							
								
								fix issue 260 - don't use nose specials on plain unittest cases  
							
							
							
						 
						
							2013-02-07 17:53:13 +01:00  
				
					
						
							
							
								 
						
							
								b94c3084a6 
								
							 
						 
						
							
							
								
								small line length fix in nose plugin call optional  
							
							
							
						 
						
							2013-02-07 10:41:07 +01:00  
				
					
						
							
							
								 
						
							
								9d107523a1 
								
							 
						 
						
							
							
								
								py3 fixes  
							
							
							
						 
						
							2013-02-04 16:07:51 +01:00  
				
					
						
							
							
								 
						
							
								06ab38a2fc 
								
							 
						 
						
							
							
								
								strip old comment and hack  
							
							
							
						 
						
							2013-02-03 20:47:39 +01:00  
				
					
						
							
							
								 
						
							
								25547e3afb 
								
							 
						 
						
							
							
								
								pass fixture request object (and convenience shortcut to get fixtures) into doctest files  
							
							... 
							
							
							
							--HG--
branch : doctest-fixtures 
							
						 
						
							2013-01-30 17:32:37 +01:00  
				
					
						
							
							
								 
						
							
								570688f701 
								
							 
						 
						
							
							
								
								ensure OutcomeExceptions like skip/fail have initialized exception attributes  
							
							
							
						 
						
							2013-01-27 02:06:19 +01:00  
				
					
						
							
							
								 
						
							
								65edf87ea6 
								
							 
						 
						
							
							
								
								display the repr of some global names ( fixes   #171 )  
							
							
							
						 
						
							2013-01-10 11:59:08 -06:00  
				
					
						
							
							
								 
						
							
								1e94d900f2 
								
							 
						 
						
							
							
								
								fixed versioning, thanks Arfrever  
							
							
							
						 
						
							2012-12-09 09:19:33 +01:00  
				
					
						
							
							
								 
						
							
								22dd5e29e2 
								
							 
						 
						
							
							
								
								when informations gets truncated, mention use of "-vv" to see it.  
							
							
							
						 
						
							2012-11-30 12:18:12 +01:00  
				
					
						
							
							
								 
						
							
								725e63db66 
								
							 
						 
						
							
							
								
								improve PYTEST_DEBUG tracing output  
							
							... 
							
							
							
							by putingextra data on a new lines
with additional indent 
							
						 
						
							2012-11-29 10:04:39 +01:00  
				
					
						
							
							
								 
						
							
								3d79e7060e 
								
							 
						 
						
							
							
								
								allow to specify prefixes starting with "_" when  
							
							... 
							
							
							
							customizing python_functions test discovery. (thanks Graham Horler) 
							
						 
						
							2012-11-28 09:23:36 +01:00  
				
					
						
							
							
								 
						
							
								1d7c71884e 
								
							 
						 
						
							
							
								
								Remove check for "_" prefix on python functions (use python_functions)  
							
							... 
							
							
							
							(See IRC hpk 2012-11-27 14:56: after the python_functions customization
 was introduced, it makes sense to disregard the preliminary "_" check) 
							
						 
						
							2012-11-27 16:58:08 +00:00  
				
					
						
							
							
								 
						
							
								68786a6434 
								
							 
						 
						
							
							
								
								fix bug where using capsys with pytest.set_trace() in a test  
							
							... 
							
							
							
							function would break when looking at capsys.readouterr() 
							
						 
						
							2012-11-21 20:43:31 +01:00  
				
					
						
							
							
								 
						
							
								b97de57ebe 
								
							 
						 
						
							
							
								
								improve docstring for metafunc.parametrize()  
							
							
							
						 
						
							2012-11-21 10:13:44 +01:00  
				
					
						
							
							
								 
						
							
								1c9ef2443f 
								
							 
						 
						
							
							
								
								bump version, fix -k option help  
							
							
							
						 
						
							2012-11-20 14:20:39 +01:00  
				
					
						
							
							
								 
						
							
								b5955c5979 
								
							 
						 
						
							
							
								
								fix version number, final fixes  
							
							
							
						 
						
							2012-11-20 14:01:31 +01:00  
				
					
						
							
							
								 
						
							
								765b053984 
								
							 
						 
						
							
							
								
								bump version, add announcement, regen docs  
							
							
							
						 
						
							2012-11-20 13:42:00 +01:00  
				
					
						
							
							
								 
						
							
								f263f54889 
								
							 
						 
						
							
							
								
								make yielded tests participate in the autouse protocol  
							
							
							
						 
						
							2012-11-19 22:17:59 +01:00  
				
					
						
							
							
								 
						
							
								d66ff7e63e 
								
							 
						 
						
							
							
								
								fix autouse invocation (off-by-one error), relates to issue in moinmoin test suite  
							
							
							
						 
						
							2012-11-19 22:17:55 +01:00  
				
					
						
							
							
								 
						
							
								f3e03fc298 
								
							 
						 
						
							
							
								
								modernize tmpdir fixture (use request.node in tmpdir fixture, use @pytest.fixture)  
							
							
							
						 
						
							2012-11-19 14:07:14 +01:00  
				
					
						
							
							
								 
						
							
								2ef350aede 
								
							 
						 
						
							
							
								
								getting rid of redundant "active" attribute  
							
							
							
						 
						
							2012-11-19 12:42:10 +01:00  
				
					
						
							
							
								 
						
							
								b940ed11a0 
								
							 
						 
						
							
							
								
								fix issue226 - LIFO ordering for fixture-added teardowns  
							
							
							
						 
						
							2012-11-16 10:03:51 +01:00  
				
					
						
							
							
								 
						
							
								5b64b0130d 
								
							 
						 
						
							
							
								
								fix typo (thanks Thomas Waldmann)  
							
							
							
						 
						
							2012-11-14 09:40:01 +01:00  
				
					
						
							
							
								 
						
							
								c64c567b75 
								
							 
						 
						
							
							
								
								fix issue224 - invocations with >256 char arguments now work  
							
							
							
						 
						
							2012-11-12 10:15:43 +01:00  
				
					
						
							
							
								 
						
							
								4ac465acfb 
								
							 
						 
						
							
							
								
								allow to pass expressions to "-k" option, just like with the "-m" option  
							
							
							
						 
						
							2012-11-09 12:29:33 +01:00  
				
					
						
							
							
								 
						
							
								a4909a0ae4 
								
							 
						 
						
							
							
								
								allow to dynamically define markers (e.g. during pytest_collection_modifyitems)  
							
							
							
						 
						
							2012-11-09 12:07:41 +01:00  
				
					
						
							
							
								 
						
							
								476d210d09 
								
							 
						 
						
							
							
								
								prolong workaround for jython AST bug  http://bugs.jython.org/issue1497  
							
							... 
							
							
							
							to make pytest work for post-2.5.1 jython versions 
							
						 
						
							2012-11-07 10:05:39 +01:00  
				
					
						
							
							
								 
						
							
								d6f10d502c 
								
							 
						 
						
							
							
								
								fix py31 compat, amend setup.py long description  
							
							
							
						 
						
							2012-11-06 15:36:11 +01:00  
				
					
						
							
							
								 
						
							
								65d6ebe7d1 
								
							 
						 
						
							
							
								
								bump to 2.3.3, add release announce  
							
							
							
						 
						
							2012-11-06 14:41:10 +01:00  
				
					
						
							
							
								 
						
							
								33cd414420 
								
							 
						 
						
							
							
								
								fix issue127 improve pytest_addoption docs, add new config.getoption(name) method for consistency.  
							
							
							
						 
						
							2012-11-06 14:09:12 +01:00  
				
					
						
							
							
								 
						
							
								dba2a8bc64 
								
							 
						 
						
							
							
								
								fix issue217 - to support @mock.patch with pytest funcarg-fixtures, also split out python integration tests into python/integration.py and fix nose/mark tests  
							
							
							
						 
						
							2012-11-06 11:04:11 +01:00  
				
					
						
							
							
								 
						
							
								f203401964 
								
							 
						 
						
							
							
								
								amend changelog entries  
							
							
							
						 
						
							2012-11-06 09:27:58 +01:00  
				
					
						
							
							
								 
						
							
								002c5072af 
								
							 
						 
						
							
							
								
								addresses issue209 - avoid error messages from pip on python2.4 related to file, however, never be imported with this interpreter  
							
							
							
						 
						
							2012-11-06 09:08:54 +01:00  
				
					
						
							
							
								 
						
							
								df444906d6 
								
							 
						 
						
							
							
								
								merge pull request  
							
							
							
						 
						
							2012-11-05 21:18:50 +01:00  
				
					
						
							
							
								 
						
							
								7e831b66ec 
								
							 
						 
						
							
							
								
								fix issue148 - recognize @unittest.skip on classes, avoid setup/teardown  
							
							
							
						 
						
							2012-11-03 20:54:48 +01:00  
				
					
						
							
							
								 
						
							
								ca281b7c1b 
								
							 
						 
						
							
							
								
								remove unused code  
							
							
							
						 
						
							2012-11-02 16:04:56 +01:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								e7e5ee805f 
								
							 
						 
						
							
							
								
								fix issue 214 - gracefully handle proxy objects that look like fixtures  
							
							
							
						 
						
							2012-10-31 17:00:43 +01:00  
				
					
						
							
							
								 
						
							
								fce13c3e46 
								
							 
						 
						
							
							
								
								re-allow to parametrize with values that don't support __eq__ (closes issue213)  
							
							
							
						 
						
							2012-10-28 14:52:43 +01:00  
				
					
						
							
							
								 
						
							
								6b6080ae6c 
								
							 
						 
						
							
							
								
								remove unused code  
							
							
							
						 
						
							2012-10-28 10:12:36 +01:00  
				
					
						
							
							
								 
						
							
								6ad16936bb 
								
							 
						 
						
							
							
								
								bump version to 2.3.2, regen docs and changelog  
							
							
							
						 
						
							2012-10-25 13:48:31 +02:00  
				
					
						
							
							
								 
						
							
								b8277bfed8 
								
							 
						 
						
							
							
								
								fix issue127 - improve pytest_addoption and related documentation  
							
							
							
						 
						
							2012-10-25 11:07:07 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								aa79c0a4b9 
								
							 
						 
						
							
							
								
								fix unittest emulation: TestCase.runTest is now ignored  
							
							... 
							
							
							
							if there are test* methods. 
							
						 
						
							2012-10-22 16:25:09 +02:00  
				
					
						
							
							
								 
						
							
								05c86aeb28 
								
							 
						 
						
							
							
								
								make sure ihook uses a node's fspath - important for hooks  
							
							... 
							
							
							
							e.g. during a Module's collect to pick up conftest.py files
residing in the same dir 
							
						 
						
							2012-10-22 16:12:22 +02:00  
				
					
						
							
							
								 
						
							
								f28f073c7c 
								
							 
						 
						
							
							
								
								fix teardown-ordering for parametrized setups/teardowns  
							
							
							
						 
						
							2012-10-22 12:16:54 +02:00  
				
					
						
							
							
								 
						
							
								036557ac18 
								
							 
						 
						
							
							
								
								fix issue206 - unset PYTHONDONTWRITEBYTECODE in assertrewrite test  
							
							
							
						 
						
							2012-10-22 11:14:18 +02:00  
				
					
						
							
							
								 
						
							
								97f03edcd6 
								
							 
						 
						
							
							
								
								fix issue205 - nested conftest to pickup pycollect_makemodule - relates to the two  
							
							... 
							
							
							
							reports of a failing doc/en/example/py2py3. 
							
						 
						
							2012-10-22 10:17:50 +02:00  
				
					
						
							
							
								 
						
							
								d55fc611c4 
								
							 
						 
						
							
							
								
								properly handle non-existent PYTHONPATH  
							
							
							
						 
						
							2012-10-20 17:39:15 +02:00  
				
					
						
							
							
								 
						
							
								720fe3405b 
								
							 
						 
						
							
							
								
								allow to run self-tests with "python setup.py test" for pytest tests itself  
							
							
							
						 
						
							2012-10-20 17:32:03 +02:00  
				
					
						
							
							
								 
						
							
								c894b2b459 
								
							 
						 
						
							
							
								
								add tox.ini to distribution  
							
							
							
						 
						
							2012-10-20 17:08:02 +02:00  
				
					
						
							
							
								 
						
							
								289ee1c6ea 
								
							 
						 
						
							
							
								
								prepare a 2.3.1  
							
							
							
						 
						
							2012-10-20 14:05:33 +02:00  
				
					
						
							
							
								 
						
							
								f41f7fda68 
								
							 
						 
						
							
							
								
								improve --markers output  
							
							
							
						 
						
							2012-10-20 13:56:53 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								fae34ca5e3 
								
							 
						 
						
							
							
								
								proper version number (2.3.1.dev*)  
							
							
							
						 
						
							2012-10-19 16:00:29 +02:00  
				
					
						
							
							
								 
						
							
								0852e84d9f 
								
							 
						 
						
							
							
								
								skip pexpect using tests on freebsd  
							
							
							
						 
						
							2012-10-19 15:59:29 +02:00  
				
					
						
							
							
								 
						
							
								dca5fa2241 
								
							 
						 
						
							
							
								
								fixing links for 2.3 release, and fixing a windows32 failure on py3  
							
							
							
						 
						
							2012-10-19 10:53:28 +02:00  
				
					
						
							
							
								 
						
							
								586befb945 
								
							 
						 
						
							
							
								
								make usefixtures appear in py.test --markers output  
							
							
							
						 
						
							2012-10-19 10:17:13 +02:00  
				
					
						
							
							
								 
						
							
								b0b6695538 
								
							 
						 
						
							
							
								
								improve automatic id generation for parametrized tests  
							
							
							
						 
						
							2012-10-19 10:07:13 +02:00  
				
					
						
							
							
								 
						
							
								024df6e00b 
								
							 
						 
						
							
							
								
								some more finalization of docs  
							
							
							
						 
						
							2012-10-19 10:07:11 +02:00  
				
					
						
							
							
								 
						
							
								64544bee1a 
								
							 
						 
						
							
							
								
								fix trial tests  
							
							
							
						 
						
							2012-10-18 15:09:20 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								cf17f1d628 
								
							 
						 
						
							
							
								
								fixing the fix of the last commit  
							
							
							
						 
						
							2012-10-17 13:45:03 +02:00  
				
					
						
							
							
								 
						
							
								67de2c53ac 
								
							 
						 
						
							
							
								
								fix issue198 - detection of fixtures from conftest.py files in deeper nested dir structures with certain invocations  
							
							
							
						 
						
							2012-10-17 13:42:40 +02:00  
				
					
						
							
							
								 
						
							
								26ab80c4cd 
								
							 
						 
						
							
							
								
								fix and test --fixtures location information  
							
							
							
						 
						
							2012-10-17 13:12:33 +02:00  
				
					
						
							
							
								 
						
							
								20849a44f5 
								
							 
						 
						
							
							
								
								improve --fixtures output with per-plugin grouping  and hiding underscore names in non-verbose mode, re-introduce --funcargs for compatibiliy  
							
							
							
						 
						
							2012-10-17 12:57:05 +02:00  
				
					
						
							
							
								 
						
							
								51644a116c 
								
							 
						 
						
							
							
								
								remove unused code  
							
							
							
						 
						
							2012-10-17 11:50:32 +02:00  
				
					
						
							
							
								 
						
							
								98513b995a 
								
							 
						 
						
							
							
								
								simplify/integrate fixturemapper into FixtureManager  
							
							... 
							
							
							
							also fix jstests test failures 
							
						 
						
							2012-10-17 11:20:45 +02:00  
				
					
						
							
							
								 
						
							
								dc4e205876 
								
							 
						 
						
							
							
								
								typographic fixes, little simplification  
							
							
							
						 
						
							2012-10-17 09:21:04 +02:00  
				
					
						
							
							
								 
						
							
								2855a2f6cb 
								
							 
						 
						
							
							
								
								remove outdated IMPL.txt and move up-to-date doc bits to FixtureMapper class.  
							
							
							
						 
						
							2012-10-16 16:27:51 +02:00  
				
					
						
							
							
								 
						
							
								cc2337af3a 
								
							 
						 
						
							
							
								
								refine parsefactories interface, fix two_classes test originally reported by Alex Okrushko, also add a few more tests to make sure autouse-fixtures are properly distinguished  
							
							
							
						 
						
							2012-10-16 16:13:12 +02:00  
				
					
						
							
							
								 
						
							
								ab4183d400 
								
							 
						 
						
							
							
								
								strike another use of getfuncargnames() and rename FixtureDef.fixturenames to "argnames" because it's really just the fixture function arguments  
							
							
							
						 
						
							2012-10-16 14:19:38 +02:00  
				
					
						
							
							
								 
						
							
								37965657d0 
								
							 
						 
						
							
							
								
								make factorydeflist immutable by using an index  
							
							
							
						 
						
							2012-10-16 13:59:12 +02:00  
				
					
						
							
							
								 
						
							
								ccaa1af534 
								
							 
						 
						
							
							
								
								use FixtureInfo from FixtureRequest  
							
							
							
						 
						
							2012-10-16 13:48:00 +02:00  
				
					
						
							
							
								 
						
							
								2f3bbdafda 
								
							 
						 
						
							
							
								
								use fixturemapper/fixtureinfo from Function objects  
							
							
							
						 
						
							2012-10-16 13:48:00 +02:00  
				
					
						
							
							
								 
						
							
								021c087701 
								
							 
						 
						
							
							
								
								implement fixture information stored on the parentnode of functions  
							
							... 
							
							
							
							to be reused by metafunc mechanics and Function setup 
							
						 
						
							2012-10-16 13:47:59 +02:00  
				
					
						
							
							
								 
						
							
								4541456a96 
								
							 
						 
						
							
							
								
								add plan for better fixture implementation, an xfailing test  
							
							... 
							
							
							
							and a slight refactoring of Metafunc tests/creation 
							
						 
						
							2012-10-16 13:47:59 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								40a55a640c 
								
							 
						 
						
							
							
								
								nose.py: don't try to call setup if it's not callable  
							
							
							
						 
						
							2012-10-12 14:39:17 +10:00  
				
					
						
							
							
								 
						
							
								6eec2f5893 
								
							 
						 
						
							
							
								
								make tmpdir fixture always return a realpath()ed tmpdir and make a note  
							
							... 
							
							
							
							about it in the changed test.  Currently, i don't see a reason why this
is a bad idea (tm) 
							
						 
						
							2012-10-11 13:05:16 +02:00  
				
					
						
							
							
								 
						
							
								0594265adc 
								
							 
						 
						
							
							
								
								fix output of --fixtures for @pytest.fixture defined functions.  
							
							
							
						 
						
							2012-10-09 16:49:04 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								d630d02c5b 
								
							 
						 
						
							
							
								
								remove pytest.setup usage  
							
							
							
						 
						
							2012-10-08 08:34:21 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								cda84fb566 
								
							 
						 
						
							
							
								
								- allow to use fixtures directly, i.e. without ()  
							
							... 
							
							
							
							- also allow scope to be determined by a dynamic function 
							
						 
						
							2012-10-06 21:03:55 +02:00  
				
					
						
							
							
								 
						
							
								d3893dd5d1 
								
							 
						 
						
							
							
								
								allow metafunc.parametrize(scope=...) calls to override the scope of a Fixture function definition.  This is useful for cases where you want to dynamically  
							
							... 
							
							
							
							set scope and parametrization for a fixture instead of statically declaring
it on the fixture function. 
							
						 
						
							2012-10-06 21:01:13 +02:00  
				
					
						
							
							
								 
						
							
								55a8bfd174 
								
							 
						 
						
							
							
								
								fix issue197 - in case a function is parametrized with zero arguments,  
							
							... 
							
							
							
							skip it during setup 
							
						 
						
							2012-10-06 11:34:06 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								4cbb2ab3b3 
								
							 
						 
						
							
							
								
								bump version  
							
							
							
						 
						
							2012-10-05 14:35:16 +02:00  
				
					
						
							
							
								 
						
							
								d1a3f5c3a6 
								
							 
						 
						
							
							
								
								make the default non-error pass simpler and faster, refine error reporting by presenting "fixture" tracebacks  
							
							
							
						 
						
							2012-10-05 14:24:45 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								8282efbb40 
								
							 
						 
						
							
							
								
								internally unify setup and fixture code, making setup a shortcut to fixture(autoactive=True)  
							
							
							
						 
						
							2012-10-05 10:21:35 +02:00  
				
					
						
							
							
								 
						
							
								9251e747af 
								
							 
						 
						
							
							
								
								rename pytest.factory usages into pytest.fixture ones  
							
							
							
						 
						
							2012-10-05 10:21:35 +02:00  
				
					
						
							
							
								 
						
							
								5173647b4d 
								
							 
						 
						
							
							
								
								fixes to against python3.3  
							
							
							
						 
						
							2012-10-01 10:14:54 +02:00  
				
					
						
							
							
								 
						
							
								57a832812b 
								
							 
						 
						
							
							
								
								remove unneccessary internal __request__ funcarg.  
							
							
							
						 
						
							2012-10-01 09:23:39 +02:00  
				
					
						
							
							
								 
						
							
								bee7543716 
								
							 
						 
						
							
							
								
								move Item.applymarker to Node, and defer to it from Funcargrequest.applymarker  
							
							
							
						 
						
							2012-09-30 22:17:33 +02:00  
				
					
						
							
							
								 
						
							
								dbe66f468a 
								
							 
						 
						
							
							
								
								ensure proper calling of finalizers in case of parametrization on classes  
							
							
							
						 
						
							2012-09-26 12:24:04 +02:00  
				
					
						
							
							
								 
						
							
								35cbb5791d 
								
							 
						 
						
							
							
								
								fixes issue 156: monkeypatch class level descriptors  
							
							
							
						 
						
							2012-09-25 18:15:13 +02:00  
				
					
						
							
							
								 
						
							
								a18fd61a20 
								
							 
						 
						
							
							
								
								back out accidental changes introduced by last patch  
							
							
							
						 
						
							2012-09-25 15:13:58 +02:00  
				
					
						
							
							
								 
						
							
								a1c3d60747 
								
							 
						 
						
							
							
								
								add an xfail-ed test for a potential future "enabled" parameter to setup functions  
							
							
							
						 
						
							2012-09-25 15:04:30 +02:00  
				
					
						
							
							
								 
						
							
								cd1ead4f7b 
								
							 
						 
						
							
							
								
								- make request.funcargnames carry the closure of all used funcargs  
							
							... 
							
							
							
							- make metafunc.funcargnames carry the closure of used funcargs 
							
						 
						
							2012-09-24 17:04:34 +02:00  
				
					
						
							
							
								 
						
							
								9568ff3b23 
								
							 
						 
						
							
							
								
								backout, the _memoizedcall change worked only due to a local effect  
							
							
							
						 
						
							2012-09-24 11:36:24 +02:00  
				
					
						
							
							
								 
						
							
								6e5f491a42 
								
							 
						 
						
							
							
								
								get rid of _memoizedcall - we dont really need it anymore  
							
							
							
						 
						
							2012-09-24 11:26:38 +02:00  
				
					
						
							
							
								 
						
							
								7768972ec5 
								
							 
						 
						
							
							
								
								make sure setups are called ahead of the funcarg factories of the test function  
							
							
							
						 
						
							2012-09-24 10:36:22 +02:00  
				
					
						
							
							
								 
						
							
								754fab9b55 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2012-09-22 20:26:13 +02:00  
				
					
						
							
							
								 
						
							
								253a87b2dc 
								
							 
						 
						
							
							
								
								fix issue 191 - add support for runTest method of unittest.TestCase subclasses  
							
							
							
						 
						
							2012-09-22 18:24:53 +02:00  
				
					
						
							
							
								 
						
							
								81082ed3d3 
								
							 
						 
						
							
							
								
								extend --help to tell about --markers and --funcargs  
							
							
							
						 
						
							2012-09-22 11:44:56 +02:00  
				
					
						
							
							
								 
						
							
								465cfff6f9 
								
							 
						 
						
							
							
								
								don't call nose' setup methods if they are marked with pytest.setup  
							
							
							
						 
						
							2012-09-22 00:23:36 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								22dc47d9f9 
								
							 
						 
						
							
							
								
								refine internal test support for unicode-related bits (used by a test in pytest-pep8)  
							
							
							
						 
						
							2012-09-20 10:57:23 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								a5e7e441d3 
								
							 
						 
						
							
							
								
								fix bug introduced with last checkin  
							
							
							
						 
						
							2012-09-18 13:46:24 +02:00  
				
					
						
							
							
								 
						
							
								a7c6688bd6 
								
							 
						 
						
							
							
								
								implement full @pytest.setup function unittest.TestCase interaction  
							
							
							
						 
						
							2012-09-18 10:54:12 +02:00  
				
					
						
							
							
								 
						
							
								d9c24552fc 
								
							 
						 
						
							
							
								
								remove distinction of new versus old funcarg factories  
							
							
							
						 
						
							2012-09-18 10:53:42 +02:00  
				
					
						
							
							
								 
						
							
								631d311e89 
								
							 
						 
						
							
							
								
								- add request.node which maps to the collection node as specified by the scope.  
							
							... 
							
							
							
							- remove request.markers which is now available via request.node.markers 
							
						 
						
							2012-09-17 20:43:37 +02:00  
				
					
						
							
							
								 
						
							
								a94bb0a8bb 
								
							 
						 
						
							
							
								
								introduce a new "markers" attribute to nodes and the request object. It is  
							
							... 
							
							
							
							a dynamic class making holdin 
							
						 
						
							2012-09-17 17:32:23 +02:00  
				
					
						
							
							
								 
						
							
								646c2c6001 
								
							 
						 
						
							
							
								
								drops special testcontext object in favour of "old" request object, simplifying communication and code for the 2.2-2.3 transition. also modify docs and examples.  
							
							
							
						 
						
							2012-09-17 16:36:10 +02:00  
				
					
						
							
							
								 
						
							
								f6b555f5ad 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2012-09-17 08:41:04 +02:00  
				
					
						
							
							
								 
						
							
								bf5b226474 
								
							 
						 
						
							
							
								
								fix issue 188 - ensure sys.exc_info on py2 is clear before calling into a test  
							
							
							
						 
						
							2012-09-15 15:20:49 +02:00  
				
					
						
							
							
								 
						
							
								084c617b67 
								
							 
						 
						
							
							
								
								modify detection of factories located in plugins, allowing pytest's own test functions to access plugin defined funcargs even if they use internal machinery instead of a full test run  
							
							
							
						 
						
							2012-09-12 12:51:45 +02:00  
				
					
						
							
							
								 
						
							
								bfaf8e50b6 
								
							 
						 
						
							
							
								
								fix issue 182: testdir.inprocess_run now considers passed plugins  
							
							
							
						 
						
							2012-09-03 10:12:30 +02:00  
				
					
						
							
							
								 
						
							
								41ad7dbae1 
								
							 
						 
						
							
							
								
								fix issue185 monkeypatching time.time does not cause pytest to fail  
							
							
							
						 
						
							2012-09-01 09:58:10 +02:00  
				
					
						
							
							
								 
						
							
								7f36649763 
								
							 
						 
						
							
							
								
								remove usage of exception module, which is gone in py3.3  
							
							
							
						 
						
							2012-08-28 16:35:06 -04:00  
				
					
						
							
							
								 
						
							
								e876ad9abd 
								
							 
						 
						
							
							
								
								fix issue 179 - propperly show the dependency chain of factories on setup failure  
							
							
							
						 
						
							2012-08-22 21:43:42 +02:00  
				
					
						
							
							
								 
						
							
								45693c2847 
								
							 
						 
						
							
							
								
								exchange the rawcode factory marker check with a more robust and specific instance check as advised by holger  
							
							
							
						 
						
							2012-08-19 14:57:07 +02:00  
				
					
						
							
							
								 
						
							
								0e8cd9297a 
								
							 
						 
						
							
							
								
								fix issue 176: raises(AssertionError) now catches builtin AssertionError as well  
							
							
							
						 
						
							2012-08-19 13:45:26 +02:00  
				
					
						
							
							
								 
						
							
								0cca20bef9 
								
							 
						 
						
							
							
								
								ignore magic callables with no sane code in factory/setup discovery  
							
							
							
						 
						
							2012-08-19 12:36:49 +02:00  
				
					
						
							
							
								 
						
							
								1446b4b4e6 
								
							 
						 
						
							
							
								
								fix issue  #178  and extend the failure escape test  
							
							
							
						 
						
							2012-08-17 16:08:08 +02:00  
				
					
						
							
							
								 
						
							
								627e068516 
								
							 
						 
						
							
							
								
								fix issue172 so that @pytest.setup marked setup_module/function... functions  
							
							... 
							
							
							
							are not called twice.  Also fix ordering to that broader scoped setup
functions are executed first. 
							
						 
						
							2012-08-13 13:37:14 +02:00  
				
					
						
							
							
								 
						
							
								935761f098 
								
							 
						 
						
							
							
								
								also improve missing funcarg error for setup functions  
							
							
							
						 
						
							2012-08-08 14:53:47 +02:00  
				
					
						
							
							
								 
						
							
								dd268c1b2b 
								
							 
						 
						
							
							
								
								improve error representation for missing factory definitions  
							
							... 
							
							
							
							in recursive funcarg reconstruction 
							
						 
						
							2012-08-08 11:48:53 +02:00  
				
					
						
							
							
								 
						
							
								172505f703 
								
							 
						 
						
							
							
								
								fix/consolidate --junitxml=path construction with relative pathes  
							
							
							
						 
						
							2012-08-04 10:33:43 +02:00  
				
					
						
							
							
								 
						
							
								6746a00cb8 
								
							 
						 
						
							
							
								
								majorly refine funcargs docs and rename "resources.txt" to "funcargs.txt" so that existing web links will eventually land at this new page when pytest is released.  Also integrated the detailed reasoning and update setup function docs  
							
							... 
							
							
							
							to reflect latest discussions and feedback gathered on py-dev mailing list. 
							
						 
						
							2012-08-03 19:08:27 +02:00  
				
					
						
							
							
								 
						
							
								46dc7eeacb 
								
							 
						 
						
							
							
								
								move pytest.mark.factory/setup to pytest.factory/setup, as per flub 's suggestion  
							
							
							
						 
						
							2012-08-02 12:41:46 +02:00  
				
					
						
							
							
								 
						
							
								5fd84c35dd 
								
							 
						 
						
							
							
								
								reshuffle docs, try to get a bit closer to release-relevant documentation  
							
							
							
						 
						
							2012-08-01 14:52:51 +02:00  
				
					
						
							
							
								 
						
							
								535d892f27 
								
							 
						 
						
							
							
								
								- rename @funcarg to @factory  
							
							... 
							
							
							
							- introduce a "testcontext" object for new-style funcargs and setup methods
- New-style funcargs and setup methods cannot use the "request" object anymore. 
							
						 
						
							2012-08-01 13:57:09 +02:00  
				
					
						
							
							
								 
						
							
								cb2eb9ba33 
								
							 
						 
						
							
							
								
								reorder internal layout so that funcarg-related functionality is in python.py  
							
							
							
						 
						
							2012-08-01 09:23:39 +02:00  
				
					
						
							
							
								 
						
							
								449b55cc70 
								
							 
						 
						
							
							
								
								- enhance ordering of tests using parametrized resources  
							
							... 
							
							
							
							- introduce a refined way to perform finalization for setup functions
  which does not use cached_setup() anymore 
							
						 
						
							2012-08-01 09:07:32 +02:00  
				
					
						
							
							
								 
						
							
								9dc79fd187 
								
							 
						 
						
							
							
								
								introduce a funcargcall object, holding meta information  
							
							
							
						 
						
							2012-07-30 12:39:45 +02:00  
				
					
						
							
							
								 
						
							
								b57fb9fd47 
								
							 
						 
						
							
							
								
								introduce a SetupCall, holding meta information and setup calling state  
							
							
							
						 
						
							2012-07-30 11:51:50 +02:00  
				
					
						
							
							
								 
						
							
								d68c65b493 
								
							 
						 
						
							
							
								
								minimize active parametrized non-function scoped resources  by  
							
							... 
							
							
							
							- re-ordering at collection time
- modifying setup/teardown 
							
						 
						
							2012-07-30 10:46:03 +02:00  
				
					
						
							
							
								 
						
							
								fa61927c6b 
								
							 
						 
						
							
							
								
								introduce @pytest.mark.setup decorated function,  
							
							... 
							
							
							
							extend newexamples.txt and draft a V4 resources API doc. 
							
						 
						
							2012-07-24 12:10:04 +02:00  
				
					
						
							
							
								 
						
							
								d4a487c725 
								
							 
						 
						
							
							
								
								allow funcarg factories to receive funcargs  
							
							
							
						 
						
							2012-07-23 10:55:09 +02:00  
				
					
						
							
							
								 
						
							
								6b0f0adf5b 
								
							 
						 
						
							
							
								
								implement a scope/parametrized examples using the so-far new features  
							
							... 
							
							
							
							also fix a bug with scoping/parametrization 
							
						 
						
							2012-07-20 14:16:50 +02:00  
				
					
						
							
							
								 
						
							
								396045e53f 
								
							 
						 
						
							
							
								
								allow registration of "funcarg" marked factories  
							
							
							
						 
						
							2012-07-20 14:16:49 +02:00  
				
					
						
							
							
								 
						
							
								80db25822c 
								
							 
						 
						
							
							
								
								implement funcarg factory scope marker and ScopeMismatch detection  
							
							
							
						 
						
							2012-07-20 14:16:46 +02:00  
				
					
						
							
							
								 
						
							
								f358fe7154 
								
							 
						 
						
							
							
								
								extend Metafunc and write a pytest_generate_tests hook on the funcarg manager  
							
							... 
							
							
							
							which discovers factories 
							
						 
						
							2012-07-20 14:16:46 +02:00  
				
					
						
							
							
								 
						
							
								e14459d45c 
								
							 
						 
						
							
							
								
								discover funcarg factories independently from request/Function items  
							
							
							
						 
						
							2012-07-20 14:16:28 +02:00  
				
					
						
							
							
								 
						
							
								4e4b507472 
								
							 
						 
						
							
							
								
								move funcarg factory to a new FuncargManager object at session level  
							
							
							
						 
						
							2012-07-19 09:20:14 +02:00  
				
					
						
							
							
								 
						
							
								c7ee6e71ab 
								
							 
						 
						
							
							
								
								re-introduce the old 2.2.4 FuncargRequest implementation as it is a better  
							
							... 
							
							
							
							base for implementing the new funcarg/setup api. Also Un-optimize
funcargnames discovery for now. 
							
						 
						
							2012-07-18 19:49:14 +02:00  
				
					
						
							
							
								 
						
							
								4766497515 
								
							 
						 
						
							
							
								
								V3 draft of resource api  
							
							
							
						 
						
							2012-07-16 11:11:26 +02:00  
				
					
						
							
							
								 
						
							
								7a90bed19b 
								
							 
						 
						
							
							
								
								V1 of the resources API draft  
							
							
							
						 
						
							2012-07-16 10:47:00 +02:00  
				
					
						
							
							
								 
						
							
								8adac2878f 
								
							 
						 
						
							
							
								
								put automatic funcarg_ API to Py*objects only, refine internal subclassing and initialisation logic  
							
							
							
						 
						
							2012-07-16 10:46:44 +02:00  
				
					
						
							
							
								 
						
							
								b902c36bfc 
								
							 
						 
						
							
							
								
								Fix typo in terminal help text  
							
							
							
						 
						
							2012-07-12 17:00:48 +01:00  
				
					
						
							
							
								 
						
							
								1aca6c9d7c 
								
							 
						 
						
							
							
								
								Fix extension of of cached re-written file  
							
							... 
							
							
							
							With PYTHONOPTIMIZE set this had the extension of "o" instead of ".pyo".
Fixes issue #168 . 
							
						 
						
							2012-07-07 16:09:53 +02:00  
				
					
						
							
							
								 
						
							
								74e55493d1 
								
							 
						 
						
							
							
								
								test and implement showing verbose assert repr for py.test -vv  
							
							
							
						 
						
							2012-06-27 17:26:55 +02:00  
				
					
						
							
							
								 
						
							
								ecec653e98 
								
							 
						 
						
							
							
								
								fix issue151 - heuristcally lookup conftest files on all command line arguments, not just the first existing dir/file  
							
							... 
							
							
							
							you can install the corresponding pytest-2.3.dev2 via
pip install -i http:/pypi.testrun.org -U pytest 
							
						 
						
							2012-06-26 21:56:03 +02:00  
				
					
						
							
							
								 
						
							
								0ba0f91720 
								
							 
						 
						
							
							
								
								remove unused code  
							
							
							
						 
						
							2012-06-26 20:28:09 +02:00  
				
					
						
							
							
								 
						
							
								b4b86159cd 
								
							 
						 
						
							
							
								
								better name for the oejskit-compatibility-class.  
							
							
							
						 
						
							2012-06-25 17:49:13 +02:00