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
0b540f98b1
Merge pull request #2864 from bilderbuchi/fix-1505
...
Introduce a dedicated section about conftest.py
2017-10-24 20:12:46 -02:00
Bruno Oliveira
b61cbc4fba
Merge pull request #2859 from OwenTuz/issue-2692-document-setup-teardown-mismatch-in-unittest-integration
...
2692.docs document setup/teardown behaviour when using unittest-based su…
2017-10-23 18:35:25 -02:00
Christoph Buchner
e23af009f9
Introduce a dedicated section about conftest.py
...
Also reorganize conftest-related content a bit.
Closes #1505 , closes #1770 .
2017-10-23 22:11:09 +02:00
Pavel Karateev
dc5f33ba5c
Remove typo @ in assignment
2017-10-23 21:39:13 +03:00
Owen Tuz
3cdbb1854f
#2692 : Document setup/teardown behaviour when using unittest-based suites
2017-10-21 23:12:49 +01:00
Bruno Oliveira
4cb60dac3d
Merge pull request #2850 from bilderbuchi/docs-911
...
Add documentation about python -m pytest invocation.
2017-10-18 19:44:52 -02:00
Bruno Oliveira
8c7974af01
Merge pull request #2848 from bilderbuchi/fix-538
...
Clarify the documentation of fixture scopes
2017-10-18 19:18:57 -02:00
Christoph Buchner
46cc9ab77c
Add documentation about python -m pytest invocation.
2017-10-18 21:30:56 +02:00
Christoph Buchner
baadd569e8
Clarify the documentation of fixture scopes. Closes #538 .
2017-10-17 23:42:32 +02:00
Pierre GIRAUD
a4fd5cdcb5
Fix auto-use fixture doc
2017-10-16 10:23:35 +02:00
Семён Марьясин
cfdebb3ba4
Fix typo in parametrization doc
2017-10-16 01:55:30 +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
Bruno Oliveira
810320f591
Small fixes to development_guide: title and label names
...
* Fix title to use a proper "title" section marker
* Fix labels by adding a " " after the ":"
* Fix OS labels after obvious mishap
* Sort labels
2017-09-14 19:58:56 -03:00
Bruno Oliveira
25d2acbdb2
Merge pull request #2760 from nicoddemus/labels
...
Add development guide to docs
2017-09-14 19:20:45 -03:00
Bruno Oliveira
52c134aed3
Add development guide to docs
2017-09-13 19:32:40 -03:00
Xuan Luong
696c702da7
Update documentation on multiple calls of metafunc.parametrize
2017-09-10 00:23:23 -04:00
Xuan Luong
15222ceca2
Fix typo in example of passing a callable to markers
2017-09-09 18:22:23 -04:00
Joe Hamman
b2a8e06e4f
add warning to skipping docs re marker inheritance
2017-09-08 12:01:33 -07:00
Bruno Oliveira
c52f87ede3
Preparing release version 3.2.2
2017-09-06 21:37:57 +00:00
Xuan Luong
3f8ff7f090
[DOC] Add examples for mark.with_args
2017-09-06 14:26:28 -04:00
Ronny Pfannschmidt
181bd60bf9
Merge pull request #2742 from nicoddemus/resultlog-deprecation
...
Improve user guidance regarding ``--resultlog`` deprecation
2017-09-01 08:29:41 +02:00
Bruno Oliveira
3288c9a110
Improve user guidance regarding ``--resultlog`` deprecation
...
Fix #2739
2017-08-31 19:11:41 -03:00
Bruno Oliveira
709b8b65a4
Merge pull request #2721 from josepht/patch-1
...
Fix typo in goodpractices.rst
2017-08-29 22:08:20 -03:00
Joe Talbott
1c891d7d97
Fix typo in goodpractices.rst
2017-08-25 10:01:24 -04:00
Joan Massich
657976e98a
update raises documentation regarding regex match
2017-08-22 12:12:48 +02:00
Ronny Pfannschmidt
806d47b4d4
Merge pull request #2691 from anhiga/trivial_error
...
Fixed error in 'Good Practices' code snippet
2017-08-16 09:50:32 +02:00
Bruno Oliveira
bfc9f61482
Update the number of plugins in index.rst
2017-08-15 23:05:23 -03:00
Antonio Hidalgo
2a99d82c3b
Fixed error in 'Good Practices' code snippet
2017-08-16 00:26:14 +02:00
Jesús Espino
dc9154e8ff
Add default values documentation for python_files, python_classes and python_functions
2017-08-12 12:29:13 +02:00
Bruno Oliveira
fd84c886ee
Merge pull request #2671 from nicoddemus/release-3.2.1
...
Release 3.2.1
2017-08-09 17:15:21 -03:00
Felipe Dau
c847b83d56
Use `pytest_collection_modifyitems()` in the run/skip option example
2017-08-09 02:51:07 +00:00
Bruno Oliveira
45d2962e97
Preparing release version 3.2.1
2017-08-08 21:11:11 +00:00
Bruno Oliveira
8b322afcdb
Make generated doc in simple.rst more reliable
...
Sometimes `test_funcfast` would show up in the `setup` step in
the slowest test durations summary.
2017-08-08 18:04:21 -03:00
Bruno Oliveira
37353a854e
Implement suggestions by Raphael
2017-08-04 17:56:13 -03:00
Bruno Oliveira
15cdf137d5
Document which pytest features work with `unittest`
...
Fix #2626
2017-08-04 07:44:04 -03:00
Bruno Oliveira
07dd1ca7b8
Preparing release version 3.2.0
2017-07-30 21:37:18 +00:00
Bruno Oliveira
f1467f8f03
Merge remote-tracking branch 'upstream/master' into features
2017-07-30 18:08:24 -03:00
Bruno Oliveira
e1aed8cb17
Merge pull request #2490 from RonnyPfannschmidt/fix-580
...
Test Outcomes as BaseException - fix #580
2017-07-30 17:38:42 -03:00
Bruno Oliveira
4cd8727379
Merge pull request #2617 from wence-/fix/nondeterministic-fixtures
...
Fix nondeterminism in fixture collection order
2017-07-30 17:17:40 -03:00
Bruno Oliveira
8c2319168a
Rephrase the bit about unittest migration to pytest
2017-07-28 23:15:59 -03:00
Ronny Pfannschmidt
06a49338b2
make Test Outcomes inherit from BaseException instead of exception
...
fixes #580
2017-07-28 15:28:51 +02:00
Bruno Oliveira
7082320f3f
Apply modifications requested in review
2017-07-28 07:55:34 -03:00
Bruno Oliveira
6fe7069cbb
Move historical notes to their own doc
...
Fix #2512
2017-07-27 20:47:12 -03:00
Bruno Oliveira
d46006f791
Fixes in "contact" doc
2017-07-27 19:28:55 -03:00
Bruno Oliveira
f770f16294
Replace deprecated "config.option.<name>" usages from docs
2017-07-27 19:18:44 -03:00
Bruno Oliveira
17c544e793
Introduce new pytest_report_collectionfinish hook
...
Fix #2622
2017-07-27 10:44:29 -03:00
Lawrence Mitchell
f047e078e2
Mention new (py26) ordereddict dependency in changelog and docs
2017-07-26 14:41:10 +01:00
Bruno Oliveira
73c6122f35
Merge remote-tracking branch 'upstream/master' into features
2017-07-24 21:12:51 -03:00