Bruno Oliveira
75d29acc06
Fix reference to inter-sphinx objects database
2018-09-01 08:48:47 -03:00
dhirensr
95881c870e
T3566,T3546: added a blurb in usage.rst for usage of flag -r
2018-08-31 11:20:15 +05:30
Bruno Oliveira
84a9f7a263
Add pytest Quick Start Guide to the books section in the docs
2018-08-30 20:18:51 -03:00
Bruno Oliveira
11e591e442
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-08-30 19:55:23 -03:00
hoefling
8c96eea583
doc fix: raises accepts tuples instead of lists ( fixes #3907 )
2018-08-30 00:19:59 +02:00
Anthony Sottile
aea962dc21
Preparing release version 3.7.4
2018-08-29 08:57:54 -07:00
Steve Piercy
f19cfbb825
Fix 404 to a somewhat better historical note
2018-08-28 14:35:08 -07:00
Bruno Oliveira
a605ad4d11
Merge pull request #3880 from jeffreyrack/3829-progress_display_mode
...
#3829 -- Add the ability to show test progress as number of tests completed instead of a percent.
2018-08-28 16:54:14 -03:00
Bruno Oliveira
23295e1e98
Fix docs linting
2018-08-27 20:21:08 -03:00
Jeffrey Rackauckas
8f4685e024
Move count display style to be part of console_output_style, fixed test progress for count console output style.
2018-08-26 19:21:00 -07:00
Bruno Oliveira
2f2d5861bb
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-08-26 16:45:00 -03:00
Bruno Oliveira
70bdacf01a
Fix collection example docs
2018-08-26 12:58:47 +00:00
Bruno Oliveira
c31018d9bc
Preparing release version 3.7.3
2018-08-26 12:43:43 +00:00
Gandalf Saxe
508774742e
Code block: :: missing and 4 spaces instead of 5
...
I just noticed the newly committed code block doesn't format as a code block without `::` in the paragraph before. Perhaps doesn't make a difference, but also corrected 5 spaces to 4 which seems standard.
2018-08-26 11:54:08 +02:00
Andrew Champion
14ffadf004
correct cmdclass
2018-08-24 12:07:22 -07:00
Bruno Oliveira
c82906105c
Merge pull request #3865 from GandalfSaxe/patch-1
...
Move information on `pip install -e` to the top
2018-08-24 07:28:51 -03:00
Anthony Sottile
f2e35c8c4f
Merge pull request #3859 from asottile/pyupgrade_1_4
...
Some pyupgrade 1.4.x changes
2018-08-23 18:32:53 -07:00
Bruno Oliveira
40b4fe64af
Fix linting
2018-08-23 22:11:17 -03:00
Gandalf Saxe
3f336869e2
Move information on `pip install -e` to the top
...
Should fix complaints in #2421 .
2018-08-23 18:07:28 +02:00
Anthony Sottile
c2cd337886
py.builtin.exec_ => six.exec_
2018-08-22 23:00:06 -07:00
Anthony Sottile
8bb8b91357
pyupgrade 1.4: tests
2018-08-22 18:47:21 -07:00
Bruno Oliveira
5a7aa123ea
Improve docs formatting
2018-08-22 11:22:30 -03:00
Jennifer Rinker
a12eadd9ef
resolving Issue #3824 - expanding docs
2018-08-22 15:37:35 +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
wim glenn
e620798d33
more autodocs for pytester
2018-08-19 23:21:45 -05:00
Bruno Oliveira
c64a8c9c7f
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-08-18 15:54:53 -03:00
Bruno Oliveira
e5a3c870b4
Preparing release version 3.7.2
2018-08-16 22:29:00 +00:00
Virgil Dupras
126896f69d
Add option to disable plugin auto-loading
...
If `PYTEST_DISABLE_PLUGIN_AUTOLOAD` is set, disable auto-loading of
plugins through setuptools entrypoints. Only plugins that have been
explicitly specified are loaded.
ref #3784 .
2018-08-07 13:16:28 -04:00
Bruno Oliveira
0a1c2a7ca1
Add a changelog blurb and title, similar to tox
2018-08-04 13:15:20 -03:00
Bruno Oliveira
f7a3f45a18
Preparing release version 3.7.1
2018-08-02 12:04:39 +00:00
Bruno Oliveira
60b1913ba2
Preparing release version 3.7.0
2018-07-30 20:14:42 +00:00
Bruno Oliveira
eada0b1fd7
Merge remote-tracking branch 'upstream/master' into release-3.7.0
2018-07-30 20:12:30 +00:00
Bruno Oliveira
6f9a12a8a3
Merge pull request #3486 from ammarnajjar/last-failed-no-failures_docs_correction
...
--last-failed-no-failures docs correction
2018-07-29 21:26:03 -03:00
Bruno Oliveira
0e47599572
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-07-29 21:15:51 -03:00
Bruno Oliveira
fe46fbb719
Fix reference to _Result in docs
2018-07-29 20:50:24 -03:00
Bruno Oliveira
317cd41215
Preparing release version 3.6.4
2018-07-28 12:59:04 +00:00
Bernhard M. Wiedemann
2e344d4d63
Do not claim copyright for future years
...
When building today's python-pytest-doc openSUSE package
in the year 2033, the documentation .html files state
Copyright 2015-2033 , holger krekel and pytest-dev team.
That cannot be correct, because nobody did anything copyright-worthy
for this file in 2033.
See also https://stackoverflow.com/questions/2390230/do-copyright-dates-need-to-be-updated
Additionally, this change makes the package build reproducible.
See https://reproducible-builds.org/ for why this is good.
2018-07-23 15:02:59 +02:00
Anthony Sottile
f76142508f
Merge pull request #3694 from drewrisinger/patch-2
...
Fix mark.rst typos & grammar
2018-07-22 09:15:33 -07:00
E Hershey
19de1b7f29
typo - PYTEST_ADDOTPS -> PYTEST_ADDOPTS
2018-07-22 11:39:32 -04:00
Drew
254689ff83
Fix mark.rst typos & grammar
...
Fix minor typos
2018-07-17 11:19:40 -04:00
Drew
21f5222784
Fix fixture.rst spelling & grammar
...
Fix a few typos.
2018-07-17 10:53:57 -04:00
Bruno Oliveira
ac9ceaacd8
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-07-15 11:54:14 -03:00
Bruno Oliveira
35ffd29404
Manage GH labels using the new 'labels' tool
2018-07-14 10:12:52 -03:00
Bruno Oliveira
251adbf644
Merge with upstream/master
2018-07-11 20:46:14 -03:00
Bruno Oliveira
2c4759ce57
Run regendocs
2018-07-11 20:37:50 -03:00
Bruno Oliveira
4dfe2eee94
Fix finalize call
2018-07-11 20:24:39 -03:00
Bruno Oliveira
303133f013
Merge pull request #3647 from jeffreyrack/3610-add-trace-option
...
3610 add trace option
2018-07-07 10:05:34 -03:00
Bruno Oliveira
d26a596072
Add a warning about usefixtures mark not working in fixtures
...
Fix #1014
2018-07-07 10:01:10 -03:00
Bruno Oliveira
d7b722e2ae
Add reference docs for pytest.mark.usefixtures
2018-07-06 20:55:42 -03:00
Bruno Oliveira
027d2336b8
Add minimal docs for package-scoped fixtures (experimental)
2018-07-05 21:56:31 -03:00
Anthony Sottile
50f030d233
Correct code blocks in docs
2018-07-04 15:16:34 -07:00
Bruno Oliveira
7696d5371a
Merge remote-tracking branch 'upstream/master' into features
2018-07-04 18:49:35 -03:00
Bruno Oliveira
63b25304c3
Run pre-commit fixers
2018-07-03 22:20:29 -03:00
Bruno Oliveira
2921ca6e64
Run pre-commit on all doc files
2018-07-03 21:58:18 -03:00
Bruno Oliveira
43c0346d68
Preparing release version 3.6.3
2018-07-04 00:51:21 +00:00
Hugo Martins
8232fd1a2d
Fix remaining "smtp" references
2018-07-03 23:24:59 +01:00
Jeffrey Rackauckas
0b70477930
Fix linting issues.
2018-07-01 20:18:00 -07:00
Jeffrey Rackauckas
8801162275
Fixing tabbing in usage.rst.
2018-07-01 18:54:04 -07:00
Jeffrey Rackauckas
a604a71185
Fixing usage.rst title.
2018-07-01 18:53:18 -07:00
Jeffrey Rackauckas
713d32c4da
Adding documentation for the --trace option.
2018-07-01 18:49:39 -07:00
Hugo Martins
f7c929c932
Fix linting errors in docs/fixtures.rst
2018-06-30 14:34:19 +01:00
Hugo Martins
b48f1d378b
Clarify examples in fixtures' documentation
2018-06-30 02:01:49 +01:00
Ronny Pfannschmidt
17e01993d9
regendoc and invocation fixes
2018-06-27 08:28:21 +02:00
Ronny Pfannschmidt
8a6345515b
regendoc
2018-06-27 06:52:54 +02:00
Anthony Sottile
cbaa7dd56a
Upgrade pre-commit hooks except pyupgrade
2018-06-26 06:35:27 -07:00
Jon Dufresne
1d5316a28b
Update pypi.python.org URLs to pypi.org
...
For details on the new PyPI, see the blog post:
https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
2018-06-25 18:08:49 -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
Bruno Oliveira
46aa18dfa7
Lint regendoc changes
2018-06-19 21:34:03 -03:00
Bruno Oliveira
617a5fcf98
Preparing release version 3.6.2
2018-06-20 00:29:58 +00:00
Alex Barbato
9408291c50
Fixing parens typo in fixture.rst
2018-06-16 12:40:25 -04:00
Anthony Sottile
b285078db4
Merge pull request #3535 from RonnyPfannschmidt/config-split
...
begin to turn config into package
2018-06-15 10:28:06 -07:00
Ronny Pfannschmidt
52c4279918
Merge pull request #3572 from nicoddemus/remove-unused-scripts
...
Remove unused scripts and old docs
2018-06-12 21:57:51 +02:00
Bartosz Cierocki
f786534173
Fix three spaces instead of four in docs
2018-06-12 19:39:51 +02:00
Bruno Oliveira
d6e7b1a21b
Remove obsolete doc/en/test directory
...
Apparently this was an old version of the docs, which has long been superseded
2018-06-11 23:33:09 -03:00
Bruno Oliveira
4983de60d3
Remove unused scripts from docs
2018-06-11 23:32:49 -03:00
Ronny Pfannschmidt
1aba123ac5
fix doc build
2018-06-11 16:20:24 +02:00
Michael Käufl
4a78711067
Fix typo in documentation
2018-06-11 13:28:09 +02:00
Bruno Oliveira
c4f72e4d13
Apply code review changes
2018-06-09 12:40:39 -03:00
Bruno Oliveira
3667a52ba2
Remove Mark api from mark.rst
...
Feels out of place in there, plus the reference documentation
already contains the reference API to all mark-related classes
2018-06-09 12:02:28 -03:00
Bruno Oliveira
97d48ba60d
Add documentation blurb for --strict
...
Fix #3549
2018-06-09 12:02:21 -03:00
Samuel Dion-Girardeau
d694290626
Fix typo in plugin list example
2018-06-05 18:27:59 -04:00
Bruno Oliveira
2a79f58ba3
Fix linting
2018-06-04 22:14:04 -03:00
Bruno Oliveira
66ec0a50b6
Preparing release version 3.6.1
2018-06-05 01:11:27 +00:00
Bruno Oliveira
cc793a8575
Merge pull request #3522 from NiklasMM/fix/3461_factory-fixture-doc
...
Add factory fixture example to documentation.
2018-06-04 22:09:50 -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
Bruno Oliveira
4dc5f7897d
Fix typo in marks.rst
2018-05-31 12:43:48 -03:00
Niklas Meinzer
08de3dad33
Add factory fixture example to documentation.
...
Close https://github.com/pytest-dev/pytest/issues/3461
2018-05-31 11:21:10 +02:00
Bruno Oliveira
5748c5ce8f
Fix default cache directory to .pytest_cache
2018-05-30 08:24:10 -03:00
Bruno Oliveira
6f8547cc1a
Merge branch 'master' into pre-commit-hook
2018-05-25 18:14:43 -03:00
Oliver Bestwalter
c55635d42a
Fix tox spelling (all lower case).
2018-05-25 09:54:03 +02:00
Ronny Pfannschmidt
3e08c4ee64
sort out flake8 issues and unicode name usage
2018-05-23 18:12:04 +02:00
Ronny Pfannschmidt
703e4b11ba
run black
2018-05-23 16:48:46 +02:00
Ronny Pfannschmidt
86fc31db8d
apply most other hooks and opt out of black reformating
2018-05-23 16:45:58 +02:00
Ronny Pfannschmidt
3b9e063fe8
fix line endings
2018-05-23 16:45:23 +02:00
Ronny Pfannschmidt
9aacb4635e
run pyupgrade
2018-05-23 16:45:09 +02:00
Bruno Oliveira
d70e910b65
Preparing release version 3.6.0
2018-05-23 00:07:48 +00:00
Bruno Oliveira
c55db1faac
Merge remote-tracking branch 'upstream/master' into release-3.6.0
2018-05-23 00:03:58 +00:00
Bruno Oliveira
7d0c9837ce
Merge pull request #3459 from RonnyPfannschmidt/mark-iter-name-filter
...
introduce name filtering for marker iteration again
2018-05-21 13:24:39 -03:00
Tim Hughes
f0b855369c
fix typo
2018-05-20 19:14:06 +01:00
Bruno Oliveira
674879976f
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-05-18 12:30:08 -03:00
Ammar Najjar
f99da9058f
Issue #3295 : Correct the usage of --last-failed-no-failures documentation
...
- add the missing --last-failed argument in the presented examples, for they are missleading and lead to think that the missing argument is not needed.
2018-05-17 23:07:55 +02:00
Bruno Oliveira
bb626fe8a7
Fix typo in mark.rst
2018-05-17 16:06:00 -03:00
Bruno Oliveira
11fb384efb
Fix link to skipif tutorial in ref docs
2018-05-17 10:15:47 -03:00
Bruno Oliveira
5edad01d4e
Merge pull request #3476 from avirlrma/master
...
change doc copyright year to range and auto update year
2018-05-16 17:53:23 -03:00
Bruno Oliveira
afe4800daf
Fix deprecation notice in Node.get_marker
2018-05-15 21:47:40 -03:00
Bruno Oliveira
2cd159e8c5
Add section on how to update marks and add ref to the deprecation notice
2018-05-15 21:35:27 -03:00
Bruno Oliveira
a4425cb4af
Merge pull request #3469 from scop/dropthedot
...
#dropthedot
2018-05-15 08:00:28 -03:00
aviral1701
a59f677d93
change doc copyright year to range and auto update year
2018-05-15 12:48:04 +05:30
Ville Skyttä
b4370c08b9
#dropthedot
2018-05-13 12:09:47 +02:00
Ville Skyttä
aa51fcb2b6
Spelling and grammar fixes
2018-05-13 12:06:09 +02:00
Ronny Pfannschmidt
4914135fdf
introduce name filtering for marker iteration again
2018-05-11 21:48:15 +02:00
Bruno Oliveira
b03b387861
Merge pull request #3436 from brianmaissy/feature/enter_pdb_on_keyboard_interrupt
...
--pdb treats KeyboardInterrupt as exception
2018-05-03 12:20:43 -03:00
Bruno Oliveira
ccaa979f27
Improve changelog note about markers
...
Also changed the title in the docs because the previous title had
the same level as the title, making it appear in a separate entry
in `contents.rst`
2018-05-01 19:27:53 -03:00
Brian Maissy
c258fe1459
--pdb treats KeyboardInterrupt as exception
2018-05-02 00:58:35 +03:00
Jon Dufresne
d2bf0bf9bb
Update all pypi.python.org URLs to pypi.org
...
For details on the new PyPI, see the blog post:
https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
2018-04-26 06:49:33 -07:00
Bruno Oliveira
63368e07ea
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-04-24 21:26:45 -03:00
Bruno Oliveira
69b1c2d4f6
Merge pull request #3424 from nicoddemus/release-3.5.1
...
Preparing release version 3.5.1
2018-04-24 19:30:54 -03:00
Bruno Oliveira
8d56641590
Preparing release version 3.5.1
2018-04-23 22:24:21 +00:00
Rachel Kogan
6ea4c12da7
updated doc to delete deprecated hook
2018-04-22 21:56:18 -04:00
Bruno Oliveira
3318e53d01
Merge pull request #3382 from feuillemorte/3290-improve-monkeypatch
...
#3290 improve monkeypatch
2018-04-19 17:05:52 -03:00
Rachel Kogan
8ff8a82c51
Merge branch 'master' of github.com:pytest-dev/pytest
2018-04-17 16:21:04 -04:00
Rachel Kogan
bb8984f5ed
fix error in caplog docs.
2018-04-17 16:17:29 -04:00
feuillemorte
283ac8bbf4
#3290 Fix doc
2018-04-14 21:06:58 +03:00
Holger Kohr
6626d2aef9
Mention omission of fixtures with leading '_', closes #3398
2018-04-14 11:04:00 +02:00
feuillemorte
ba7cad3962
#3290 Fix comments
2018-04-13 16:00:07 +03:00
Bruno Oliveira
10a7160549
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-04-11 18:07:47 -03:00
feuillemorte
a4daac7eb0
#3290 Fix doc
2018-04-11 12:46:02 +03:00
Bruno Oliveira
d1ba19acad
Add the list of issues fixed by the new marker implementation to the docs
...
This will help make users more understanding if their code breaks under the
new implementation.
2018-04-10 08:00:32 -03:00
Ronny Pfannschmidt
2241c98b18
Merge pull request #3331 from tonybaloney/breakpoint_support
...
Support for the new builtin breakpoint function in Python 3.7
2018-04-10 07:15:29 +02:00
Ronny Pfannschmidt
4df8f2b153
fix doc build, use noindex on the mark reference
2018-04-06 08:13:28 +02:00
Bruno Oliveira
f17dfa4292
Remove label descriptions from development guide
...
The descriptions have been moved directly to GitHub's new label description
slot.
2018-04-05 20:55:08 -03:00
David Chudzicki
db24723b61
no-capture in sample code demo'ing plugin
2018-04-05 20:34:26 +02:00
Bruno Oliveira
e534cc81a3
Fix typos in docs
2018-04-05 14:45:30 -03:00
Ronny Pfannschmidt
3582e1f6be
include more detail on the marker api issues
2018-04-05 18:46:33 +02:00
Ronny Pfannschmidt
a8ad89cdb3
fix documentation references
2018-04-05 18:39:57 +02:00
Bruno Oliveira
48bcc3419f
Reword the docs on markers a bit
2018-04-05 12:39:21 -03:00
Ronny Pfannschmidt
1fcadeb2ce
extend marker docs with reasons on marker iteration
2018-04-05 15:30:31 +02:00
Ronny Pfannschmidt
a2974dd067
fix doc building
2018-03-30 16:48:27 +02:00
Ronny Pfannschmidt
7454a381e2
update configuration examples to new mark api
2018-03-30 08:36:58 +02:00
Bruno Oliveira
daf1de0fed
Add reference docs for pytest_sessionstart/finish and update their docstrings
2018-03-29 19:48:48 -03:00
Ronny Pfannschmidt
ee51fa5881
add api to iterate over all marerks of a node
2018-03-29 17:52:01 +02:00
Bruno Oliveira
0a3cd881f6
Add docs about using pytest.param in parametrized fixtures
2018-03-28 19:35:10 -03:00
Bruno Oliveira
0a4200bbb3
Improve docs formatting
2018-03-27 07:40:52 -03:00
Anthony Shaw
b45006e9a3
fix syntax
2018-03-27 21:26:55 +11:00
Anthony Shaw
671ab5a36c
update documentation for new feature
2018-03-27 21:02:43 +11:00
Bruno Oliveira
ff3d13ed0e
Update typo in fixture.rst
2018-03-26 11:20:33 -03:00
Bruno Oliveira
ed118d7f20
Merge remote-tracking branch 'upstream/features'
2018-03-22 21:06:09 -03:00
Bruno Oliveira
f78953fd81
Add missing reference doc for filterwarnings mark
2018-03-22 13:02:30 -03:00