Commit Graph

9396 Commits

Author SHA1 Message Date
Bruno Oliveira e24031fb36 Regendocs again, without hypothesis 2019-01-05 20:42:44 +00:00
Bruno Oliveira 99ef8c6d16 Fix typo in Makefile: PYTEST_ADDOPT -> PYTEST_ADDOPTS 2019-01-05 20:31:01 +00:00
Bruno Oliveira d7465895d0 Regendoc again 2019-01-05 19:19:40 +00:00
Bruno Oliveira 01151ff566 Add example for -ra usage to the docs 2019-01-05 16:53:12 -02:00
Bruno Oliveira d0e9b4812f Regendocs 2019-01-05 16:38:59 -02:00
Bruno Oliveira 5a8e674e92 Add dataclasses as a regendoc dependency 2019-01-05 16:38:59 -02:00
Bruno Oliveira e380d4306b Anonimize attrs links 2019-01-05 16:38:59 -02:00
Bruno Oliveira 9d297c06e8 Preparing release version 4.1.0 2019-01-05 16:38:59 -02:00
Bruno Oliveira 0da5531c7c
Merge pull request #4599 from s0undt3ch/feature/skiporfail-reason
Custom reason support for "importorskip"
2019-01-05 13:15:17 -02:00
Bruno Oliveira 0c4898670c Add changelog entry and update docs for importorskip 2019-01-05 12:55:39 -02:00
Pedro Algarvio be7eb22e88
Add test case for `importorskip` custom reason 2019-01-04 19:06:23 +00:00
Pedro Algarvio 8b48621687
Allow providing a custom reason for `importorskip` 2019-01-04 18:05:28 +00:00
Anthony Sottile 56aecfc081
Merge pull request #4587 from nicoddemus/merge-master-into-features
Merge master into features
2019-01-04 09:57:08 -08:00
Bruno Oliveira 30c7a7bd69 Merge remote-tracking branch 'upstream/master' into features 2019-01-02 19:16:18 -02:00
Bruno Oliveira cf5a9aebb2
Merge pull request #4580 from adamchainz/improve_detailed_summary_report_docs
Improve detailed summary report docs
2019-01-01 16:28:27 -02:00
Bruno Oliveira 1a9979a803
Merge pull request #4582 from jeffreyrack/4371-display-test-descriptions
4371: Update --collect-only to display test descriptions when ran in verbose
2018-12-30 13:56:30 -02:00
Jeffrey Rackauckas 1eef53b6fe Update --collect-only to display test descriptions when ran in verbose mode. 2018-12-29 22:46:46 -08:00
Adam Johnson 388aff16c8 Improve detailed summary report docs
The existing examples had 0 tests collected so didn't show the actual summary report. Also I added a section explaining the difference between `p` and `P`.
2018-12-29 11:47:39 +00:00
wim glenn 83ec0228d1
Merge pull request #4577 from pytest-dev/asottile-patch-1
Remove out of date dependencies list in docs
2018-12-27 00:02:42 -06:00
Anthony Sottile 2dc8cc1e48
Remove out of date dependencies list in docs
Was scrolling through the docs and noticed this, I figure it's easier to remove this than try and keep it in sync with setup.py
2018-12-25 20:46:48 -05:00
Anthony Sottile 658fa35642
Merge pull request #4572 from bowlofeggs/rm-comma
Remove an extraneous comma from the docs.
2018-12-22 23:13:45 -05:00
Randy Barlow b2c4ed9a2b
Remove an extraneous comma from the docs.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-12-21 17:53:28 -05:00
Bruno Oliveira b5cd43bc95
Merge pull request #4558 from hyunchel/fix-incorrect-example-in-cache-doc
Update cache doc with correct example
2018-12-21 14:33:41 -02:00
Bruno Oliveira 134ace98d9
Merge pull request #4564 from RonnyPfannschmidt/remove-markinfo
Remove MarkInfo
2018-12-21 14:32:15 -02:00
Ronny Pfannschmidt 134641fcb5 add first set of changelog entries for marker removal 2018-12-21 14:02:38 +01:00
Ronny Pfannschmidt 8f8d3114dd apply suggested enhancements in deprecations.rst 2018-12-21 14:02:38 +01:00
Ronny Pfannschmidt 102ffc69e8 add issue references to the todos 2018-12-21 14:02:38 +01:00
Ronny Pfannschmidt 64a353f2b6 update deprecation docs 2018-12-21 14:02:38 +01:00
Ronny Pfannschmidt b258764ffe fix docs 2018-12-21 14:02:38 +01:00
Ronny Pfannschmidt 3947b859dc fix hookspec parsing 2018-12-21 14:02:38 +01:00
Ronny Pfannschmidt 9f9f6ee48b remove most of markertransfer
keywords are still a big issue
2018-12-21 14:02:38 +01:00
Bruno Oliveira 58fc918d0a
Merge pull request #4571 from nicoddemus/remove-parametrize-marks
Remove support for applying marks to values in parametrize
2018-12-21 08:24:47 -02:00
Hyunchel Kim ece01b0f56 Update cache documentation example to correctly show cache hit and miss 2018-12-21 04:43:26 +00:00
Bruno Oliveira c378cb4793 Remove support for applying marks to values in parametrize
Fix #3082
2018-12-20 16:16:13 -02:00
Ronny Pfannschmidt d888d5c933
Merge pull request #4565 from nicoddemus/flaky-test
Use mocking to make test_junit_duration_report deterministic
2018-12-20 08:52:34 +01:00
Ronny Pfannschmidt b2d3ae257a
Merge pull request #4566 from nicoddemus/remove-setup-cfg-non-top-level-pytest-plugins
Remove support for [pytest] in setup.cfg files and pytest_plugins in non-top-level conftests
2018-12-20 08:47:25 +01:00
Bruno Oliveira a93f41233a Raise an error if pytest_plugins is defined in a non-top-level conftest.py file
Fix #4548
2018-12-19 18:09:47 -02:00
Bruno Oliveira 9138419379 Remove support for '[pytest]' section in setup.cfg file
Fix #3086
2018-12-19 17:43:17 -02:00
Bruno Oliveira 197fd69ddc Use mocking to make test_junit_duration_report deterministic
Fix #4563
2018-12-19 17:13:12 -02:00
Bruno Oliveira c400d8b2d8
Merge pull request #4561 from nicoddemus/remove-calling-fixtures-directly
Calling fixtures directly is now an error instead of a warning
2018-12-19 11:37:14 -02:00
Bruno Oliveira 0115766df3 Calling fixtures directly is now an error instead of a warning
Fix #4545
2018-12-19 09:26:29 -02:00
Bruno Oliveira 8563364d8b
Merge pull request #4542 from nicoddemus/remove-legacy-warn
Remove config.warn, Node.warn and pytest_logwarning
2018-12-18 19:11:36 -02:00
Bruno Oliveira 0a40ae4c6a
Merge pull request #4557 from Kanguros/master
Updating markers example to newest pytest version
2018-12-17 12:45:27 -02:00
Ronny Pfannschmidt e63c7a13ff
Merge pull request #4327 from ndevenish/approx
Let approx() work on more generic sequences
2018-12-17 15:21:12 +01:00
Bruno Oliveira b7e8171cf8
Merge branch 'features' into remove-legacy-warn 2018-12-17 10:37:31 -02:00
Bruno Oliveira 75e93e5168
Merge pull request #4556 from nicoddemus/idfunc-failure
Errors in parametrize id functions now propagate the error instead of issuing a warning
2018-12-17 10:36:15 -02:00
Bruno Oliveira 843d00c219 Fix linting 2018-12-17 10:35:17 -02:00
Bruno Oliveira c6d27d8224
Merge pull request #4555 from nicoddemus/remove-record-xml-pytest-main-str
Remove record_xml_property and support for strings in pytest.main()
2018-12-17 10:08:51 -02:00
Bruno Oliveira 84390acccc
Merge pull request #4553 from nicoddemus/junit-durations
Rename "junit_time" to "junit_duration_report" option
2018-12-17 10:08:20 -02:00
Kanguros f04d3c8b7d Adding change log entry 2018-12-16 21:27:59 +01:00