1a323fbd3c 
								
							 
						 
						
							
							
								
								Show a warning when non-str is given to Monkeypatch.setenv  
							
							
							
						 
						
							2018-10-01 20:07:07 -03:00  
				
					
						
							
							
								 
						
							
								56d414177a 
								
							 
						 
						
							
							
								
								Remove nodeid from messages for warnings generated by standard warnings  
							
							... 
							
							
							
							Standard warnings already contain the proper location, so we don't need
to also print the node id 
							
						 
						
							2018-09-04 11:35:34 -03:00  
				
					
						
							
							
								 
						
							
								78ac7d99f5 
								
							 
						 
						
							
							
								
								Deprecate Config.warn and Node.warn, replaced by standard warnings  
							
							
							
						 
						
							2018-09-04 11:35:34 -03:00  
				
					
						
							
							
								 
						
							
								0fc4a806e5 
								
							 
						 
						
							
							
								
								py.builtins._totext -> string literals or six.text_type  
							
							
							
						 
						
							2018-08-22 23:00:04 -07:00  
				
					
						
							
							
								 
						
							
								cc6eb9f83c 
								
							 
						 
						
							
							
								
								move test reports to own file  
							
							
							
						 
						
							2018-06-26 22:09:15 +02:00  
				
					
						
							
							
								 
						
							
								cbaa7dd56a 
								
							 
						 
						
							
							
								
								Upgrade pre-commit hooks except pyupgrade  
							
							
							
						 
						
							2018-06-26 06:35:27 -07:00  
				
					
						
							
							
								 
						
							
								1b16d649f9 
								
							 
						 
						
							
							
								
								Fix formatting of merged files  
							
							
							
						 
						
							2018-05-25 18:21:48 -03:00  
				
					
						
							
							
								 
						
							
								6f8547cc1a 
								
							 
						 
						
							
							
								
								Merge branch 'master' into pre-commit-hook  
							
							
							
						 
						
							2018-05-25 18:14:43 -03:00  
				
					
						
							
							
								 
						
							
								b4e0265622 
								
							 
						 
						
							
							
								
								Removed whitespace from empty line.  
							
							
							
						 
						
							2018-05-23 20:15:28 -07:00  
				
					
						
							
							
								 
						
							
								6c519b1280 
								
							 
						 
						
							
							
								
								Fixed a bug where stdout and stderr were logged twice by junitxml.  
							
							
							
						 
						
							2018-05-23 19:34:45 -07:00  
				
					
						
							
							
								 
						
							
								703e4b11ba 
								
							 
						 
						
							
							
								
								run black  
							
							
							
						 
						
							2018-05-23 16:48:46 +02:00  
				
					
						
							
							
								 
						
							
								9aacb4635e 
								
							 
						 
						
							
							
								
								run pyupgrade  
							
							
							
						 
						
							2018-05-23 16:45:09 +02:00  
				
					
						
							
							
								 
						
							
								2018cf12b1 
								
							 
						 
						
							
							
								
								fix the record_property test  
							
							
							
						 
						
							2018-04-05 14:05:26 +02:00  
				
					
						
							
							
								 
						
							
								7c0c91a7a2 
								
							 
						 
						
							
							
								
								fix record_property test  
							
							
							
						 
						
							2018-04-03 08:00:57 +02:00  
				
					
						
							
							
								 
						
							
								8b49ddfa58 
								
							 
						 
						
							
							
								
								Renamed the fixture record_xml_property to record_property and adapted logic so that the properties are passed to the TestReport object and thus allow compatibility with pytest-xdist.  
							
							
							
						 
						
							2018-02-20 15:46:26 -06:00  
				
					
						
							
							
								 
						
							
								c0ef4a4d35 
								
							 
						 
						
							
							
								
								Add captured log msgs to junit xml file  
							
							... 
							
							
							
							For each test this adds the captured log msgs to a system-* tag in the junit
xml output file. The destination of the system-* tag is specified by
junit_logging ini option. 
							
						 
						
							2018-02-03 09:39:29 +01:00  
				
					
						
							
							
								 
						
							
								a5e60b6a2d 
								
							 
						 
						
							
							
								
								implement  #3130  - adding record_xml_attribute fixture  
							
							... 
							
							
							
							update incorrect expected attribute value in test_record_attribute
attr names must be strings
Update CHANGELOG formatting
update usage documentation
Fix versionadded for record_xml_attribute
Indent the xml schema properly inside the warning box in the docs 
							
						 
						
							2018-01-22 15:14:53 -08:00  
				
					
						
							
							
								 
						
							
								b840622819 
								
							 
						 
						
							
							
								
								Fixed E302 flake8 errors  
							
							... 
							
							
							
							expected 2 blank lines, found 0 
							
						 
						
							2017-07-17 01:44:23 +02:00  
				
					
						
							
							
								 
						
							
								6af2abdb53 
								
							 
						 
						
							
							
								
								Fixed flake8 warnings  
							
							... 
							
							
							
							W191 indentation contains tabs
W292 no newline at end of file
W293 blank line contains whitespace
W391 blank line at end of file 
							
						 
						
							2017-07-17 01:28:16 +02:00  
				
					
						
							
							
								 
						
							
								f39f416c5d 
								
							 
						 
						
							
							
								
								Improve tests a bit  
							
							... 
							
							
							
							Use a normal function instead of a lambda
Parametrize test about suite name option 
							
						 
						
							2017-05-12 17:52:50 -03:00  
				
					
						
							
							
								 
						
							
								c9282f9e94 
								
							 
						 
						
							
							
								
								Transition to using ini option for suite name  
							
							
							
						 
						
							2017-05-12 17:48:50 -03:00  
				
					
						
							
							
								 
						
							
								fe7d89f033 
								
							 
						 
						
							
							
								
								Add '--junit-suite-name' CLI option  
							
							
							
						 
						
							2017-05-12 17:48:50 -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  
				
					
						
							
							
								 
						
							
								78194093af 
								
							 
						 
						
							
							
								
								Improve warning representation in terminal plugin and fix tests  
							
							
							
						 
						
							2017-03-16 21:57:32 -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  
				
					
						
							
							
								 
						
							
								26e50f1162 
								
							 
						 
						
							
							
								
								junitxml: adjust junitxml output file to comply with JUnit xsd  
							
							... 
							
							
							
							Change XML file structure in the manner that failures in call and errors
in teardown in one test will appear under separate testcase elements in
the XML report. 
							
						 
						
							2017-03-02 15:10:25 +01:00  
				
					
						
							
							
								 
						
							
								d3a6be4130 
								
							 
						 
						
							
							
								
								junitxml: Fix double system-out tags per testcase  
							
							... 
							
							
							
							In the xml report we now have two occurences for the system-out tag if
the testcase writes to stdout both on call and teardown and fails in
teardown.
This behaviour is against the xsd.
This patch makes sure that the system-out section exists only
once per testcase. 
							
						 
						
							2017-02-22 16:39:20 +01:00  
				
					
						
							
							
								 
						
							
								fb0b90646e 
								
							 
						 
						
							
							
								
								New-style classes implemented for python 2.7 -  #2147  
							
							
							
						 
						
							2017-02-16 20:28:17 +01:00  
				
					
						
							
							
								 
						
							
								402fbe503a 
								
							 
						 
						
							
							
								
								Merge branch 'master' into merge-master-into-features  
							
							
							
						 
						
							2016-12-27 23:31:26 -02:00  
				
					
						
							
							
								 
						
							
								4e1609b12e 
								
							 
						 
						
							
							
								
								Add `type` validation.  
							
							... 
							
							
							
							Argparse driven argument type validation is added for the
`--junit-xml` and `--confcutdir` arguments.
The commit partially reverts #2080 . Closes  #2089 . 
							
						 
						
							2016-11-28 02:16:01 +01:00  
				
					
						
							
							
								 
						
							
								b30a6d22c5 
								
							 
						 
						
							
							
								
								Merge branch 'master' into merge-master-into-features  
							
							
							
						 
						
							2016-11-27 17:30:40 -02:00  
				
					
						
							
							
								 
						
							
								6c5475660a 
								
							 
						 
						
							
							
								
								Add test case for  #595 .  
							
							... 
							
							
							
							This new test proves that reports do not capture stdout
by default when skipped. 
							
						 
						
							2016-11-26 18:49:24 +01:00  
				
					
						
							
							
								 
						
							
								efc54b2e56 
								
							 
						 
						
							
							
								
								Merge branch 'master' into merge-master-features  
							
							
							
						 
						
							2016-11-11 18:56:53 -02:00  
				
					
						
							
							
								 
						
							
								e2bb4f893b 
								
							 
						 
						
							
							
								
								Fix teardown error message in generated xUnit XML  
							
							... 
							
							
							
							It was "test setup failure" even error happens on test teardown. 
							
						 
						
							2016-11-02 15:50:32 +03:00  
				
					
						
							
							
								 
						
							
								1b259f70f3 
								
							 
						 
						
							
							
								
								Testcase reports with a url attribute will now properly write this to junitxml  
							
							
							
						 
						
							2016-08-25 13:08:51 -07:00  
				
					
						
							
							
								 
						
							
								463e6572c5 
								
							 
						 
						
							
							
								
								Merge branch 'master' into merge-master-into-features  
							
							... 
							
							
							
							Preparing for 3.0 
							
						 
						
							2016-08-17 22:39:23 -03:00  
				
					
						
							
							
								 
						
							
								767c28d422 
								
							 
						 
						
							
							
								
								Fix broken test in test_junitxml  
							
							
							
						 
						
							2016-08-17 22:32:27 +01:00  
				
					
						
							
							
								 
						
							
								bb3d6d87b6 
								
							 
						 
						
							
							
								
								Merge branch 'master' into fix-report-outcome-for-xpass  
							
							
							
						 
						
							2016-08-17 22:15:29 +01:00  
				
					
						
							
							
								 
						
							
								ea379e0e4f 
								
							 
						 
						
							
							
								
								Fix test in test_junitxml and add one for strict  
							
							
							
						 
						
							2016-08-17 22:02:54 +01:00  
				
					
						
							
							
								 
						
							
								55ec1d7f56 
								
							 
						 
						
							
							
								
								Update test_junitxml.py to interpret XPASS as passed  
							
							
							
						 
						
							2016-08-15 23:58:16 +01:00  
				
					
						
							
							
								 
						
							
								e4028b4505 
								
							 
						 
						
							
							
								
								Fix   #1798  to include errors in total tests in junit xml output.  
							
							
							
						 
						
							2016-08-08 13:35:49 +01:00  
				
					
						
							
							
								 
						
							
								458ecae1df 
								
							 
						 
						
							
							
								
								Replace all usages of "pytest_funcarg__" for @pytest.fixture  
							
							
							
						 
						
							2016-07-11 22:21:52 -03: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  
				
					
						
							
							
								 
						
							
								ef9dd14963 
								
							 
						 
						
							
							
								
								Introduce pytest command as recommended entry point  
							
							... 
							
							
							
							Fixes  #1629  
						
							2016-06-21 16:16:57 +02:00  
				
					
						
							
							
								 
						
							
								eab762ea99 
								
							 
						 
						
							
							
								
								Merge branch 'master' into merge-master  
							
							
							
						 
						
							2016-05-13 19:37:41 +02:00  
				
					
						
							
							
								 
						
							
								0d07b64571 
								
							 
						 
						
							
							
								
								Fixes Issue 1549  
							
							
							
						 
						
							2016-05-05 11:29:05 -07:00  
				
					
						
							
							
								 
						
							
								491b30c5d9 
								
							 
						 
						
							
							
								
								Add Hypothesis test for _idval and fix bug it found  
							
							
							
						 
						
							2016-04-01 22:45:44 -04:00