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  
				
					
						
							
							
								 
						
							
								39b8a19cf7 
								
							 
						 
						
							
							
								
								Fix test for windows  
							
							
							
						 
						
							2012-10-08 13:42:31 +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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								3049af618c 
								
							 
						 
						
							
							
								
								avoid pyc file issues by parametrizing the test instead of rewriting conftest.py files  
							
							
							
						 
						
							2012-10-04 11:51:14 +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  
				
					
						
							
							
								 
						
							
								b9767fd74c 
								
							 
						 
						
							
							
								
								remove print, pass python32  
							
							
							
						 
						
							2012-09-27 13:27:22 +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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								a7c6688bd6 
								
							 
						 
						
							
							
								
								implement full @pytest.setup function unittest.TestCase interaction  
							
							
							
						 
						
							2012-09-18 10:54:12 +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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								bfaf8e50b6 
								
							 
						 
						
							
							
								
								fix issue 182: testdir.inprocess_run now considers passed plugins  
							
							
							
						 
						
							2012-09-03 10:12:30 +02:00  
				
					
						
							
							
								 
						
							
								848c749d1a 
								
							 
						 
						
							
							
								
								adapt the junit xml escaping test to my escaping changes  
							
							
							
						 
						
							2012-09-03 09:54:02 +02:00  
				
					
						
							
							
								 
						
							
								41ad7dbae1 
								
							 
						 
						
							
							
								
								fix issue185 monkeypatching time.time does not cause pytest to fail  
							
							
							
						 
						
							2012-09-01 09:58:10 +02:00  
				
					
						
							
							
								 
						
							
								a6060dfb6d 
								
							 
						 
						
							
							
								
								use py3 compatible print syntax  
							
							
							
						 
						
							2012-08-28 16:37:43 -04: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  
				
					
						
							
							
								 
						
							
								503addbf09 
								
							 
						 
						
							
							
								
								correctly have the test for issue #[C179 actually fail  
							
							
							
						 
						
							2012-08-22 21:20:18 +02:00  
				
					
						
							
							
								 
						
							
								1318df4f5b 
								
							 
						 
						
							
							
								
								add xfailing test for issue 179  
							
							
							
						 
						
							2012-08-22 19:49:50 +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  
				
					
						
							
							
								 
						
							
								46dc7eeacb 
								
							 
						 
						
							
							
								
								move pytest.mark.factory/setup to pytest.factory/setup, as per flub 's suggestion  
							
							
							
						 
						
							2012-08-02 12:41:46 +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