685ca96c71 
								
							 
						 
						
							
							
								
								Change ``--strict`` to ``--strict-markers``, preserving the old one  
							
							... 
							
							
							
							Fix  #5023  
						
							2019-05-09 19:36:38 -03:00  
				
					
						
							
							
								 
						
							
								73b74c74c9 
								
							 
						 
						
							
							
								
								pdb: only use outcomes.exit via do_quit  
							
							... 
							
							
							
							Fixes https://github.com/pytest-dev/pytest/issues/5235 . 
							
						 
						
							2019-05-09 14:55:55 +02:00  
				
					
						
							
							
								 
						
							
								5eeb5ee960 
								
							 
						 
						
							
							
								
								Merge pull request  #5013  from blueyed/short-summary-message  
							
							... 
							
							
							
							Display message from reprcrash in short test summary 
							
						 
						
							2019-05-08 22:01:04 +02:00  
				
					
						
							
							
								 
						
							
								7e08e09473 
								
							 
						 
						
							
							
								
								logging: improve default logging format (issue5214)  
							
							... 
							
							
							
							We improve the following things in the logging format:
  * Show module name instead of just the filename
  * show level of logging as the first thing
  * show lineno attached to module:file details
Thanks to @blueyed who suggested this on the github issue.
It's my first contribution and I have added myself to AUTHORS.
I also added to a changelog file. 
							
						 
						
							2019-05-08 21:37:59 +03:00  
				
					
						
							
							
								 
						
							
								c04767f946 
								
							 
						 
						
							
							
								
								Use msg.rstrip() as suggested in review  
							
							
							
						 
						
							2019-05-07 15:20:00 -03:00  
				
					
						
							
							
								 
						
							
								6d040370ed 
								
							 
						 
						
							
							
								
								Show fixture scopes with ``--fixtures``, except for "function" scope  
							
							... 
							
							
							
							Fix  #5220  
						
							2019-05-07 14:32:20 -03:00  
				
					
						
							
							
								 
						
							
								4a2fdce62b 
								
							 
						 
						
							
							
								
								Emit a warning for record_property when used with xunit2 ( #5204 )  
							
							... 
							
							
							
							Emit a warning for record_property when used with xunit2 
							
						 
						
							2019-05-05 21:33:31 -03:00  
				
					
						
							
							
								 
						
							
								32a5e80a6d 
								
							 
						 
						
							
							
								
								Add encoding: header and fix rep mock in test_line_with_reprcrash on py27  
							
							
							
						 
						
							2019-05-05 09:33:37 -03:00  
				
					
						
							
							
								 
						
							
								8f23e19bcb 
								
							 
						 
						
							
							
								
								Emit a warning for record_property when used with xunit2  
							
							... 
							
							
							
							"property" elements cannot be children of "testsuite" according to the schema, so it is incompatible with xunit2
Related to #5202  
							
						 
						
							2019-05-05 09:01:13 -03:00  
				
					
						
							
							
								 
						
							
								9f66102869 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2019-05-04 10:47:57 -03:00  
				
					
						
							
							
								 
						
							
								865e84d206 
								
							 
						 
						
							
							
								
								Merge pull request  #5109  from blueyed/summary_passes-green  
							
							... 
							
							
							
							summary_passes: use bold green for report headers 
							
						 
						
							2019-05-04 00:46:23 +02:00  
				
					
						
							
							
								 
						
							
								1bd7d287a7 
								
							 
						 
						
							
							
								
								doc: fix hooks 'path' parameter doc type  
							
							... 
							
							
							
							by changing it from str to py.path.local
(#5171 ) 
							
						 
						
							2019-05-02 20:51:11 +02:00  
				
					
						
							
							
								 
						
							
								f050203f5d 
								
							 
						 
						
							
							
								
								Improve help for --runxfail flag  
							
							... 
							
							
							
							The help for the '--runxfail' flag is somewhat misleading. The default
behaviour is to run tests marked as 'xfail' but to ignore the results. This
flag alters that behaviour by running these tests as if they weren't marked
'xfail', i.e. their results are not ignored. 
							
						 
						
							2019-05-01 10:04:32 +01:00  
				
					
						
							
							
								 
						
							
								3f5622c577 
								
							 
						 
						
							
							
								
								Use config_invocation_dir for startdirs ( #5151 )  
							
							... 
							
							
							
							Use config_invocation_dir for startdirs 
							
						 
						
							2019-04-29 18:14:51 -03:00  
				
					
						
							
							
								 
						
							
								1fb3f63f35 
								
							 
						 
						
							
							
								
								debugging: rename internal wrapper for pdb.Pdb ( #5186 )  
							
							... 
							
							
							
							debugging: rename internal wrapper for pdb.Pdb 
							
						 
						
							2019-04-29 18:03:32 -03:00  
				
					
						
							
							
								 
						
							
								fc2ad1dbed 
								
							 
						 
						
							
							
								
								Warning subclasses ( #5179 )  
							
							... 
							
							
							
							Warning subclasses 
							
						 
						
							2019-04-29 17:57:49 -03:00  
				
					
						
							
							
								 
						
							
								fb6dad60a0 
								
							 
						 
						
							
							
								
								terminal: use pytest_collection_finish for reporting ( #5113 )  
							
							... 
							
							
							
							terminal: use pytest_collection_finish for reporting 
							
						 
						
							2019-04-29 08:00:48 -03:00  
				
					
						
							
							
								 
						
							
								02053bf556 
								
							 
						 
						
							
							
								
								debugging: rename internal wrapper for pdb.Pdb  
							
							... 
							
							
							
							This is useful/clearer in case of errors / tracebacks - i.e. you see
clearly that it is coming from pytest. 
							
						 
						
							2019-04-29 05:46:21 +02:00  
				
					
						
							
							
								 
						
							
								ff5317a7f3 
								
							 
						 
						
							
							
								
								terminal: use pytest_collection_finish for reporting  
							
							
							
						 
						
							2019-04-29 05:20:04 +02:00  
				
					
						
							
							
								 
						
							
								08734bdd18 
								
							 
						 
						
							
							
								
								--lf now skips colletion of files without failed tests  
							
							... 
							
							
							
							Fix  #5172  
						
							2019-04-28 20:23:46 -03:00  
				
					
						
							
							
								 
						
							
								9742f11d37 
								
							 
						 
						
							
							
								
								Removed unused warning message  
							
							
							
						 
						
							2019-04-28 11:06:47 -03:00  
				
					
						
							
							
								 
						
							
								53cd7fd2ea 
								
							 
						 
						
							
							
								
								Introduce new warning subclasses  
							
							... 
							
							
							
							Fix  #5177  
						
							2019-04-28 10:38:25 -03:00  
				
					
						
							
							
								 
						
							
								8532e991a5 
								
							 
						 
						
							
							
								
								Publish UnknownMarkWarning as part of the public API and docs  
							
							
							
						 
						
							2019-04-28 10:16:07 -03:00  
				
					
						
							
							
								 
						
							
								65133018f3 
								
							 
						 
						
							
							
								
								Terminal plugin is not semi-essential anymore  
							
							... 
							
							
							
							Thanks to https://github.com/pytest-dev/pytest/pull/5138 . 
							
						 
						
							2019-04-27 03:39:00 +02:00  
				
					
						
							
							
								 
						
							
								308b733b9d 
								
							 
						 
						
							
							
								
								Revert "Merge pull request  #4854  from blueyed/pdb-skip"  
							
							... 
							
							
							
							This reverts commit e88aa957ae1410d3dc9a 
							
						 
						
							2019-04-27 02:25:38 +02:00  
				
					
						
							
							
								 
						
							
								7f519f8ab7 
								
							 
						 
						
							
							
								
								Merge master into features  
							
							
							
						 
						
							2019-04-27 00:43:00 +02:00  
				
					
						
							
							
								 
						
							
								0bf363472e 
								
							 
						 
						
							
							
								
								Use config_invocation_dir for startdirs  
							
							... 
							
							
							
							`Session.startdir` and `TerminalReporter.startdir` appear to be
redundant given `Config.invocation_dir`.
Keep them for backward compatibility reasons, but use
`config.invocation_dir` for them. 
							
						 
						
							2019-04-22 02:05:59 +02:00  
				
					
						
							
							
								 
						
							
								bc00d0f7db 
								
							 
						 
						
							
							
								
								Fix handle repr error with showlocals and verbose output  
							
							
							
						 
						
							2019-04-19 18:54:21 +03:00  
				
					
						
							
							
								 
						
							
								e3e57a755b 
								
							 
						 
						
							
							
								
								Merge pull request  #5083  from blueyed/capture-_suspended  
							
							... 
							
							
							
							capture: store _state 
							
						 
						
							2019-04-19 17:32:54 +02:00  
				
					
						
							
							
								 
						
							
								698c4e75fd 
								
							 
						 
						
							
							
								
								capture: track current state in _state attributes  
							
							... 
							
							
							
							This is meant for debugging, and making assertions later. 
							
						 
						
							2019-04-19 00:35:15 +02:00  
				
					
						
							
							
								 
						
							
								649d23c8a8 
								
							 
						 
						
							
							
								
								pytest_sessionfinish: preset exitstatus with UsageErrors  
							
							... 
							
							
							
							Previously it would be 0.  Setting it to the expected outcome
(EXIT_USAGEERROR) here already helps `pytest_sessionfinish` hooks. 
							
						 
						
							2019-04-18 23:18:59 +02:00  
				
					
						
							
							
								 
						
							
								1460ad6027 
								
							 
						 
						
							
							
								
								Merge pull request  #5111  from blueyed/deselect_by_keyword-skip  
							
							... 
							
							
							
							deselect_by_keyword: skip without expression 
							
						 
						
							2019-04-17 23:20:02 +02:00  
				
					
						
							
							
								 
						
							
								78cd1a07d0 
								
							 
						 
						
							
							
								
								Merge pull request  #5140  from blueyed/rewrite-name  
							
							... 
							
							
							
							assertion rewriting: use actual helper name 
							
						 
						
							2019-04-17 23:19:38 +02:00  
				
					
						
							
							
								 
						
							
								d67d68f6d3 
								
							 
						 
						
							
							
								
								Eliminate core dependency on 'terminal' plugin  
							
							
							
						 
						
							2019-04-17 11:19:19 -07:00  
				
					
						
							
							
								 
						
							
								df1d1105b0 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'origin/features' into short-summary-message  
							
							... 
							
							
							
							Conflicts:
	src/_pytest/skipping.py 
							
						 
						
							2019-04-17 15:30:19 +02:00  
				
					
						
							
							
								 
						
							
								2b11b2c093 
								
							 
						 
						
							
							
								
								Merge pull request  #5126  from blueyed/report-get_verbose_word  
							
							... 
							
							
							
							terminal/reports: use get_verbose_word method 
							
						 
						
							2019-04-17 14:43:54 +02:00  
				
					
						
							
							
								 
						
							
								adb8edbae1 
								
							 
						 
						
							
							
								
								assertion rewriting: use actual helper name  
							
							... 
							
							
							
							This makes it easier / possible to grep. 
							
						 
						
							2019-04-17 14:41:34 +02:00  
				
					
						
							
							
								 
						
							
								3cff5e252d 
								
							 
						 
						
							
							
								
								Merge pull request  #5117  from blueyed/cov-terminal  
							
							... 
							
							
							
							Minor coverage improvements for terminal plugin 
							
						 
						
							2019-04-15 14:30:18 -07:00  
				
					
						
							
							
								 
						
							
								7412df0920 
								
							 
						 
						
							
							
								
								fixup! terminal: summary_errors: replace if with assert  
							
							
							
						 
						
							2019-04-15 22:53:31 +02:00  
				
					
						
							
							
								 
						
							
								df68808d29 
								
							 
						 
						
							
							
								
								Merge pull request  #5116  from blueyed/cov-pytester  
							
							... 
							
							
							
							Minor coverage improvements for pytester 
							
						 
						
							2019-04-15 14:49:28 -03:00  
				
					
						
							
							
								 
						
							
								b64d9402ca 
								
							 
						 
						
							
							
								
								Merge pull request  #5108  from blueyed/summary  
							
							... 
							
							
							
							terminal summary: display passes after warnings 
							
						 
						
							2019-04-15 14:49:01 -03:00  
				
					
						
							
							
								 
						
							
								24bd51bda0 
								
							 
						 
						
							
							
								
								Merge pull request  #5131  from blueyed/_getfailureheadline  
							
							... 
							
							
							
							_getfailureheadline: get head_line property only once 
							
						 
						
							2019-04-15 12:23:41 -03:00  
				
					
						
							
							
								 
						
							
								9374114370 
								
							 
						 
						
							
							
								
								terminal/reports: add/use _get_verbose_word method  
							
							
							
						 
						
							2019-04-15 17:06:18 +02:00  
				
					
						
							
							
								 
						
							
								eb13530560 
								
							 
						 
						
							
							
								
								_getfailureheadline: get head_line property only once  
							
							
							
						 
						
							2019-04-15 17:04:51 +02:00  
				
					
						
							
							
								 
						
							
								5530d3e15d 
								
							 
						 
						
							
							
								
								Merge pull request  #5120  from blueyed/minor  
							
							... 
							
							
							
							A collection of minor code tweaks 
							
						 
						
							2019-04-15 16:32:20 +02:00  
				
					
						
							
							
								 
						
							
								ea79eb5c3f 
								
							 
						 
						
							
							
								
								terminal summary: display passes after warnings  
							
							... 
							
							
							
							This displays passes (with output, `-rP`) before the short summary, and
before any other output from other plugins also. 
							
						 
						
							2019-04-15 16:31:42 +02:00  
				
					
						
							
							
								 
						
							
								c8b904a406 
								
							 
						 
						
							
							
								
								Merge pull request  #5124  from blueyed/terminal-summary_failures  
							
							... 
							
							
							
							terminal: revisit summary_failures 
							
						 
						
							2019-04-15 11:26:52 -03:00  
				
					
						
							
							
								 
						
							
								d45fa7b212 
								
							 
						 
						
							
							
								
								Merge pull request  #5123  from blueyed/clsname  
							
							... 
							
							
							
							TestReport: use class name in repr 
							
						 
						
							2019-04-15 11:25:42 -03:00  
				
					
						
							
							
								 
						
							
								45ba736c81 
								
							 
						 
						
							
							
								
								Merge pull request  #5128  from blueyed/mark-is  
							
							... 
							
							
							
							Fix error message with unregistered markers 
							
						 
						
							2019-04-15 16:23:54 +02:00  
				
					
						
							
							
								 
						
							
								cc005af47e 
								
							 
						 
						
							
							
								
								Fix error message with unregistered markers  
							
							
							
						 
						
							2019-04-15 10:15:37 +02:00