Bruno Oliveira
9c5da9c0d1
Remove all version references to obsolete pytest versions
...
Remove version references to pytest 2 and 3.
Just like Python 3 no longer has references to Python 2, I think
we should follow the same approach in pytest.
2019-04-28 12:37:58 -03:00
Douglas Thor
0e651d7297
[Docs] Fix typo in skipping.rst
...
One of the `pytest.mark.skipif` blocks does not use the `reason` kwarg.
2019-04-16 09:30:13 -07:00
Bruno Oliveira
006dc30476
Preparing release version 4.4.1
2019-04-15 14:24:17 +00:00
Anthony Sottile
8449294e5d
blacken-docs more code samples in docs
2019-04-12 04:50:26 -07:00
Daniel Hahler
befc8a3f10
Update via https://github.com/pytest-dev/regendoc/pull/8
2019-04-03 22:08:44 +02:00
Bruno Oliveira
8881b201aa
Preparing release version 4.4.0
2019-03-29 20:49:18 +00:00
Grygorii Iermolenko
6e1ee0802f
Fix sphinx code-block types for remaining rst docs
2019-02-15 15:10:37 +02:00
Bruno Oliveira
fa979a4290
Preparing release version 4.2.0
2019-01-30 14:25:38 -02:00
Anthony Sottile
7015801377
Highlight docs with pygments-pytest
2018-11-23 22:01:30 -08:00
Bruno Oliveira
16b15af624
Preparing release version 4.0.1
2018-11-23 20:09:57 +00:00
Bruno Oliveira
6b126997e1
Remove pytest.config example from skipping at module level docs
2018-10-20 11:28:39 -03:00
hoefling
8c96eea583
doc fix: raises accepts tuples instead of lists ( fixes #3907 )
2018-08-30 00:19:59 +02:00
Natan Lao
717775a1c6
Remove warning about #568 from documentation
...
The documentation (https://docs.pytest.org/en/latest/skipping.html ) references
issue #568 , which has since been fixed.
2018-08-21 16:57:33 -07:00
Bruno Oliveira
4970f6d5c2
Improve reason in skipif example
2018-06-22 09:14:12 -03:00
AdamEr8
1ac1ee6fcb
Fixed text description above skipif's example
...
@pytest.mark.skipif's example's description (above the code) was the opposite of the condition in the code,
fixed the description to match the code.
2018-06-21 12:09:56 +03:00
Anthony Sottile
0f2d7dc73c
blacken docs
2018-06-03 07:58:46 -07:00
Anthony Sottile
5c878001ea
Manual docs changes so syntax is parseable
2018-06-02 20:19:17 -07:00
Ronny Pfannschmidt
86fc31db8d
apply most other hooks and opt out of black reformating
2018-05-23 16:45:58 +02:00
Bruno Oliveira
8629ef6a78
Add missing ini options: markers, usefixtures and xfail_strict
2018-03-12 19:43:31 -03:00
Bruno Oliveira
988ace9eb2
Add documentation for marks
2018-03-06 20:41:20 -03:00
Bruno Oliveira
e0d236c031
Remove gendoc normalization for '=' and '_' headers
...
Using the default for non-atty terminals (80) so the new
progress indicator aligns correctly.
2017-11-23 15:33:41 +00:00
Bruno Oliveira
3b3bf9f53d
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2017-11-14 18:42:29 -02:00
Bruno Oliveira
a0ad9e31da
Preparing release version 3.2.4
2017-11-13 20:01:17 +00:00
Bruno Oliveira
f3a119c06a
Merge upstream/master into features
2017-11-03 16:37:18 -02:00
Stephen Finucane
383239cafc
doc: Include collector config in the skip doc
...
None of the decorators are sufficient to skip an entire file, for
example if the file contain invalid code for a given Python version.
Simply link to details about customizing the collector.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-26 17:14:29 +01:00
Bruno Oliveira
6821d36ca5
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2017-10-24 19:57:14 -02:00
Ronny Pfannschmidt
df37cdf51f
Merge pull request #2808 from georgeyk/allow-module-level-skip
...
Allow module level skip
2017-10-12 06:50:53 +02:00
hugovk
ef732fc51d
Remove code for unsupported Python versions
2017-10-10 08:54:56 +03:00
Xuan Luong
4bc6ecb8a5
Add mention of xpass in skip/xfail documentation
2017-10-05 20:14:45 -04:00
Bruno Oliveira
6b91bc88de
Preparing release version 3.2.3
2017-10-03 21:42:34 +00:00
George Y. Kussumoto
59f66933cd
Update documentation example of pytest.skip(allow_module_level=True)
2017-10-02 21:26:00 -03:00
George Y. Kussumoto
e4a6e52b81
Update skipping documentation to include usage of allow_module_level kwarg
2017-10-02 21:07:21 -03:00
Joe Hamman
b2a8e06e4f
add warning to skipping docs re marker inheritance
2017-09-08 12:01:33 -07:00
Bruno Oliveira
15cdf137d5
Document which pytest features work with `unittest`
...
Fix #2626
2017-08-04 07:44:04 -03:00
Bruno Oliveira
6fe7069cbb
Move historical notes to their own doc
...
Fix #2512
2017-07-27 20:47:12 -03:00
Bruno Oliveira
7cbf265bb5
Preparing release version 3.1.2
2017-06-08 17:37:42 -04:00
Bruno Oliveira
409d2f1d54
Make it clear that pytest.xfail stops the test
...
Also did a general review of the document to improve the flow
Fix #810
2017-05-31 19:54:01 -03:00
Ronny Pfannschmidt
03753ca201
intermediate state after attempt with the plain env, DONT MERGE
2017-05-13 13:25:52 +02:00
Ronny Pfannschmidt
d1e44d16e7
regenerate docs from the pytest env
2017-05-12 22:51:20 +02:00
Ronny Pfannschmidt
f1c4e2c032
regendoc: reduce version noise by replacing minor/patch with placeholders
2017-05-12 22:17:40 +02:00
Bruno Oliveira
6c9011c12f
Merge branch 'master' into merge-master-into-features-post-3.0.7
2017-03-14 18:10:23 -03:00
Bruno Oliveira
d58780f9a6
Update regendoc
2017-03-13 18:41:20 -04:00
Michal Wajszczuk
fb0b90646e
New-style classes implemented for python 2.7 - #2147
2017-02-16 20:28:17 +01:00
Ronny Pfannschmidt
4d0c635252
regendoc
2017-01-22 18:44:30 +01:00
Jakub Wilk
03a7a2cd3e
Fix typos
2016-12-31 19:01:15 +01:00
Bruno Oliveira
f592c7746a
Regendocs for 3.0.5
2016-12-05 07:22:06 -05:00
Bruno Oliveira
ab274299fe
Regen doc for 3.0.4
2016-11-09 16:44:58 -05:00
Bruno Oliveira
41d3b3f4f9
Regendoc for version 3.0.3
2016-09-28 16:36:15 -04:00
Bruno Oliveira
19766ef0bc
Add a summary on how to skip all tests in a module in different situations
2016-09-25 23:36:25 -03:00
Bruno Oliveira
94155ee62a
Add a note about pytest.skip not being allowed at module level
2016-09-25 23:36:25 -03:00