holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								5173647b4d 
								
							 
						 
						
							
							
								
								fixes to against python3.3  
							
							 
							
							
							
						 
						
							2012-10-01 10:14:54 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								57a832812b 
								
							 
						 
						
							
							
								
								remove unneccessary internal __request__ funcarg.  
							
							 
							
							
							
						 
						
							2012-10-01 09:23:39 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								bee7543716 
								
							 
						 
						
							
							
								
								move Item.applymarker to Node, and defer to it from Funcargrequest.applymarker  
							
							 
							
							
							
						 
						
							2012-09-30 22:17:33 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								dbe66f468a 
								
							 
						 
						
							
							
								
								ensure proper calling of finalizers in case of parametrization on classes  
							
							 
							
							
							
						 
						
							2012-09-26 12:24:04 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								a18fd61a20 
								
							 
						 
						
							
							
								
								back out accidental changes introduced by last patch  
							
							 
							
							
							
						 
						
							2012-09-25 15:13:58 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								a1c3d60747 
								
							 
						 
						
							
							
								
								add an xfail-ed test for a potential future "enabled" parameter to setup functions  
							
							 
							
							
							
						 
						
							2012-09-25 15:04:30 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								9568ff3b23 
								
							 
						 
						
							
							
								
								backout, the _memoizedcall change worked only due to a local effect  
							
							 
							
							
							
						 
						
							2012-09-24 11:36:24 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								6e5f491a42 
								
							 
						 
						
							
							
								
								get rid of _memoizedcall - we dont really need it anymore  
							
							 
							
							
							
						 
						
							2012-09-24 11:26:38 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								7768972ec5 
								
							 
						 
						
							
							
								
								make sure setups are called ahead of the funcarg factories of the test function  
							
							 
							
							
							
						 
						
							2012-09-24 10:36:22 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								738f14a48a 
								
							 
						 
						
							
							
								
								improve the parametrization scenario example to sort by id, rather than by file-order, see also:  http://stackoverflow.com/questions/12521924/pytest-running-scenarios-in-the-correct-order-in-the-class  
							
							 
							
							
							
						 
						
							2012-09-21 09:39:54 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								6cb3281ddd 
								
							 
						 
						
							
							
								
								allow factory/setup-markers on classes, using their respective __init__ methods which can use the funcarg mechanism  
							
							 
							
							
							
						 
						
							2012-09-18 14:00:47 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								a5e7e441d3 
								
							 
						 
						
							
							
								
								fix bug introduced with last checkin  
							
							 
							
							
							
						 
						
							2012-09-18 13:46:24 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								a7c6688bd6 
								
							 
						 
						
							
							
								
								implement full @pytest.setup function unittest.TestCase interaction  
							
							 
							
							
							
						 
						
							2012-09-18 10:54:12 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								d9c24552fc 
								
							 
						 
						
							
							
								
								remove distinction of new versus old funcarg factories  
							
							 
							
							
							
						 
						
							2012-09-18 10:53:42 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Benjamin Peterson
							
						 
						
							 
							
							
							
							
								
							
							
								7f36649763 
								
							 
						 
						
							
							
								
								remove usage of exception module, which is gone in py3.3  
							
							 
							
							
							
						 
						
							2012-08-28 16:35:06 -04:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								e876ad9abd 
								
							 
						 
						
							
							
								
								fix issue 179 - propperly show the dependency chain of factories on setup failure  
							
							 
							
							
							
						 
						
							2012-08-22 21:43:42 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								0e8cd9297a 
								
							 
						 
						
							
							
								
								fix issue 176: raises(AssertionError) now catches builtin AssertionError as well  
							
							 
							
							
							
						 
						
							2012-08-19 13:45:26 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								0cca20bef9 
								
							 
						 
						
							
							
								
								ignore magic callables with no sane code in factory/setup discovery  
							
							 
							
							
							
						 
						
							2012-08-19 12:36:49 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								935761f098 
								
							 
						 
						
							
							
								
								also improve missing funcarg error for setup functions  
							
							 
							
							
							
						 
						
							2012-08-08 14:53:47 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								dd268c1b2b 
								
							 
						 
						
							
							
								
								improve error representation for missing factory definitions  
							
							 
							
							... 
							
							
							
							in recursive funcarg reconstruction 
							
						 
						
							2012-08-08 11:48:53 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								46dc7eeacb 
								
							 
						 
						
							
							
								
								move pytest.mark.factory/setup to pytest.factory/setup, as per flub 's suggestion  
							
							 
							
							
							
						 
						
							2012-08-02 12:41:46 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								5fd84c35dd 
								
							 
						 
						
							
							
								
								reshuffle docs, try to get a bit closer to release-relevant documentation  
							
							 
							
							
							
						 
						
							2012-08-01 14:52:51 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								cb2eb9ba33 
								
							 
						 
						
							
							
								
								reorder internal layout so that funcarg-related functionality is in python.py  
							
							 
							
							
							
						 
						
							2012-08-01 09:23:39 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								9dc79fd187 
								
							 
						 
						
							
							
								
								introduce a funcargcall object, holding meta information  
							
							 
							
							
							
						 
						
							2012-07-30 12:39:45 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								b57fb9fd47 
								
							 
						 
						
							
							
								
								introduce a SetupCall, holding meta information and setup calling state  
							
							 
							
							
							
						 
						
							2012-07-30 11:51:50 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								d4a487c725 
								
							 
						 
						
							
							
								
								allow funcarg factories to receive funcargs  
							
							 
							
							
							
						 
						
							2012-07-23 10:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								80db25822c 
								
							 
						 
						
							
							
								
								implement funcarg factory scope marker and ScopeMismatch detection  
							
							 
							
							
							
						 
						
							2012-07-20 14:16:46 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								e14459d45c 
								
							 
						 
						
							
							
								
								discover funcarg factories independently from request/Function items  
							
							 
							
							
							
						 
						
							2012-07-20 14:16:28 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								4e4b507472 
								
							 
						 
						
							
							
								
								move funcarg factory to a new FuncargManager object at session level  
							
							 
							
							
							
						 
						
							2012-07-19 09:20:14 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								8adac2878f 
								
							 
						 
						
							
							
								
								put automatic funcarg_ API to Py*objects only, refine internal subclassing and initialisation logic  
							
							 
							
							
							
						 
						
							2012-07-16 10:46:44 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								b4b86159cd 
								
							 
						 
						
							
							
								
								better name for the oejskit-compatibility-class.  
							
							 
							
							
							
						 
						
							2012-06-25 17:49:13 +02:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								91b6f2bda8 
								
							 
						 
						
							
							
								
								mid-scale refactoring to make request API available directly on items.  
							
							 
							
							... 
							
							
							
							This commit was slightly tricky because i want to backward
compatibility especially for the oejskit plugin which
uses Funcarg-filling for non-Function objects. 
							
						 
						
							2012-06-25 17:35:33 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								0e3779b14f 
								
							 
						 
						
							
							
								
								strip bound wrappers of class setup/tardown,  fixes   #140  
							
							 
							
							... 
							
							
							
							on python3 im_func is replaced by __func__ 
							
						 
						
							2012-05-06 23:03:16 +02:00  
						
					 
				
					
						
							
							
								 
								Ronny Pfannschmidt
							
						 
						
							 
							
							
							
							
								
							
							
								2ca6d9f039 
								
							 
						 
						
							
							
								
								no longer check if indirect metafunc.parametrize params are funcarg names  
							
							 
							
							
							
						 
						
							2012-02-03 16:54:00 +01:00  
						
					 
				
					
						
							
							
								 
								holger krekel
							
						 
						
							 
							
							
							
							
								
							
							
								c126cac98d 
								
							 
						 
						
							
							
								
								fix unittest/marker integration  
							
							 
							
							
							
						 
						
							2011-12-28 16:47:08 +00:00