75a6bf2395 
								
							 
						 
						
							
							
								
								fix issue78 - strike superflous "import sys" that cause unbound  
							
							... 
							
							
							
							local var errors.
--HG--
branch : trunk 
							
						 
						
							2010-04-14 13:30:12 +02:00  
				
					
						
							
							
								 
						
							
								fe95ad0aa6 
								
							 
						 
						
							
							
								
								fix typo  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-03-03 15:54:39 -06:00  
				
					
						
							
							
								 
						
							
								222a08ec03 
								
							 
						 
						
							
							
								
								going for the 1.2.1 release  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-02-08 16:39:29 +01:00  
				
					
						
							
							
								 
						
							
								c7326f1949 
								
							 
						 
						
							
							
								
								fix a pdb problem when dropping to a "raises" related failure  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-02-08 14:17:01 +01:00  
				
					
						
							
							
								 
						
							
								13488dd540 
								
							 
						 
						
							
							
								
								if a funcarg is misspelled/missing, hint at using "--funcargs"  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-02-07 02:15:47 +01:00  
				
					
						
							
							
								 
						
							
								ac1eed545c 
								
							 
						 
						
							
							
								
								nice-ify --funcarg reporting, show paths instead of useless python reprs  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-02-07 02:09:14 +01:00  
				
					
						
							
							
								 
						
							
								e09e7148a3 
								
							 
						 
						
							
							
								
								fix docstring  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-02-07 01:56:43 +01:00  
				
					
						
							
							
								 
						
							
								d163d92b33 
								
							 
						 
						
							
							
								
								actually look into all non-dot subdirs for conftest.py files - recursive walk would be too heavy for large source trees but first-level subdirs are fine IMO.  Note that prior to py.test 1.0 doing this "look-ahead" was not easily doable because it was hard to avoid global state in conftest.py, this is not true anymore - so i feel ok telling people to cleanup their conftest files if they get problems (you can imagine people doing all kinds of things at global conftest.py module scope, can't you?)  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-02-06 22:37:04 +01:00  
				
					
						
							
							
								 
						
							
								a3d15b2c60 
								
							 
						 
						
							
							
								
								refined usage and options for "py.cleanup":  
							
							... 
							
							
							
							py.cleanup     # remove "*.pyc" and "*$py.class" (jython) files
    py.cleanup -e .swp -e .cache # also remove files with these extensions
    py.cleanup -s  # remove "build" and "dist" directory next to setup.py files
    py.cleanup -d  # also remove empty directories
    py.cleanup -a  # synonym for "-s -d -e 'pip-log.txt'"
    py.cleanup -n  # dry run, only show what would be removed
--HG--
branch : trunk 
							
						 
						
							2010-02-05 22:50:41 +01:00  
				
					
						
							
							
								 
						
							
								3234e6e978 
								
							 
						 
						
							
							
								
								add a --funcargs option showing available funcargs  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-02-04 23:45:07 +01:00  
				
					
						
							
							
								 
						
							
								f95877a09b 
								
							 
						 
						
							
							
								
								show a short and nice traceback for funcarg lookup errors  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-02-04 16:01:02 +01:00  
				
					
						
							
							
								 
						
							
								7bd60b5abb 
								
							 
						 
						
							
							
								
								check and load test*/conftest.py early from anchors -  
							
							... 
							
							
							
							this makes it a bit more convenient to have command line options
available from a root directory of a project that does not
directly contain a conftest.py
--HG--
branch : trunk 
							
						 
						
							2010-02-04 12:26:53 +01:00  
				
					
						
							
							
								 
						
							
								9d64d7e27a 
								
							 
						 
						
							
							
								
								refine setup ordering some more - test and avoid a problem with funcarg setups where the  
							
							... 
							
							
							
							surrounding setup_module would fail, but the funcarg setup still be called (which might
assume that setup_module has been called so would raise a confusing error)
--HG--
branch : trunk 
							
						 
						
							2010-01-28 15:36:27 +01:00  
				
					
						
							
							
								 
						
							
								a2af204687 
								
							 
						 
						
							
							
								
								again addresses issue78 : we now call teardown also if setup raised a Skipped exception.  
							
							... 
							
							
							
							I also made sure, setup_module/class will only be called once - before they'd be call again
and again if they raise an error or a skip - for each test in their scope.
--HG--
branch : trunk 
							
						 
						
							2010-01-28 14:20:58 +01:00  
				
					
						
							
							
								 
						
							
								98608611af 
								
							 
						 
						
							
							
								
								closes   #67  new super-short traceback-printing option: "--tb=line" will print a single line for each failing (python) test indicating its filename, lineno and the failure value  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-27 12:52:19 +01:00  
				
					
						
							
							
								 
						
							
								b18ab6e03b 
								
							 
						 
						
							
							
								
								fix issue78 - now python-level teardown functions are now called even if the setup failed.  
							
							... 
							
							
							
							Important detail: if the setup raises a Skipped exception, teardown will not be called.  This helps
to avoid breaking setup_module/class that performs a skip - it would otherwise internally
be considered as a "successful" setup in order to have teardown called later.  I guess
it also makes sense to treat Skip specially because it is unlikely a teardown should be
called if a Skip was raised on setup.
In any case, failing setups and teardowns will be reported separately.
--HG--
branch : trunk 
							
						 
						
							2010-01-27 12:09:30 +01:00  
				
					
						
							
							
								 
						
							
								aa6d2a37e6 
								
							 
						 
						
							
							
								
								upgrade apipkg.py to fix a potential recursive import issue  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-21 20:06:50 +01:00  
				
					
						
							
							
								 
						
							
								14feeb9ca1 
								
							 
						 
						
							
							
								
								fix doc links, bump to dev version  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-21 19:34:42 +01:00  
				
					
						
							
							
								 
						
							
								f7c562e492 
								
							 
						 
						
							
							
								
								better default for bogus terminal getdimensions() call, fixes issue63  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-19 10:34:41 +01:00  
				
					
						
							
							
								 
						
							
								d3c0ff3a1f 
								
							 
						 
						
							
							
								
								make sure we get an absolute path when writing the genscript file  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-18 16:48:20 +01:00  
				
					
						
							
							
								 
						
							
								55fcc5a219 
								
							 
						 
						
							
							
								
								always directly use basename for tracebacks, independently from code.path  
							
							... 
							
							
							
							fixes issue77 although i guess it was already fixed before.
--HG--
branch : trunk 
							
						 
						
							2010-01-18 12:12:18 +01:00  
				
					
						
							
							
								 
						
							
								866255e1f5 
								
							 
						 
						
							
							
								
								pushing towards 1.2.0  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-18 11:19:59 +01:00  
				
					
						
							
							
								 
						
							
								0149771997 
								
							 
						 
						
							
							
								
								refine excludepath handling to treat entries with no path as matching  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-18 03:04:20 +01:00  
				
					
						
							
							
								 
						
							
								d483f18374 
								
							 
						 
						
							
							
								
								move rsync reporting out  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-18 00:41:22 +01:00  
				
					
						
							
							
								 
						
							
								95de17b652 
								
							 
						 
						
							
							
								
								refine tests and refine code to deal with new xdist semantics.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-17 23:23:02 +01:00  
				
					
						
							
							
								 
						
							
								09671eb6fc 
								
							 
						 
						
							
							
								
								rename logxml plugin to junitxml  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-16 23:33:26 +01:00  
				
					
						
							
							
								 
						
							
								6f0db1d193 
								
							 
						 
						
							
							
								
								kill unused code  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-16 19:41:05 +01:00  
				
					
						
							
							
								 
						
							
								76e49b57bf 
								
							 
						 
						
							
							
								
								fix test_importall to not stop on skipped plugins and fix the uncovered failure of genscript: standalone.py template is now safely importable  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-15 18:45:06 +01:00  
				
					
						
							
							
								 
						
							
								4a568f43fe 
								
							 
						 
						
							
							
								
								get rid of the funccollector node, which nice-ifies names of funcarg-generated tests nodes, also test and fix one anomaly wrt to funcarg setups and instance uniqueness  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-15 17:50:02 +01:00  
				
					
						
							
							
								 
						
							
								ee2f292efa 
								
							 
						 
						
							
							
								
								remove superflous building of a dict, preserve order for nodes that have identical file:lineno  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-15 17:38:09 +01:00  
				
					
						
							
							
								 
						
							
								9da1ba40ed 
								
							 
						 
						
							
							
								
								move down py/impl/XYZ to py/_XYZ  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-13 17:15:54 +01:00  
				
					
						
							
							
								 
						
							
								40f41496d8 
								
							 
						 
						
							
							
								
								remove dist-testing and looponfail code from core.  there remain some (pytest_runner particularly) tests that test both plain and dist modes which cannot be easily dis-entangled. food for thought.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-13 16:00:33 +01:00  
				
					
						
							
							
								 
						
							
								d4f5073076 
								
							 
						 
						
							
							
								
								remove figleaf which now lives "outside"  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-13 00:47:20 +01:00  
				
					
						
							
							
								 
						
							
								d53572a710 
								
							 
						 
						
							
							
								
								introduce a new pytest_report_header(hook) hook to add additional test-run relevant information to the header of a test report.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-12 21:43:25 +01:00  
				
					
						
							
							
								 
						
							
								676081b87a 
								
							 
						 
						
							
							
								
								remove the PickleChannel dependency for looponfail  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-12 17:35:06 +01:00  
				
					
						
							
							
								 
						
							
								1b0d6296dd 
								
							 
						 
						
							
							
								
								test and fix looponfailing wrt to a bug introduced with the cmdline/session startup cleanup.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-12 16:08:48 +01:00  
				
					
						
							
							
								 
						
							
								8d9e0712be 
								
							 
						 
						
							
							
								
								refine classname normalization for junit-xml  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-12 01:35:50 +01:00  
				
					
						
							
							
								 
						
							
								3296939eda 
								
							 
						 
						
							
							
								
								fix sessionstart/sessionfinish handling at the slave side, set "session.nodeid" to id of the slave and make sure "final" teardown failures are reported nicely.  fixes issue66.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-11 17:09:07 +01:00  
				
					
						
							
							
								 
						
							
								ba1451330e 
								
							 
						 
						
							
							
								
								refine rsyncing and internal dir/transferal handling: don't transfer roots in a popen- no-chdir situation and only use one py._pydir everywhere  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-11 14:30:50 +01:00  
				
					
						
							
							
								 
						
							
								352e305431 
								
							 
						 
						
							
							
								
								fix and test bug: dist-testing now works again without execnet/pylib installed remotely.  fixes issue65.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-10 23:52:23 +01:00  
				
					
						
							
							
								 
						
							
								99301a0dae 
								
							 
						 
						
							
							
								
								(experimental) allow cmdline arguments to deep-point to a test, also remove virtually redundant session.getinitialitems() calls  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-10 21:29:36 +01:00  
				
					
						
							
							
								 
						
							
								3029aa6558 
								
							 
						 
						
							
							
								
								fix some "import py" test issues, and prevent "genscript" script from having dist-options  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-10 20:45:37 +01:00  
				
					
						
							
							
								 
						
							
								45c1517580 
								
							 
						 
						
							
							
								
								porting latest apipkg  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-10 13:54:55 +01:00  
				
					
						
							
							
								 
						
							
								018254a907 
								
							 
						 
						
							
							
								
								update issues, version numbers  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-03 14:33:10 +01:00  
				
					
						
							
							
								 
						
							
								27aa14c20f 
								
							 
						 
						
							
							
								
								fix python3 issues, add missing plugin docs  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-03 13:27:06 +01:00  
				
					
						
							
							
								 
						
							
								d541713dca 
								
							 
						 
						
							
							
								
								re-arrange "py.test -h" command line option grouping and update some plugin docs.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-03 12:41:29 +01:00  
				
					
						
							
							
								 
						
							
								0b2d9a5520 
								
							 
						 
						
							
							
								
								bumping version number: 1.2.0a1  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-03 11:42:26 +01:00  
				
					
						
							
							
								 
						
							
								c6c7d041b7 
								
							 
						 
						
							
							
								
								disable default inclusion of figleaf plugin because it caused test  
							
							... 
							
							
							
							failures wrt to capturing/logging interaction.  pytest_figleaf should
anyway better become its own externally living plugin.
--HG--
branch : trunk 
							
						 
						
							2010-01-03 11:22:32 +01:00  
				
					
						
							
							
								 
						
							
								1b34492108 
								
							 
						 
						
							
							
								
								vastly simplify and cleanup collection initialization by internally  
							
							... 
							
							
							
							introducing a RootCollector. Note that the internal node
methods _fromtrail and _totrail are shifted to the still internal
config._rootcol.fromtrail/totrail
--HG--
branch : trunk 
							
						 
						
							2010-01-03 01:02:44 +01:00  
				
					
						
							
							
								 
						
							
								eebeb1b257 
								
							 
						 
						
							
							
								
								enable doctest plugin by default, add a --doctest-glob option and some documentation, regen plugin docs.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-02 23:30:46 +01:00  
				
					
						
							
							
								 
						
							
								56a936993c 
								
							 
						 
						
							
							
								
								enhance figleaf setup, enabled by default now (requires --figleaf). Generalize internal ability to show "hints" at the end of "-h".  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-02 22:48:53 +01:00  
				
					
						
							
							
								 
						
							
								f3e62e38aa 
								
							 
						 
						
							
							
								
								streamlined plugin loading: order is now setuptools, ENV, commandline  
							
							... 
							
							
							
							and setuptools entry point names are turned to canonical namees ("pytest_*")
--HG--
branch : trunk 
							
						 
						
							2010-01-02 17:17:13 +01:00  
				
					
						
							
							
								 
						
							
								a20e60aeae 
								
							 
						 
						
							
							
								
								slightly refine invocation of py.test: use the py lib that we got invoked with,  
							
							... 
							
							
							
							does away with the need to not-chdir some tests
--HG--
branch : trunk 
							
						 
						
							2010-01-02 11:57:42 +01:00  
				
					
						
							
							
								 
						
							
								fd76cd8f41 
								
							 
						 
						
							
							
								
								remove/refine some doc strings.  create popen-files with absolute paths.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-01 23:05:00 +01:00  
				
					
						
							
							
								 
						
							
								e0dd171e45 
								
							 
						 
						
							
							
								
								fix standalone script generation on windows, make tests not do a chdir() so that distributed testing discovers the transferred lib  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-01 21:54:27 +01:00  
				
					
						
							
							
								 
						
							
								47df1e16b6 
								
							 
						 
						
							
							
								
								fix some failures introduced by the last commit, document new "pytestconfig" funcarg  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2010-01-01 21:03:33 +01:00  
				
					
						
							
							
								 
						
							
								f8b5951103 
								
							 
						 
						
							
							
								
								run py.* tools through "-c import py ; py.cmdline.py*" by default  
							
							... 
							
							
							
							and introduce --tools-on-path to force discovery of tools from PATH
--HG--
branch : trunk 
							
						 
						
							2010-01-01 20:36:58 +01:00  
				
					
						
							
							
								 
						
							
								b62978a88f 
								
							 
						 
						
							
							
								
								internal: always use scripts found in the environment  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-31 16:15:11 +01:00  
				
					
						
							
							
								 
						
							
								2752168a58 
								
							 
						 
						
							
							
								
								introduce --confcutdir option to early-inhibit lookup of conftest files above a certain directory.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-31 15:10:32 +01:00  
				
					
						
							
							
								 
						
							
								eb4249322e 
								
							 
						 
						
							
							
								
								fix xml generation for skipped collections of tests  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-31 11:50:01 +01:00  
				
					
						
							
							
								 
						
							
								587951966f 
								
							 
						 
						
							
							
								
								adding a logxml plugin and a --xml=path option generating a junit-xml style result log.  The xml result log can be parsed nicely by hudson.  
							
							... 
							
							
							
							Initial code was based on Ross Lawley's pytest_xmlresult plugin.
--HG--
branch : trunk 
							
						 
						
							2009-12-31 11:25:07 +01:00  
				
					
						
							
							
								 
						
							
								fa0c7b18bf 
								
							 
						 
						
							
							
								
								move standalone script to become a plugin offering "--genscript",  
							
							... 
							
							
							
							adjust paths accordingly and add CHANGELOG entry.
--HG--
branch : trunk 
							
						 
						
							2009-12-30 19:10:49 +01:00  
				
					
						
							
							
								 
						
							
								1103f2ad62 
								
							 
						 
						
							
							
								
								make inspect.getsource work for standalone py.test by implementing a get_source method on our DictImporter.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-30 19:01:46 +01:00  
				
					
						
							
							
								 
						
							
								a42d9eb9f6 
								
							 
						 
						
							
							
								
								fix some standalone-script running issues:  
							
							... 
							
							
							
							* standalone can run standalone tests
* exception handling is more careful with assuming valid filenames
* bits here and there
--HG--
branch : trunk 
							
						 
						
							2009-12-30 18:11:00 +01:00  
				
					
						
							
							
								 
						
							
								6495007aba 
								
							 
						 
						
							
							
								
								refine tests to cache single-script and make standalone work with distributed testing.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-30 17:40:50 +01:00  
				
					
						
							
							
								 
						
							
								f5ea19858c 
								
							 
						 
						
							
							
								
								deprecate direct definition of Directory, Module, ... in conftest.py's,  
							
							... 
							
							
							
							add some pytest collect related tests + some refinements.
--HG--
branch : trunk 
							
						 
						
							2009-12-30 16:18:59 +01:00  
				
					
						
							
							
								 
						
							
								d3b20e8d24 
								
							 
						 
						
							
							
								
								refine deprecations, move some over to test_deprecated_api  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-30 14:07:20 +01:00  
				
					
						
							
							
								 
						
							
								30bbf3b042 
								
							 
						 
						
							
							
								
								fix aimed at passing jstests functional tests: allow to have _fillfuncargs() called even for non-pycollect-object test-items.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-30 14:05:41 +01:00  
				
					
						
							
							
								 
						
							
								89f178bf4d 
								
							 
						 
						
							
							
								
								streamline svn test setup a bit, clear caches on setup-restore, hopefully will erase random failures with test_export.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-30 13:05:08 +01:00  
				
					
						
							
							
								 
						
							
								4656bc4c97 
								
							 
						 
						
							
							
								
								deprecate use of 'disabled'  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-30 12:13:38 +01:00  
				
					
						
							
							
								 
						
							
								f02b84d528 
								
							 
						 
						
							
							
								
								update ISSUES some more, introduce duration to RunResult and a failing dist-testing termination test.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-30 11:37:46 +01:00  
				
					
						
							
							
								 
						
							
								a15afb5e48 
								
							 
						 
						
							
							
								
								skip tests using 'capfd' funcarg but not having os.dup. cleanup issues and regen plugin docs.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-30 11:16:20 +01:00  
				
					
						
							
							
								 
						
							
								ae63605ac0 
								
							 
						 
						
							
							
								
								generalize hook calling from collection nodes but stop short  
							
							... 
							
							
							
							of allowing general hooks in python test modules. It'd be
easily possible (a 1-line change) but considering it i refrained
from it because the collector API is a bit too low level.
pytest_generate_tests and funcarg factories have a limited
directly useful interface and are thus less confusing - those
are taking advantage of hook discovery in python test modules.
--HG--
branch : trunk 
							
						 
						
							2009-12-30 10:42:01 +01:00  
				
					
						
							
							
								 
						
							
								631dfe9f13 
								
							 
						 
						
							
							
								
								only consider matching conftest plugins for discovering hooks related to collection nodes.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-30 02:36:58 +01:00  
				
					
						
							
							
								 
						
							
								9d01975c78 
								
							 
						 
						
							
							
								
								fix capturing to be more careful during teardown when a setup never happened (due to e.g. an error in user-provided runtest_setup code)  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-30 00:11:27 +01:00  
				
					
						
							
							
								 
						
							
								77b640d1b7 
								
							 
						 
						
							
							
								
								streamline some tests and overall reduce py.test.ensuretemp usage, note down issue about deprecation .  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-29 22:26:03 +01:00  
				
					
						
							
							
								 
						
							
								c348cec481 
								
							 
						 
						
							
							
								
								make looponfailing a bit more robust against relative imports and changed directories - needs more work, probably.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-29 18:41:24 +01:00  
				
					
						
							
							
								 
						
							
								79af98fc29 
								
							 
						 
						
							
							
								
								some testing hygene: move _reparse testing functionality to actual test support code, un-xfail a now passing test, reduce direct py.test.config usage aiming for deprecation.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-29 18:02:54 +01:00  
				
					
						
							
							
								 
						
							
								db21cac694 
								
							 
						 
						
							
							
								
								cleanup py.test.* namespace, docstrings for improved pydoc and interactive usage.  
							
							... 
							
							
							
							use new apipkg __onfirstaccess__ feature to initialize the py.test namespace with the default plugins.  This, besides other good implications, means that you can now type:  pydoc py.test   or help(py.test)
--HG--
branch : trunk 
							
						 
						
							2009-12-29 16:29:48 +01:00  
				
					
						
							
							
								 
						
							
								080fd2880e 
								
							 
						 
						
							
							
								
								simplify Config initialization  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-29 14:13:12 +01:00  
				
					
						
							
							
								 
						
							
								71e332c9c4 
								
							 
						 
						
							
							
								
								robustiy some randomly failing tests  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-29 12:36:45 +01:00  
				
					
						
							
							
								 
						
							
								425e4849f3 
								
							 
						 
						
							
							
								
								remove/reduce internal global state: py._com.registry is now fully contained and always instantiated from the py.test PluginManager class.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-29 12:36:17 +01:00  
				
					
						
							
							
								 
						
							
								8737254a74 
								
							 
						 
						
							
							
								
								simplify pluginmanager, move plugin validation code to plugin, remove unused code  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-29 10:59:01 +01:00  
				
					
						
							
							
								 
						
							
								0361b73d75 
								
							 
						 
						
							
							
								
								remove defaultconfest.py and make PluginManager directly do early initialization of default plugins.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-29 10:26:51 +01:00  
				
					
						
							
							
								 
						
							
								27bcd2dbda 
								
							 
						 
						
							
							
								
								always import defaultconftest by python import path.  strike some redundant code.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-28 17:49:46 +01:00  
				
					
						
							
							
								 
						
							
								cc82f1601c 
								
							 
						 
						
							
							
								
								add script to generate standalone py.test  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-27 23:03:04 +01:00  
				
					
						
							
							
								 
						
							
								516cee2a94 
								
							 
						 
						
							
							
								
								windows fixes and print funcargs for keyboardinterrupt traces  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-25 09:53:36 +01:00  
				
					
						
							
							
								 
						
							
								88e61467f1 
								
							 
						 
						
							
							
								
								fixing and cleaning up some tests  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-25 00:24:58 +01:00  
				
					
						
							
							
								 
						
							
								6d46efa87a 
								
							 
						 
						
							
							
								
								introduce --ignore option to ignore paths during collection  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-24 22:23:45 +01:00  
				
					
						
							
							
								 
						
							
								f254b6f7c1 
								
							 
						 
						
							
							
								
								fixes to various tests, related to execnet automatic ID generation and other bits.  
							
							... 
							
							
							
							also lowering the version as "1.1.1post1" for now.  1.1.2 is still a bit off.
--HG--
branch : trunk 
							
						 
						
							2009-12-24 19:43:14 +01:00  
				
					
						
							
							
								 
						
							
								1580b2c8da 
								
							 
						 
						
							
							
								
								create version/interpreter differentiated py.test$VER for cpython, jython, pypy-c's, prepare 1.1.2 release  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-23 19:58:52 +01:00  
				
					
						
							
							
								 
						
							
								2ca39443a3 
								
							 
						 
						
							
							
								
								some doc fixes  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-12-17 09:33:41 +01:00  
				
					
						
							
							
								 
						
							
								56c1391a16 
								
							 
						 
						
							
							
								
								fix keyword calling  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-27 20:32:21 +01:00  
				
					
						
							
							
								 
						
							
								9d5b313aad 
								
							 
						 
						
							
							
								
								adjustments and fixes to test run, distribution files. thanks thm.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-24 15:16:58 +01:00  
				
					
						
							
							
								 
						
							
								8c6593cc08 
								
							 
						 
						
							
							
								
								by default flush log writes to files  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-24 02:48:13 -08:00  
				
					
						
							
							
								 
						
							
								9652be0ac1 
								
							 
						 
						
							
							
								
								don't consider setuptools plugins if it is not installed.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-24 10:49:04 +01:00  
				
					
						
							
							
								 
						
							
								79a9a99d1e 
								
							 
						 
						
							
							
								
								small refinements/precision regarding execnet checks  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-23 17:25:46 +01:00  
				
					
						
							
							
								 
						
							
								ed03eef81b 
								
							 
						 
						
							
							
								
								introduce plugin discovery through setuptools "pytest11" entrypoints  
							
							... 
							
							
							
							and refine execnet dependency handling.  Prepare 1.1 release
--HG--
branch : trunk 
							
						 
						
							2009-11-23 17:20:36 +01:00  
				
					
						
							
							
								 
						
							
								ecb19b751a 
								
							 
						 
						
							
							
								
								add % as allowed char, condense CHANGELOG  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-20 09:19:29 +01:00  
				
					
						
							
							
								 
						
							
								d1dcf0fa92 
								
							 
						 
						
							
							
								
								be a bit more helpful by default regarding --report settings  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-20 09:11:04 +01:00  
				
					
						
							
							
								 
						
							
								452ce50d7d 
								
							 
						 
						
							
							
								
								fix compatibility issue with svnwc.update and put CHANGELOG to rootlevel  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-20 00:12:06 +01:00  
				
					
						
							
							
								 
						
							
								6d9e3ac686 
								
							 
						 
						
							
							
								
								adapt to new execnet.Group code (since execnet-1.0.0b4), strike superflous code  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-19 23:13:29 +01:00  
				
					
						
							
							
								 
						
							
								3adf6687c9 
								
							 
						 
						
							
							
								
								reintroduce py.test.cmdline.main() (alias for py.cmdline.pytest())  
							
							... 
							
							
							
							resolves issue #61 
--HG--
branch : trunk 
							
						 
						
							2009-11-19 23:13:28 +01:00  
				
					
						
							
							
								 
						
							
								1a86d09da4 
								
							 
						 
						
							
							
								
								a few internal test related fixes as to run on a osx/no-execnet situation  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-12 21:15:59 +01:00  
				
					
						
							
							
								 
						
							
								f4ec2d1ecd 
								
							 
						 
						
							
							
								
								improve deprecation, start changelog  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-12 13:10:30 +01:00  
				
					
						
							
							
								 
						
							
								a4a652af85 
								
							 
						 
						
							
							
								
								fix a bug with svnwc.listdir() not accepting a checker(versioned=...)  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-12 13:09:27 +01:00  
				
					
						
							
							
								 
						
							
								e0bca8fe51 
								
							 
						 
						
							
							
								
								fix up install docs and plugin docs for the final release  
							
							... 
							
							
							
							have CHANGELOG be a file containing links instead of a symlink
beause it causes issues with pip-install on some systems.
--HG--
branch : trunk 
							
						 
						
							2009-11-05 17:46:14 +01:00  
				
					
						
							
							
								 
						
							
								a5a94c4e8f 
								
							 
						 
						
							
							
								
								largely improve and reshuffle docs, heading strongly towards a 1.1.0  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-11-05 03:18:55 +01:00  
				
					
						
							
							
								 
						
							
								b04a04cabd 
								
							 
						 
						
							
							
								
								make py lib a self-contained directory again  
							
							... 
							
							
							
							- move and merge _py/ bits back to py/
- fixes all around
--HG--
branch : trunk 
							
						 
						
							2009-11-04 21:34:07 +01:00  
				
					
						
							
							
								 
						
							
								92d482069c 
								
							 
						 
						
							
							
								
								moving py/bin to rootlevel bin/ and fixing tests  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-10-29 16:53:02 +01:00  
				
					
						
							
							
								 
						
							
								cc15685015 
								
							 
						 
						
							
							
								
								remove pyrest and _py/rest before first 1.1. release  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-10-29 12:25:47 +01:00  
				
					
						
							
							
								 
						
							
								690ccaedc1 
								
							 
						 
						
							
							
								
								remove unnecessary builtin directory in favour of a single file  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-10-28 22:00:38 +01:00  
				
					
						
							
							
								 
						
							
								33bd39053f 
								
							 
						 
						
							
							
								
								using apipkg 1.0b2 snapshot version - adjusting/cleaning up some impl-detail accesses  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-10-27 21:31:42 +01:00  
				
					
						
							
							
								 
						
							
								d8b9b5f1c8 
								
							 
						 
						
							
							
								
								- make importorskip static at py.test.importorskip because it's  
							
							... 
							
							
							
							used for conditional plugin loading
- fix case where xfail is defined at module/class level
- fixes and improvements to docs, correct links to plugins
- use new skip facilities here and there
--HG--
branch : trunk 
							
						 
						
							2009-10-15 20:10:06 +02:00  
				
					
						
							
							
								 
						
							
								3ca770b420 
								
							 
						 
						
							
							
								
								generalize skipping  
							
							... 
							
							
							
							- rename pytest_xfail to pytest_skip
- dynamic "skipif" and "xfail" decorators
- move most skipping code to the plugin
also coming with this commit:
- extend mark keyword to accept positional args + docs
- fix a few documentation related issues
- leave version as "trunk" for now
--HG--
branch : trunk 
							
						 
						
							2009-10-15 16:18:57 +02:00  
				
					
						
							
							
								 
						
							
								5791c06bf2 
								
							 
						 
						
							
							
								
								rewrote the initpkg mechanism and moved py lib implementation files to  
							
							... 
							
							
							
							_py/...  with py/__init__.py containing pointers into them
The new apipkg is only around 70 lines of code and allows
us to get rid of the infamous "py.__." by regular non-magical
"_py." imports. It is also available as a separately installable
package, see http://bitbucket.org/hpk42/apipkg 
--HG--
branch : trunk 
							
						 
						
							2009-10-03 01:47:39 +02:00  
				
					
						
							
							
								 
						
							
								db1ff48996 
								
							 
						 
						
							
							
								
								* use the MIT license for the py lib  
							
							... 
							
							
							
							* bump version to prospective 1.1.0b1
* strike some unused code from initpkg
--HG--
branch : trunk 
							
						 
						
							2009-10-03 01:11:04 +02:00  
				
					
						
							
							
								 
						
							
								1f29529a24 
								
							 
						 
						
							
							
								
								* don't add distributed command line options when 'execnet' is not  
							
							... 
							
							
							
							installed, report a nice message.
* fix tests and code to work with non-existing execnet
* point execnet doc to the new package
--HG--
branch : trunk 
							
						 
						
							2009-10-02 22:29:22 +02:00  
				
					
						
							
							
								 
						
							
								ab9f6a75ad 
								
							 
						 
						
							
							
								
								remove py.execnet, substitute py.execnet usages with "execnet" ones.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-10-02 16:58:57 +02:00  
				
					
						
							
							
								 
						
							
								496e3b1138 
								
							 
						 
						
							
							
								
								adding internal repr for debugging  
							
							... 
							
							
							
							adding an example for generating multi-args/multi python tests
--HG--
branch : trunk 
							
						 
						
							2009-09-30 18:36:04 +02:00  
				
					
						
							
							
								 
						
							
								5914277f92 
								
							 
						 
						
							
							
								
								internally rename "provider" to "factory" to be consistent  
							
							... 
							
							
							
							with documentation.
--HG--
branch : trunk 
							
						 
						
							2009-09-30 12:59:47 +02:00  
				
					
						
							
							
								 
						
							
								98b2300266 
								
							 
						 
						
							
							
								
								fix cached_setup to deal properly for test_functions  
							
							... 
							
							
							
							with multiple args.  closes  #50 
--HG--
branch : trunk 
							
						 
						
							2009-09-30 12:52:40 +02:00  
				
					
						
							
							
								 
						
							
								3d2975f38e 
								
							 
						 
						
							
							
								
								support floats  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-26 18:26:32 -05:00  
				
					
						
							
							
								 
						
							
								c3fd7f0247 
								
							 
						 
						
							
							
								
								don't need to import py  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-26 14:22:01 -05:00  
				
					
						
							
							
								 
						
							
								cb5bd868d9 
								
							 
						 
						
							
							
								
								use default argument  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-26 14:21:36 -05:00  
				
					
						
							
							
								 
						
							
								0f96be372d 
								
							 
						 
						
							
							
								
								clean up unused compatibility code  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-26 14:20:36 -05:00  
				
					
						
							
							
								 
						
							
								4d598370b4 
								
							 
						 
						
							
							
								
								test cross version serialization by launching subprocesses; much cleaner!  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-26 12:35:24 -05:00  
				
					
						
							
							
								 
						
							
								8f69d23f18 
								
							 
						 
						
							
							
								
								merging jarko'S fixes, resolves issue  #45 , resolves issue  #46  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-23 19:43:43 +02:00  
				
					
						
							
							
								 
						
							
								1e71a5c392 
								
							 
						 
						
							
							
								
								Add a simple (hopefully) cross-python marshaller  
							
							... 
							
							
							
							Will rewrite the tests soon...
--HG--
branch : trunk 
							
						 
						
							2009-09-22 21:08:40 -05:00  
				
					
						
							
							
								 
						
							
								b3ca12d435 
								
							 
						 
						
							
							
								
								update docstring  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-22 21:07:50 -05:00  
				
					
						
							
							
								 
						
							
								8af3ede092 
								
							 
						 
						
							
							
								
								allow a path to explicity given for py.lookup  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-22 21:04:25 -05:00  
				
					
						
							
							
								 
						
							
								6ddea4a1bc 
								
							 
						 
						
							
							
								
								visit() now returns paths in depth-first order.  fixes issue  #47  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-22 19:13:33 +02:00  
				
					
						
							
							
								 
						
							
								e3b34c9da3 
								
							 
						 
						
							
							
								
								* allowing arbitrary keys for xspecs but adding some sanity checks to xspec-parsing and makegateway.  
							
							... 
							
							
							
							* fixing a python3 IO issue - we need to retain sys.stdout/stdin
  references to keep the underlying byte stream open.
--HG--
branch : trunk 
							
						 
						
							2009-09-22 18:40:20 +02:00  
				
					
						
							
							
								 
						
							
								1b97d06a09 
								
							 
						 
						
							
							
								
								(micke, pedronis)  
							
							... 
							
							
							
							teach the resultlog plugin about the xfail tweaked outcomes
--HG--
branch : trunk 
							
						 
						
							2009-09-17 15:31:35 +02:00  
				
					
						
							
							
								 
						
							
								9fd1367845 
								
							 
						 
						
							
							
								
								Corrected the constructed system path value (broken by the env.cmd, env.sh & env.py file move in 4abc620bb044).  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-12 00:35:57 +02:00  
				
					
						
							
							
								 
						
							
								62a4cf68e8 
								
							 
						 
						
							
							
								
								Fixed a typo in error.py causing it to fail on Windows.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-12 00:16:13 +02:00  
				
					
						
							
							
								 
						
							
								47bad98c07 
								
							 
						 
						
							
							
								
								* various cleanups and detailed doc string for gateway_base module  
							
							... 
							
							
							
							* remove old multi-file-send mechanism/tests now that
  only gateway_base is send to the other side.
* adding some (c) notices where i am pretty sure about them.
--HG--
branch : trunk 
							
						 
						
							2009-09-11 16:26:19 +02:00  
				
					
						
							
							
								 
						
							
								22c1ad9f7b 
								
							 
						 
						
							
							
								
								fix a bug with funcarg setup and remove XXX comment because "scope=module" now would work but leaving it as session for now.  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-09 23:07:42 +02:00  
				
					
						
							
							
								 
						
							
								5df58c619d 
								
							 
						 
						
							
							
								
								* move gateway management code to py/test/dist because it's not clear  
							
							... 
							
							
							
							how generally useful it is.
* provide pytest_dist_makegateway(txspec) hook so that plugins
  can add their own interpretation/keywords.
--HG--
branch : trunk 
							
						 
						
							2009-09-09 20:12:03 +02:00  
				
					
						
							
							
								 
						
							
								b70c7a209d 
								
							 
						 
						
							
							
								
								* moving execnet tests to funcarg-style, some cleanup  
							
							... 
							
							
							
							* slight refinement to FAQ license topic
--HG--
branch : trunk 
							
						 
						
							2009-09-08 10:10:36 +02:00  
				
					
						
							
							
								 
						
							
								0f29b503ef 
								
							 
						 
						
							
							
								
								monkeypatch, doc, apiwarn, deprecation fixes  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-07 17:53:50 +02:00  
				
					
						
							
							
								 
						
							
								29d437489d 
								
							 
						 
						
							
							
								
								some fixes to support Jython better  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-07 14:59:26 +02:00  
				
					
						
							
							
								 
						
							
								c8119d89b6 
								
							 
						 
						
							
							
								
								move test files out of py lib proper  
							
							... 
							
							
							
							* separate all tests from plugins
* simplify implicit inclusion of plugins under test
* have test_initpkg perform direct checks instead of yielding tests
* fix example tests for 3k
--HG--
branch : trunk 
							
						 
						
							2009-09-06 16:59:39 +02:00  
				
					
						
							
							
								 
						
							
								5cf27098cf 
								
							 
						 
						
							
							
								
								execnet cleanup/refinements: avoid creating a shell for each subprocess  
							
							... 
							
							
							
							* introduce HostNotFound, raised for Socket and SshGateways
* factored out basic tests, cleaned up existing tests
* removed sshgateway identity argument which was deprecated in 1.0
--HG--
branch : trunk 
							
						 
						
							2009-09-06 13:38:21 +02:00  
				
					
						
							
							
								 
						
							
								734a40eb28 
								
							 
						 
						
							
							
								
								seems like compile is way slower than just parser.suite so  
							
							... 
							
							
							
							we try to see if it's available (only jython doesn't have it)
--HG--
branch : trunk 
							
						 
						
							2009-09-06 12:35:52 +02:00  
				
					
						
							
							
								 
						
							
								518194537e 
								
							 
						 
						
							
							
								
								* refactor some setup/teardown/ensuretemp usages to use funcargs  
							
							... 
							
							
							
							* introduce monkeypatch.syspath_prepend for safe monkey patching of module import path
* fix monkeypatch naming
--HG--
branch : trunk 
							
						 
						
							2009-09-05 23:21:58 +02:00  
				
					
						
							
							
								 
						
							
								783c714a2c 
								
							 
						 
						
							
							
								
								get py.test to run at least basically on top of jython  
							
							... 
							
							
							
							* allow and document calling of monkeypatch.undo() from a test
* default to 'sys' on platforms there no 'os.dup' is available
* use "compile" to perform "tryparsing" checks
--HG--
branch : trunk 
							
						 
						
							2009-09-05 16:54:52 +02:00  
				
					
						
							
							
								 
						
							
								7ab98c1b25 
								
							 
						 
						
							
							
								
								* delete or text files to hacking/ directory.  
							
							... 
							
							
							
							* split license file into authors and license file, minor fixes.
* minor unicode fixes
--HG--
branch : trunk 
							
						 
						
							2009-09-05 16:09:44 +02:00  
				
					
						
							
							
								 
						
							
								bde56a8246 
								
							 
						 
						
							
							
								
								* fixing lots of remaining 3k compatibility issues, mostly with py.test itself.  
							
							... 
							
							
							
							* removing very old import-tests that IIRC relate to a time when there
  was a custom import hook in use.
* basically py.test internal tests pass now except py3/py2 distributed
  testing tests
--HG--
branch : trunk 
							
						 
						
							2009-09-04 21:47:49 +02:00  
				
					
						
							
							
								 
						
							
								1e51844519 
								
							 
						 
						
							
							
								
								introduce py.builtin._tryimport to try importing modules in a row, fix a few places  
							
							... 
							
							
							
							--HG--
branch : trunk 
							
						 
						
							2009-09-04 19:08:10 +02:00