85482d575e 
								
							 
						 
						
							
							
								
								Replace Source with dedent where possible  
							
							
							
						 
						
							2018-08-23 09:06:17 -07:00  
				
					
						
							
							
								 
						
							
								8bb8b91357 
								
							 
						 
						
							
							
								
								pyupgrade 1.4: tests  
							
							
							
						 
						
							2018-08-22 18:47:21 -07:00  
				
					
						
							
							
								 
						
							
								223eef6261 
								
							 
						 
						
							
							
								
								Fix '--show-capture=no' capture teardown logs  
							
							... 
							
							
							
							Add a check before printing teardown logs.
'print_teardown_sections' method does not check '--show-capture' option
value, and teardown logs are always printed.
Resolves : #3816  
							
						 
						
							2018-08-20 15:01:21 -05:00  
				
					
						
							
							
								 
						
							
								cbaa7dd56a 
								
							 
						 
						
							
							
								
								Upgrade pre-commit hooks except pyupgrade  
							
							
							
						 
						
							2018-06-26 06:35:27 -07:00  
				
					
						
							
							
								 
						
							
								49f621de76 
								
							 
						 
						
							
							
								
								Print <undetermined location> instead of None for warnings  
							
							
							
						 
						
							2018-06-10 10:51:36 -07:00  
				
					
						
							
							
								 
						
							
								c30c137a95 
								
							 
						 
						
							
							
								
								Improve display of hint about --fulltrace with KeyboardInterrupt  
							
							... 
							
							
							
							- display the location first
- display hint about --fulltrace in parenthesis 
							
						 
						
							2018-06-07 23:50:24 +02:00  
				
					
						
							
							
								 
						
							
								703e4b11ba 
								
							 
						 
						
							
							
								
								run black  
							
							
							
						 
						
							2018-05-23 16:48:46 +02:00  
				
					
						
							
							
								 
						
							
								a2a64546eb 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into features  
							
							
							
						 
						
							2018-02-27 16:43:45 -03:00  
				
					
						
							
							
								 
						
							
								31476c69ab 
								
							 
						 
						
							
							
								
								#3203  Fix tests  
							
							
							
						 
						
							2018-02-26 17:39:32 +03:00  
				
					
						
							
							
								 
						
							
								46c5d5355e 
								
							 
						 
						
							
							
								
								#3203  Remove progress when no-capture  
							
							
							
						 
						
							2018-02-26 17:19:58 +03:00  
				
					
						
							
							
								 
						
							
								3d4d0a2614 
								
							 
						 
						
							
							
								
								remove addcall in the terminal tests  
							
							
							
						 
						
							2018-02-21 18:56:20 +01:00  
				
					
						
							
							
								 
						
							
								51ece00923 
								
							 
						 
						
							
							
								
								Add captured-log support to --show-capture  
							
							... 
							
							
							
							Fixes : #3233  
						
							2018-02-18 20:18:37 +01:00  
				
					
						
							
							
								 
						
							
								6496131b79 
								
							 
						 
						
							
							
								
								Show deselection count before tests are exectued  
							
							... 
							
							
							
							Fixes  #1527  
						
							2018-02-13 22:27:02 +01:00  
				
					
						
							
							
								 
						
							
								063e2da967 
								
							 
						 
						
							
							
								
								Merge pull request  #3176  from feuillemorte/1478_no_stdout_option  
							
							... 
							
							
							
							#1478  Added --no-stdout option 
						
							2018-02-09 18:36:36 -02:00  
				
					
						
							
							
								 
						
							
								71367881ed 
								
							 
						 
						
							
							
								
								#1478  Added --show-capture=both option (fix comments)  
							
							
							
						 
						
							2018-02-08 16:21:22 +03:00  
				
					
						
							
							
								 
						
							
								1a650a9eb9 
								
							 
						 
						
							
							
								
								#1478  Added --show-capture option  
							
							
							
						 
						
							2018-02-06 23:38:51 +03:00  
				
					
						
							
							
								 
						
							
								949a620d3a 
								
							 
						 
						
							
							
								
								#1478  Added --no-stdout option  
							
							
							
						 
						
							2018-01-31 22:36:28 +03:00  
				
					
						
							
							
								 
						
							
								aff463a3c4 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into features  
							
							
							
						 
						
							2018-01-27 12:28:43 -02:00  
				
					
						
							
							
								 
						
							
								af37778b0d 
								
							 
						 
						
							
							
								
								All classes now subclass object for better py3 compatibility  
							
							... 
							
							
							
							Fix  #2147  
						
							2018-01-24 18:23:42 -02:00  
				
					
						
							
							
								 
						
							
								5939b336cd 
								
							 
						 
						
							
							
								
								Fix progress report when tests fail during teardown  
							
							... 
							
							
							
							Fix  #3088  
						
							2018-01-11 20:42:05 -02:00  
				
					
						
							
							
								 
						
							
								bd1d17e8de 
								
							 
						 
						
							
							
								
								Replace py.std with stdlib imports  
							
							
							
						 
						
							2018-01-09 12:44:10 -08:00  
				
					
						
							
							
								 
						
							
								370daf0441 
								
							 
						 
						
							
							
								
								Use classic console output when -s is used  
							
							... 
							
							
							
							Fixes  #3038  
						
							2017-12-16 15:00:23 +02:00  
				
					
						
							
							
								 
						
							
								6bbd741039 
								
							 
						 
						
							
							
								
								Add test for  #2971  
							
							
							
						 
						
							2017-11-28 22:42:52 -02:00  
				
					
						
							
							
								 
						
							
								05cfdcc8cb 
								
							 
						 
						
							
							
								
								Revert making TerminalWriter public in TerminalReporter plugin  
							
							... 
							
							
							
							We eventually want to replace py.io.TerminalWriter (exposed as
"_tw" in TerminalReporter) by something else, so deprecating access
to "_tw" and making it public as "writer" is contrary to that. 
							
						 
						
							2017-11-23 19:53:12 -02:00  
				
					
						
							
							
								 
						
							
								dc574c60ef 
								
							 
						 
						
							
							
								
								Use regex match-count syntax to improve test readability  
							
							
							
						 
						
							2017-11-22 17:16:25 -02:00  
				
					
						
							
							
								 
						
							
								f05333ab75 
								
							 
						 
						
							
							
								
								Fix rewrite to not write past the edge of the screen  
							
							
							
						 
						
							2017-11-22 00:00:02 -02:00  
				
					
						
							
							
								 
						
							
								3a5dbabf60 
								
							 
						 
						
							
							
								
								Add tests for progress output and docs for ``console_output_style``  
							
							... 
							
							
							
							Fix  #2657  
						
							2017-11-21 21:01:51 -02:00  
				
					
						
							
							
								 
						
							
								dab889304e 
								
							 
						 
						
							
							
								
								Implement progress percentage reporting while running tests  
							
							... 
							
							
							
							Fix  #2657  
						
							2017-11-21 21:01:41 -02:00  
				
					
						
							
							
								 
						
							
								983a09a2d4 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2017-11-10 18:33:02 -02:00  
				
					
						
							
							
								 
						
							
								03829fde8a 
								
							 
						 
						
							
							
								
								Fix linting E741: ambiguous variable name  
							
							
							
						 
						
							2017-11-04 13:59:10 -02:00  
				
					
						
							
							
								 
						
							
								00d3abe6dc 
								
							 
						 
						
							
							
								
								Adding Failed exception to manage maxfail behavior  
							
							
							
						 
						
							2017-10-17 21:32:20 +02:00  
				
					
						
							
							
								 
						
							
								f825b4979b 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into features  
							
							
							
						 
						
							2017-09-05 19:44:33 -03:00  
				
					
						
							
							
								 
						
							
								ff35c17ecf 
								
							 
						 
						
							
							
								
								Drop wrapper module; import directly  
							
							
							
						 
						
							2017-08-25 11:46:55 -04:00  
				
					
						
							
							
								 
						
							
								ad52f714a9 
								
							 
						 
						
							
							
								
								Fix small terminal glitch when collecting a single test item  
							
							... 
							
							
							
							Fix  #2579  
						
							2017-08-03 20:57:46 -03:00  
				
					
						
							
							
								 
						
							
								17c544e793 
								
							 
						 
						
							
							
								
								Introduce new pytest_report_collectionfinish hook  
							
							... 
							
							
							
							Fix  #2622  
						
							2017-07-27 10:44:29 -03:00  
				
					
						
							
							
								 
						
							
								7248b759e8 
								
							 
						 
						
							
							
								
								Fixed E303 flake8 errors  
							
							... 
							
							
							
							too many blank lines (3) 
							
						 
						
							2017-07-17 01:44:23 +02:00  
				
					
						
							
							
								 
						
							
								b840622819 
								
							 
						 
						
							
							
								
								Fixed E302 flake8 errors  
							
							... 
							
							
							
							expected 2 blank lines, found 0 
							
						 
						
							2017-07-17 01:44:23 +02:00  
				
					
						
							
							
								 
						
							
								17a21d540b 
								
							 
						 
						
							
							
								
								Fixed E301 flake8 errors  
							
							... 
							
							
							
							expected 1 blank line, found 0 
							
						 
						
							2017-07-17 01:44:23 +02:00  
				
					
						
							
							
								 
						
							
								195a816522 
								
							 
						 
						
							
							
								
								Fixed E265 flake8 errors  
							
							... 
							
							
							
							block comment should start with ‘# ‘ 
							
						 
						
							2017-07-17 01:44:22 +02:00  
				
					
						
							
							
								 
						
							
								8f3eb6dfc7 
								
							 
						 
						
							
							
								
								Fixed E261 flake8 errors  
							
							... 
							
							
							
							at least two spaces before inline comment 
							
						 
						
							2017-07-17 01:44:22 +02:00  
				
					
						
							
							
								 
						
							
								b226454582 
								
							 
						 
						
							
							
								
								Fixed E251 flake8 errors  
							
							... 
							
							
							
							unexpected spaces around keyword / parameter equals 
							
						 
						
							2017-07-17 01:44:22 +02:00  
				
					
						
							
							
								 
						
							
								617e510b6e 
								
							 
						 
						
							
							
								
								Fixed E231 flake8 errors  
							
							... 
							
							
							
							missing whitespace after ‘,’, ‘;’, or ‘:’ 
							
						 
						
							2017-07-17 01:44:22 +02:00  
				
					
						
							
							
								 
						
							
								df54bf0db5 
								
							 
						 
						
							
							
								
								Fixed E131 flake8 errors  
							
							... 
							
							
							
							continuation line unaligned for hanging indent 
							
						 
						
							2017-07-17 01:28:16 +02:00  
				
					
						
							
							
								 
						
							
								cf97159009 
								
							 
						 
						
							
							
								
								Fixed E128 flake8 errors  
							
							... 
							
							
							
							continuation line under-indented for visual indent 
							
						 
						
							2017-07-17 01:28:16 +02:00  
				
					
						
							
							
								 
						
							
								051d76a63f 
								
							 
						 
						
							
							
								
								Fixed E124 flake8 errors  
							
							... 
							
							
							
							closing bracket does not match visual indentation 
							
						 
						
							2017-07-17 01:28:16 +02:00  
				
					
						
							
							
								 
						
							
								4b20b9d8d9 
								
							 
						 
						
							
							
								
								Fixed E123 flake8 errors  
							
							... 
							
							
							
							closing bracket does not match indentation of opening bracket’s line 
							
						 
						
							2017-07-17 01:28:16 +02:00  
				
					
						
							
							
								 
						
							
								425665cf25 
								
							 
						 
						
							
							
								
								Fixed E122 flake8 errors  
							
							... 
							
							
							
							continuation line missing indentation or outdented 
							
						 
						
							2017-07-17 01:28:16 +02:00  
				
					
						
							
							
								 
						
							
								0be97624b7 
								
							 
						 
						
							
							
								
								Fixed E121 flake8 errors  
							
							... 
							
							
							
							continuation line under-indented for hanging indent 
							
						 
						
							2017-07-17 01:28:16 +02:00  
				
					
						
							
							
								 
						
							
								46d157fe07 
								
							 
						 
						
							
							
								
								Fix collection report when collecting a single test item  
							
							
							
						 
						
							2017-06-03 20:39:53 -03:00  
				
					
						
							
							
								 
						
							
								9f85584656 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/features' into integrate-pytest-warnings  
							
							
							
						 
						
							2017-03-20 19:59:05 -03:00  
				
					
						
							
							
								 
						
							
								42a5d6bdfa 
								
							 
						 
						
							
							
								
								Add __future__ imports to all pytest modules  
							
							... 
							
							
							
							This prevents silly errors from creeping in Python 2 when testing in Python 3 
							
						 
						
							2017-03-16 22:45:40 -03:00  
				
					
						
							
							
								 
						
							
								0baed781fe 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/features' into integrate-pytest-warnings  
							
							
							
						 
						
							2017-03-16 20:02:06 -03:00  
				
					
						
							
							
								 
						
							
								337f891d78 
								
							 
						 
						
							
							
								
								Fixed tests  
							
							
							
						 
						
							2017-03-16 20:01:47 -03:00  
				
					
						
							
							
								 
						
							
								1e0cf5ce4d 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							... 
							
							
							
							# Conflicts:
#	AUTHORS
#	CHANGELOG.rst
#	_pytest/pytester.py 
							
						 
						
							2017-03-10 15:54:05 -03:00  
				
					
						
							
							
								 
						
							
								cee578e327 
								
							 
						 
						
							
							
								
								Fix trailing whitespace in terminal output  
							
							
							
						 
						
							2017-03-05 23:20:55 +03:00  
				
					
						
							
							
								 
						
							
								fb0b90646e 
								
							 
						 
						
							
							
								
								New-style classes implemented for python 2.7 -  #2147  
							
							
							
						 
						
							2017-02-16 20:28:17 +01:00  
				
					
						
							
							
								 
						
							
								6f93ffb5d4 
								
							 
						 
						
							
							
								
								Report teardown output on test failure  
							
							... 
							
							
							
							Until now, teardown stdout/stderr output was not reported upon test failure.
However such output is sometime necessary to understand the failure.
fix  #442  
							
						 
						
							2016-10-30 09:52:46 +01:00  
				
					
						
							
							
								 
						
							
								7d66e4eae1 
								
							 
						 
						
							
							
								
								Display full traceback from Import errors when collecting test modules  
							
							... 
							
							
							
							Fix  #1976  
						
							2016-10-03 20:47:44 -03:00  
				
					
						
							
							
								 
						
							
								5b95ee3c19 
								
							 
						 
						
							
							
								
								Pass exitstatus to pytest_terminal_summary hook  
							
							... 
							
							
							
							This is useful to know if a testrun has been interrupted
(EXIT_INTERRUPTED). 
							
						 
						
							2016-08-14 22:06:35 +02:00  
				
					
						
							
							
								 
						
							
								48f4e18280 
								
							 
						 
						
							
							
								
								fix deselect tests to match reason removal  
							
							
							
						 
						
							2016-08-02 10:43:25 +02:00  
				
					
						
							
							
								 
						
							
								1266ebec83 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/features' into warnings-displayed-by-default  
							
							... 
							
							
							
							# Conflicts:
#	CHANGELOG.rst
#	testing/test_terminal.py 
							
						 
						
							2016-07-13 18:45:15 -03:00  
				
					
						
							
							
								 
						
							
								458ecae1df 
								
							 
						 
						
							
							
								
								Replace all usages of "pytest_funcarg__" for @pytest.fixture  
							
							
							
						 
						
							2016-07-11 22:21:52 -03:00  
				
					
						
							
							
								 
						
							
								0e2ebc96ff 
								
							 
						 
						
							
							
								
								Remove deprecated cmd options  
							
							... 
							
							
							
							Fixes  #1657  
						
							2016-06-26 19:26:04 +02:00  
				
					
						
							
							
								 
						
							
								1ce4670062 
								
							 
						 
						
							
							
								
								* removed tailing whitespaces  
							
							
							
						 
						
							2016-06-26 06:51:57 +02:00  
				
					
						
							
							
								 
						
							
								e04d9ff80b 
								
							 
						 
						
							
							
								
								* now showing pytest warnings summary by default.  
							
							... 
							
							
							
							* added ``--disable-pytest-warnings` flag to let users disable the warnings summary.
* extended/changed unit tests for the changes in the pytest core. 
							
						 
						
							2016-06-25 18:16:13 +02:00  
				
					
						
							
							
								 
						
							
								d81f23009b 
								
							 
						 
						
							
							
								
								Raise CollectError if pytest.skip() is called during collection  
							
							... 
							
							
							
							pytest.skip() must not be used at module level because it can easily be
misunderstood and used as a decorator instead of pytest.mark.skip, causing the
whole module to be skipped instead of just the test being decorated.
This is unexpected for users used to the @unittest.skip decorator and therefore
it is best to bail out with a clean error when it happens.
The pytest equivalent of @unittest.skip is @pytest.mark.skip .
Adapt existing tests that were actually relying on this behaviour and add a
test that explicitly test that collection fails.
fix  #607  
							
						 
						
							2016-06-24 20:56:21 +02:00  
				
					
						
							
							
								 
						
							
								083f64100d 
								
							 
						 
						
							
							
								
								merge master into features  
							
							
							
						 
						
							2016-06-22 14:39:33 +02:00  
				
					
						
							
							
								 
						
							
								ede7478dcc 
								
							 
						 
						
							
							
								
								Exit pytest on collection error (without executing tests)  
							
							... 
							
							
							
							Add --continue-on-collection-errors option to restore the previous behaviour:
Execute tests (that were successfully collected) even when collection errors
happen.
Some tests had to be modified e.g. because the return code changed to 2
(EXIT_INTERRUPTED) instead of 1 (EXIT_TESTSFAILED) because an Interrupted
exception is raised on collection error.
Implemented via pair programming with:
    Oleg Pidsadnyi <oleg.pidsadnyi@gmail.com>
closes  #1421  
							
						 
						
							2016-06-21 13:32:34 +02:00  
				
					
						
							
							
								 
						
							
								2a3cbdf4d1 
								
							 
						 
						
							
							
								
								Cut a dead test helper function  
							
							... 
							
							
							
							This appears to have been unused since commit
320835d 
							
						 
						
							2016-06-15 18:26:10 -07:00  
				
					
						
							
							
								 
						
							
								56855893ca 
								
							 
						 
						
							
							
								
								Raise CollectError if import test module fails  
							
							... 
							
							
							
							One of the reasons for failing to import the test module is invalid Python
identifiers in the full package path of the test module.
fix  #1426  
							
						 
						
							2016-04-23 13:50:48 +02:00  
				
					
						
							
							
								 
						
							
								96a331e32f 
								
							 
						 
						
							
							
								
								Display collect progress only when in a terminal  
							
							... 
							
							
							
							Fix  #1397  
						
							2016-02-20 14:38:30 -02:00  
				
					
						
							
							
								 
						
							
								bfa2fadac1 
								
							 
						 
						
							
							
								
								fix issue  #1366  by showing a note on the --fulltrace option  
							
							
							
						 
						
							2016-02-10 20:27:50 +01:00  
				
					
						
							
							
								 
						
							
								a912d3745b 
								
							 
						 
						
							
							
								
								Moved py.code code over to py.test  
							
							... 
							
							
							
							Fix  #103  
						
							2016-01-25 23:18:04 -02:00  
				
					
						
							
							
								 
						
							
								b8784c28c9 
								
							 
						 
						
							
							
								
								Merge branch 'master' into 'features'  
							
							
							
						 
						
							2016-01-08 21:51:34 -02:00  
				
					
						
							
							
								 
						
							
								369d9ecaa5 
								
							 
						 
						
							
							
								
								pytest warnings emitted during ``pytest_terminal_summary`` are now properly displayed.  
							
							... 
							
							
							
							Fix  #1305  
						
							2016-01-04 00:07:45 -02:00  
				
					
						
							
							
								 
						
							
								8b61a332ba 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'bukzor/features-merge-master' into features  
							
							
							
						 
						
							2015-12-10 19:03:55 -02:00  
				
					
						
							
							
								 
						
							
								ccfd962170 
								
							 
						 
						
							
							
								
								Add "no -rP" case to test_pass_output_reporting  
							
							
							
						 
						
							2015-12-08 17:33:03 -10:00  
				
					
						
							
							
								 
						
							
								b417d7cb79 
								
							 
						 
						
							
							
								
								Add tests to test_terminal.py for -rp and -rP  
							
							
							
						 
						
							2015-12-08 15:54:23 -10:00  
				
					
						
							
							
								 
						
							
								0d2668017d 
								
							 
						 
						
							
							
								
								Fix spelling mistake in  #1207 .  
							
							
							
						 
						
							2015-11-30 17:33:34 +01:00  
				
					
						
							
							
								 
						
							
								aba55a0fb2 
								
							 
						 
						
							
							
								
								Fix terminal output if no tests were run.  
							
							... 
							
							
							
							Before:
====  in 0.00 seconds ====
After:
==== no tests run in 0.00 seconds ==== 
							
						 
						
							2015-11-30 17:24:40 +01:00  
				
					
						
							
							
								 
						
							
								2575053697 
								
							 
						 
						
							
							
								
								Merge pull request  #1015  from hpk42/cache-integration  
							
							... 
							
							
							
							refined pytest-cache integration 
							
						 
						
							2015-09-16 21:46:46 +02:00  
				
					
						
							
							
								 
						
							
								cd475c7b27 
								
							 
						 
						
							
							
								
								minor flake8 fixes  
							
							
							
						 
						
							2015-09-13 19:55:44 +02:00  
				
					
						
							
							
								 
						
							
								0b3f1b4a7c 
								
							 
						 
						
							
							
								
								Create `_pytest.vendored_packages` and _pytest._pluggy  
							
							... 
							
							
							
							- Replace imports from "pluggy" to "_pytest._pluggy"
- Fallback to import "pluggy" from global namespace if
  not found in _pytest.vendored_packges 
							
						 
						
							2015-09-07 13:01:54 -03:00  
				
					
						
							
							
								 
						
							
								e59471766a 
								
							 
						 
						
							
							
								
								Rename "warnings" to "pytest-warnings" in terminal output  
							
							... 
							
							
							
							Fix  #970  
						
							2015-08-27 19:59:52 -03:00  
				
					
						
							
							
								 
						
							
								287df16c9c 
								
							 
						 
						
							
							
								
								Merge pull request  #817  from nicoddemus/non-collection-exit-error  
							
							... 
							
							
							
							return non-zero exit code if no tests are collected 
							
						 
						
							2015-08-21 18:30:57 +02:00  
				
					
						
							
							
								 
						
							
								2ffd37b816 
								
							 
						 
						
							
							
								
								return non-zero exit code if no tests are collected  
							
							... 
							
							
							
							Fix  #812 
Fix  #500  
						
							2015-08-18 07:35:02 -03:00  
				
					
						
							
							
								 
						
							
								7758bcd141 
								
							 
						 
						
							
							
								
								terminalwriter: extract plugin printing logic and add positive unittests  
							
							
							
						 
						
							2015-08-17 09:10:01 +02:00  
				
					
						
							
							
								 
						
							
								afcad74be8 
								
							 
						 
						
							
							
								
								PEP8ify parametrized-test parameters  
							
							
							
						 
						
							2015-07-02 13:39:05 -04:00  
				
					
						
							
							
								 
						
							
								6c395cb58c 
								
							 
						 
						
							
							
								
								Default color is now yellow  
							
							... 
							
							
							
							Passing tests override that default, making the color green; but several other
"boring" statuses (xfailed, xpassed, deselected, skipped) have no effect.
Net effect: if only "boring" tests are seen, or no tests at all, the summary
bar is yellow. 
							
						 
						
							2015-07-02 13:39:05 -04:00  
				
					
						
							
							
								 
						
							
								044d874c5b 
								
							 
						 
						
							
							
								
								If there are warnings, make the status bar yellow  
							
							... 
							
							
							
							Also if we see any statuses the code doesn't know about. 
							
						 
						
							2015-07-02 13:39:05 -04:00  
				
					
						
							
							
								 
						
							
								e07144aeb4 
								
							 
						 
						
							
							
								
								Add tests for the empty-key special case  
							
							
							
						 
						
							2015-07-02 13:39:05 -04:00  
				
					
						
							
							
								 
						
							
								7993afae46 
								
							 
						 
						
							
							
								
								test_summary_stats() now prints its parameter values  
							
							... 
							
							
							
							This makes it easier to identify failing tests. 
							
						 
						
							2015-07-02 13:39:05 -04:00  
				
					
						
							
							
								 
						
							
								bfc3e48fd5 
								
							 
						 
						
							
							
								
								Factor out build_summary_stats_line(), and add tests  
							
							... 
							
							
							
							--HG--
branch : esiegerman/summary_colors 
							
						 
						
							2015-07-02 13:39:04 -04:00  
				
					
						
							
							
								 
						
							
								d9a44098ce 
								
							 
						 
						
							
							
								
								use new pluggy api (now at 0.3.0) for adding hookcall monitoring  
							
							... 
							
							
							
							and reraise real keyboard interrupts during inline pytest runs
to allow for better stopping of the pytest tests.
--HG--
branch : plug30 
							
						 
						
							2015-05-07 11:02:55 +02:00  
				
					
						
							
							
								 
						
							
								23538bcd31 
								
							 
						 
						
							
							
								
								- some more adaptation to most recent pluggy API  
							
							... 
							
							
							
							- avoid using pluggin underscore api
- show pluggy version in header
--HG--
branch : pluggy1 
							
						 
						
							2015-05-05 21:53:04 +02:00  
				
					
						
							
							
								 
						
							
								424e5d1394 
								
							 
						 
						
							
							
								
								make test suite more tolerable against xdist causing warnings itself (which it does  
							
							... 
							
							
							
							currently)
--HG--
branch : plugtestfix 
							
						 
						
							2015-04-27 15:06:47 +02:00  
				
					
						
							
							
								 
						
							
								3a1374e69c 
								
							 
						 
						
							
							
								
								simplify plugins bookkeeping further, refine API  
							
							... 
							
							
							
							--HG--
branch : more_plugin 
							
						 
						
							2015-04-25 20:17:32 +02:00  
				
					
						
							
							
								 
						
							
								1ef49ac5ab 
								
							 
						 
						
							
							
								
								minimize HookRelay to become a pure container, refactor initialization and  
							
							... 
							
							
							
							tests of plugin management to be a bit better split between pytest
and pytest-independent bits
--HG--
branch : plugin_no_pytest 
							
						 
						
							2015-04-22 13:31:46 +02:00  
				
					
						
							
							
								 
						
							
								d73e689991 
								
							 
						 
						
							
							
								
								fix issue616 - conftest visibility fixes.  This is achieved by  
							
							... 
							
							
							
							refactoring how nodeid's are constructed.  They now are always
relative to the "common rootdir" of a test run which is determined by
finding a common ancestor of all testrun arguments.
--HG--
branch : issue616 
							
						 
						
							2015-02-26 21:56:44 +01:00  
				
					
						
							
							
								 
						
							
								4e8438afc8 
								
							 
						 
						
							
							
								
								Simply show the node ID for verbose output  
							
							... 
							
							
							
							This strips the line number, /@\d/, from the verbose output so it is
directly the node ID of the test.  This in turn means no special logic
for accepting the line number as part of the node ID is needed when
parsing the command line. 
							
						 
						
							2014-08-01 00:29:35 +01:00  
				
					
						
							
							
								 
						
							
								07e76cbef2 
								
							 
						 
						
							
							
								
								fix issue364: shorten and enhance tracebacks representation by default.  
							
							... 
							
							
							
							The new "--tb=auto" option (default) will only display long tracebacks
for the first and last entry.  You can get the old behaviour of printing
all entries as long entries with "--tb=long".  Also short entries by
default are now printed very similarly to "--tb=native" ones. 
							
						 
						
							2014-06-29 13:32:53 +02:00  
				
					
						
							
							
								 
						
							
								2ba23e8d08 
								
							 
						 
						
							
							
								
								issue504: verbose output displays node IDs for each test  
							
							... 
							
							
							
							Replace the verbose per-test reporting format of `file:line test_name RESULT`
with the node ID of the test, i.e. `file@line::class::method[param] RESULT`.
This patch does not update the examples in the docs; @hpk42 has a script
to regenerate those.
--HG--
branch : issue504 
							
						 
						
							2014-04-14 17:42:02 -04:00  
				
					
						
							
							
								 
						
							
								e12fe64b54 
								
							 
						 
						
							
							
								
								Include py version in the terminal output  
							
							... 
							
							
							
							This can help to reproduce bugs when looking at the output pasted into
bug reports. 
							
						 
						
							2014-01-22 11:27:15 +01:00  
				
					
						
							
							
								 
						
							
								98135a3d30 
								
							 
						 
						
							
							
								
								remove unusued import  
							
							
							
						 
						
							2013-12-12 06:55:05 +01:00  
				
					
						
							
							
								 
						
							
								0278dc9b6f 
								
							 
						 
						
							
							
								
								Remove u'' literal in test_color_{yes,no} for Python 3.2 compat  
							
							... 
							
							
							
							--HG--
branch : color_option 
							
						 
						
							2013-12-08 11:39:55 -08:00  
				
					
						
							
							
								 
						
							
								60f5b15f20 
								
							 
						 
						
							
							
								
								Remove superfluous `monkeypatch` arg to test_color_yes  
							
							... 
							
							
							
							--HG--
branch : color_option 
							
						 
						
							2013-12-07 12:04:23 -08:00  
				
					
						
							
							
								 
						
							
								bec6ee5c29 
								
							 
						 
						
							
							
								
								Assert 'test session starts' in output for test_color_{yes,no}  
							
							... 
							
							
							
							--HG--
branch : color_option 
							
						 
						
							2013-12-06 11:58:04 -08:00  
				
					
						
							
							
								 
						
							
								23fa4cec61 
								
							 
						 
						
							
							
								
								Add option: --color=(yes/no/auto)  
							
							... 
							
							
							
							--HG--
branch : color_option 
							
						 
						
							2013-12-06 11:49:48 -08:00  
				
					
						
							
							
								 
						
							
								8ac5af2896 
								
							 
						 
						
							
							
								
								fix flakes issues and make --flakes run part of tox runs  
							
							
							
						 
						
							2013-10-12 15:39:22 +02:00  
				
					
						
							
							
								 
						
							
								cec7d47c1f 
								
							 
						 
						
							
							
								
								remove fd-fixing attempt at startup of pytest.  It's  
							
							... 
							
							
							
							not clear it's actually needed and it's not nice
to still do FD-dupping when "-s" is specified. 
							
						 
						
							2013-10-03 18:53:40 +02:00  
				
					
						
							
							
								 
						
							
								ae090740c5 
								
							 
						 
						
							
							
								
								always dupfile if os.dup is available  
							
							
							
						 
						
							2013-10-03 16:47:55 +02:00  
				
					
						
							
							
								 
						
							
								1fc466e8ac 
								
							 
						 
						
							
							
								
								add terminalreporter.section|line methods to print extra information.  
							
							
							
						 
						
							2013-09-27 15:48:03 +02:00  
				
					
						
							
							
								 
						
							
								da7133d201 
								
							 
						 
						
							
							
								
								fix some tests wrt to expecting output now that pytest does no  
							
							... 
							
							
							
							introduce unwanted "buffering" on "-s" calls. 
							
						 
						
							2013-09-27 12:28:34 +02:00  
				
					
						
							
							
								 
						
							
								030c337c68 
								
							 
						 
						
							
							
								
								don't manipulate FDs at all if output capturing is turned off.  
							
							
							
						 
						
							2013-09-27 09:49:39 +02:00  
				
					
						
							
							
								 
						
							
								8f24e10571 
								
							 
						 
						
							
							
								
								add changelog entry for anthon's hynek-fication of options,  
							
							... 
							
							
							
							and change the docs and tests to use the new style. 
							
						 
						
							2013-08-01 17:32:19 +02:00  
				
					
						
							
							
								 
						
							
								ffa1bf726d 
								
							 
						 
						
							
							
								
								merge  
							
							
							
						 
						
							2013-07-06 15:54:33 +02:00  
				
					
						
							
							
								 
						
							
								87df85f12d 
								
							 
						 
						
							
							
								
								improved reporting  
							
							... 
							
							
							
							added intermediate level of quiet reporting:
 * -q now shows short summary (# passed/failed tests + time)
 * the former -q is now -qq 
							
						 
						
							2013-07-06 15:43:59 +02:00  
				
					
						
							
							
								 
						
							
								2c7613c15c 
								
							 
						 
						
							
							
								
								merge with upstream  
							
							
							
						 
						
							2013-07-06 10:06:12 +02:00  
				
					
						
							
							
								 
						
							
								9e3cd03721 
								
							 
						 
						
							
							
								
								#299  - polishing  
							
							
							
						 
						
							2013-05-08 17:01:20 +02:00  
				
					
						
							
							
								 
						
							
								c93fbb0e57 
								
							 
						 
						
							
							
								
								Load conftest files in the correct order initially  
							
							... 
							
							
							
							When the conftest.py files are looked for intially they got loaded
starting from the subdir ending at the parent dir(s).  Later on during
collection any conftest.py files are loaded starting from the parent
dir ending at the subdir.  Due to how extending fixtures works the
latter is correct as otherwise the wrong fixture will be available.
So this changes the initial conftest loading to start at the root and
go towards the subdir.
This does also affect the order of other hooks, hence the order of the
reporting being different in testing/test_terminal.py. 
							
						 
						
							2013-04-18 12:24:53 +01:00  
				
					
						
							
							
								 
						
							
								bb07ba7807 
								
							 
						 
						
							
							
								
								rename a number of internal and externally visible variables to use the fixture name  
							
							... 
							
							
							
							rather than funcargs.  Introduce .funcargnames compatibility attribute for backward compat. 
							
						 
						
							2012-10-05 14:24:44 +02:00  
				
					
						
							
							
								 
						
							
								ccc04b9fc4 
								
							 
						 
						
							
							
								
								some refinements to reporting and hook order  
							
							
							
						 
						
							2012-06-21 11:07:22 +02:00  
				
					
						
							
							
								 
						
							
								18306a4644 
								
							 
						 
						
							
							
								
								add header info: always report 3rd party plugins in test runs  
							
							
							
						 
						
							2012-06-20 00:16:47 +02:00  
				
					
						
							
							
								 
						
							
								e18abfd013 
								
							 
						 
						
							
							
								
								fix issue143 - call unconfigure/sessionfinish always when  
							
							... 
							
							
							
							configure/sessionstart where called
use exitcode 4 (instead of 3 which signaled an internal error)
when an initial directory/file was not found 
							
						 
						
							2012-05-17 23:11:23 +02:00  
				
					
						
							
							
								 
						
							
								78e7d7aed0 
								
							 
						 
						
							
							
								
								more quit collectonly shows only files and the number of tests in them  
							
							
							
						 
						
							2012-02-03 16:56:06 +01:00  
				
					
						
							
							
								 
						
							
								68b353be0d 
								
							 
						 
						
							
							
								
								create session.items before preparse, so collectonly wont break on preparse fail,  fixes   #115  
							
							
							
						 
						
							2012-02-03 16:33:32 +01:00  
				
					
						
							
							
								 
						
							
								f7c1b9087a 
								
							 
						 
						
							
							
								
								fix test  
							
							
							
						 
						
							2011-11-11 23:18:33 +00:00  
				
					
						
							
							
								 
						
							
								650c3bcfde 
								
							 
						 
						
							
							
								
								enhance debug tracing: print trace tags at the end of message and forget about "prefix".  
							
							... 
							
							
							
							Always log to "pytestdebug.log" if "--debug" option is given.
also move related code to pytest_helpconfig plugin. 
							
						 
						
							2011-07-14 19:11:50 +02:00  
				
					
						
							
							
								 
						
							
								f3bc197afb 
								
							 
						 
						
							
							
								
								fix   #59 : provide better Jenkins stdout and stderr sections  
							
							
							
						 
						
							2011-07-12 23:09:03 +02:00  
				
					
						
							
							
								 
						
							
								d1684e8052 
								
							 
						 
						
							
							
								
								report keyboardintterupt even if inteerrupted during sessionstartup  
							
							
							
						 
						
							2011-07-07 21:24:09 +02:00  
				
					
						
							
							
								 
						
							
								2618e3640f 
								
							 
						 
						
							
							
								
								account for quotes in error messages  
							
							
							
						 
						
							2011-06-03 22:11:00 -05:00  
				
					
						
							
							
								 
						
							
								1a7c6ecc42 
								
							 
						 
						
							
							
								
								fix slightly wrong verbose output for non subclasses on windows  
							
							
							
						 
						
							2011-03-08 13:37:00 +01:00  
				
					
						
							
							
								 
						
							
								c552b58dc5 
								
							 
						 
						
							
							
								
								fix issue27 - --collectonly and -k keyword selection now work together.  
							
							... 
							
							
							
							internally, collectonly and terminal reporting has been unified. 
							
						 
						
							2011-03-06 18:32:00 +01:00  
				
					
						
							
							
								 
						
							
								0357d3afda 
								
							 
						 
						
							
							
								
								refine initialization and collection reporting, introduce a progress bar  
							
							
							
						 
						
							2010-11-22 11:59:56 +01:00  
				
					
						
							
							
								 
						
							
								a698465487 
								
							 
						 
						
							
							
								
								streamline docs, especially use "import pytest" and "pytest.*" in python code examples instead of "import py" and "py.test.*".  
							
							
							
						 
						
							2010-11-17 22:12:16 +01:00  
				
					
						
							
							
								 
						
							
								076e03e90f 
								
							 
						 
						
							
							
								
								also un-nest test directory  
							
							
							
						 
						
							2010-11-13 11:30:40 +01:00