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
Bruno Oliveira
beacecf29b
Preparing release version 3.5.0
2018-03-21 20:46:07 +00:00
Bruno Oliveira
b148770066
Fix example in usage.rst
2018-03-21 20:45:28 +00:00
Bruno Oliveira
f3c87a77a7
Merge remote-tracking branch 'upstream/master' into release-3.5.0
2018-03-21 20:39:44 +00:00
Bruno Oliveira
6f95189cf7
Merge pull request #3306 from nicoddemus/2405-scope-fixture-order
...
Instantiate fixtures by scope order in test function requests
2018-03-21 17:37:05 -03:00
Ronny Pfannschmidt
add5ce0fb8
Merge pull request #3230 from brianmaissy/features
...
deprecate pytest_plugins in non-top-level conftest
2018-03-21 07:44:34 +01:00
Bruno Oliveira
59e7fd478e
Sort fixtures by scope when determining fixture closure
...
Fix #2405
2018-03-20 20:10:53 -03:00
Bruno Oliveira
d03e38941b
Merge pull request #3295 from brianmaissy/feature/last-failed-no-failures-behavior
...
implemented --last-failed-no-failures
2018-03-20 19:17:25 -03:00
Jeffrey Rackauckas
a4cf380343
Fix tests to not fail when running from root.
2018-03-18 21:23:39 -07:00
Bruno Oliveira
1fff81e21d
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-03-16 18:15:28 -03:00
Bruno Oliveira
fbcf1a90c9
Merge pull request #3193 from pytest-dev/ref-docs
...
Reference docs
2018-03-15 12:04:34 -03:00
Tareq Alayan
7e53f9432c
issue #3308 : fix example in documentation
...
https://github.com/pytest-dev/pytest/issues/3308
2018-03-14 15:44:43 +02:00
Bruno Oliveira
4459aa3d8b
Remove redundant "# content of pytest.ini" headers from examples
2018-03-12 20:09:31 -03:00
Bruno Oliveira
2e347643a3
Add ini options for logging
2018-03-12 20:09:05 -03:00
Bruno Oliveira
8629ef6a78
Add missing ini options: markers, usefixtures and xfail_strict
2018-03-12 19:43:31 -03:00
Bruno Oliveira
3198596f8a
Sort ini options
2018-03-12 19:33:34 -03:00
Bruno Oliveira
61b8ea8656
Add doctest_encoding and junit_suite_name ini options
2018-03-12 19:27:17 -03:00
Bruno Oliveira
8035f6cced
Fix typo in docs
2018-03-12 18:32:51 -03:00
Brian Maissy
d2e533b8a3
implemented --last-failed-no-failures
2018-03-10 22:45:45 +02:00
Brian Maissy
54b15f5826
deprecated pytest_plugins in non-top-level conftest
2018-03-10 21:20:12 +02:00
Bruno Oliveira
8243900960
Move definition of ini options to reference
2018-03-07 20:45:41 -03:00
Bruno Oliveira
c0fe4d483d
Add environment variables
2018-03-06 20:41:21 -03:00
Bruno Oliveira
18a47bfd22
Add docs for CaptureFixture
2018-03-06 20:41:21 -03:00
Bruno Oliveira
3979f9ba3a
Add pytest_plugins and pytestmark special variables
2018-03-06 20:41:21 -03:00
Bruno Oliveira
443888248a
Improve fixture reference a bit
2018-03-06 20:41:21 -03:00
Bruno Oliveira
69d49f18e9
Add pytest_addhooks
2018-03-06 20:41:21 -03:00
Bruno Oliveira
8b7e6df73d
Add register_assert_rewrite and improve signature of other functions
2018-03-06 20:41:21 -03:00
Bruno Oliveira
9c2203d381
Reorder top level: functions, marks, fixtures, hooks and objects
2018-03-06 20:41:21 -03:00
Bruno Oliveira
df3a4111a9
Sort objects by name
2018-03-06 20:41:20 -03:00
Bruno Oliveira
988ace9eb2
Add documentation for marks
2018-03-06 20:41:20 -03:00
Bruno Oliveira
f7178654e5
Add recwarn and tmpdir fixtures to the reference docs
2018-03-06 20:41:20 -03:00
Bruno Oliveira
f1df6c5a60
Add testdir fixture to reference
2018-03-06 20:41:20 -03:00
Bruno Oliveira
66009b0f91
Add tutorial links to all references
2018-03-06 20:41:20 -03:00
Bruno Oliveira
215c6b281e
Add Monkeypatch and tutorial links for logging
2018-03-06 20:41:20 -03:00
Bruno Oliveira
adcb28f61b
Add caplog to reference
2018-03-06 20:41:20 -03:00
Bruno Oliveira
111c6d6a22
Improve pytestconfig and add record_xml_property
2018-03-06 20:41:20 -03:00
Bruno Oliveira
7ba8a4ee75
Use ``pytest.`` prefix for outcomes
2018-03-06 20:41:20 -03:00
Bruno Oliveira
400558cc9c
Add pytestconfig fixture
2018-03-06 20:41:20 -03:00
Bruno Oliveira
918dffba96
Add :with: modifier to raises() and deprecated_call()
2018-03-06 20:41:20 -03:00
Bruno Oliveira
44e2715529
Add sections to pytest's builtin API
2018-03-06 20:41:20 -03:00
Bruno Oliveira
b53c4246ef
Move most of 'builtin' to 'reference'
2018-03-06 20:41:19 -03:00
Bruno Oliveira
e73d4f4e1f
Add local table of contents in reference.rst
2018-03-06 20:41:19 -03:00
Bruno Oliveira
623bab4447
Use :no-auto-options: in capsys fixtures
...
Otherwise they are recognized as iterators
2018-03-06 20:41:19 -03:00
Bruno Oliveira
70f93263e9
Add reference docs to doctest_namespace
2018-03-06 20:41:19 -03:00
Bruno Oliveira
749288dcb6
Add reference docs to cache and capture fixtures
2018-03-06 20:41:19 -03:00
Bruno Oliveira
6fa9768545
Use sphinxcontrib-trio extension
...
This adds some more capabilities to sphinx, like marking
functions as decorators or with contexts
2018-03-06 20:41:19 -03:00
Bruno Oliveira
6b4565f8d1
Reorder the global toc and include 'contributing' section
2018-03-06 20:41:19 -03:00
Bruno Oliveira
6d4e72e1eb
Cleanup the links section to only external links
...
Internal links should be displayed in the side-bar
2018-03-06 20:41:19 -03:00
Bruno Oliveira
162557c2b2
Remove internal plugin list
...
This gets out of sync and shows internal plugins which don't make
much sense
2018-03-06 20:41:19 -03:00
Bruno Oliveira
d4c3850231
Create reference and moved Objects and Hooks reference from writing_plugins
2018-03-06 20:40:55 -03:00
Bruno Oliveira
ade7ad25c7
Merge remote-tracking branch 'upstream/master' into features
2018-03-05 19:48:25 -03:00
Bruno Oliveira
fac8208e8f
Preparing release version 3.4.2
2018-03-04 19:37:49 +00:00
Bruno Oliveira
54884b8c87
Merge branch 'revert-more_itertools-master' into introduce-more_itertools
2018-03-04 10:58:52 -03:00
Maik Figura
30453057e8
Add logging plugin to plugins list
2018-03-03 23:50:13 +01:00
Bruno Oliveira
08831396a5
Merge pull request #3218 from feuillemorte/3034-new-tests-first
...
#3034 Added new option "--new-first"
2018-03-02 18:33:25 -03:00
Bruno Oliveira
a2a64546eb
Merge remote-tracking branch 'upstream/master' into features
2018-02-27 16:43:45 -03:00
Bruno Oliveira
39024a7536
Fix broken links in getting-started
...
Fix #3256
2018-02-26 10:56:27 -03:00
joshm91
6166151ee4
Fix minor typo in fixture.rst
2018-02-24 19:12:40 +00:00
William Lee
c21eb72924
Added documentation for the continue-on-failure flag
2018-02-23 22:42:22 -06:00
feuillemorte
c032d4c5d5
Merge branch 'features' of https://github.com/feuillemorte/pytest into 3034-new-tests-first
2018-02-23 23:55:28 +03:00
feuillemorte
e865f2a235
#3034 Fix comments
2018-02-23 22:49:17 +03:00
Kyle Altendorf
b5ac61657a
Correct docs to config.pluginmanager.get_plugin()
...
`getplugin()` is deprecated in favor of `get_plugin()`.
dd97c94035/_pytest/config.py (L261)
2018-02-22 13:48:59 -05:00
Ronny Pfannschmidt
54e63b7dd5
Merge pull request #2770 from HPENetworking/master
...
Make record_xml_property generic and compatible with xdist and markers.
2018-02-22 07:38:55 +01:00
Bruno Oliveira
7a62619a75
Merge remote-tracking branch 'upstream/master' into features
2018-02-21 10:39:55 -03:00
Carlos Jenkins
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
Bruno Oliveira
b319375592
Preparing release version 3.4.1
2018-02-20 01:43:59 +00:00
Thomas Hisch
ac7eb63a6b
Remove --no-print-logs option
...
This option is superseded by the --show-capture option. With --no-print-logs
it was possible to only disable the reporting of captured logs, which is no
longer possible with --show-capture. If --show-capture=no is used, no
captured content (stdout, stderr and logs) is reported for failed tests.
2018-02-18 20:48:07 +01:00
Bruno Oliveira
69d608aec3
Merge remote-tracking branch 'upstream/master' into merge-upstream
2018-02-17 09:38:06 -02:00
Jordan Speicher
774c539f1a
Add --deselect command line option
...
Fixes #3198
2018-02-16 08:17:37 -06:00
feuillemorte
dff0500114
#3034 Added new option "--new-first"
2018-02-13 22:49:28 +03:00
Bruno Oliveira
063e2da967
Merge pull request #3176 from feuillemorte/1478_no_stdout_option
...
#1478 Added --no-stdout option
2018-02-09 18:36:36 -02:00
feuillemorte
da5882c2d5
#1478 Add doc and remove print
2018-02-09 21:36:48 +03:00
Bruno Oliveira
37d836d754
Reword docs slightly
2018-02-01 19:34:15 -02:00
feuillemorte
3eb6cad222
#1642 Fix comments
2018-02-01 11:20:37 +03:00
feuillemorte
9f1772e679
#1642 Resolve conflicts
2018-02-01 00:18:28 +03:00
Bruno Oliveira
653abad27b
Mention outcome.force_result() and add link to pluggy's docs
...
Related to #3169
2018-01-31 18:18:15 -02:00
Bruno Oliveira
489e638b4e
Preparing release version 3.4.0
2018-01-30 19:47:56 +00:00
Bruno Oliveira
4c148bd0ef
Fix imports in failure_demo.py
2018-01-30 19:44:06 +00:00
Bruno Oliveira
49773b573f
Merge pull request #3132 from raphaelcastaneda/feature/add-record-xml-attribute
...
implement #3130 - add record_xml_attribute fixture
2018-01-29 15:42:55 -02:00
Bruno Oliveira
aff463a3c4
Merge remote-tracking branch 'upstream/master' into features
2018-01-27 12:28:43 -02:00
Bruno Oliveira
b3247c1d03
Merge pull request #3044 from RonnyPfannschmidt/parameterset-empty-enable-xfail
...
empty parameterset - enable opt to xfail
2018-01-27 12:23:49 -02:00
Bruno Oliveira
169635e889
Move example of empty_parameter_set_mark closer to the options
2018-01-27 11:02:32 -02:00
Ronny Pfannschmidt
77de45cce3
enhance docs for empty_parameter_set_mark according to review comments
2018-01-26 12:01:27 +01:00
Ronny Pfannschmidt
d550c33cd0
s/empty_parameterset/empty_parameter_set_mark
2018-01-26 11:56:24 +01:00
Bruno Oliveira
a58099022a
Merge pull request #3124 from nicoddemus/logging-3013
...
Changes in the logging plugin for 3.4
2018-01-26 08:52:43 -02:00
Ronny Pfannschmidt
8979b2a9d7
document empty_parameterset in customize.rst
2018-01-26 11:26:48 +01:00
Brian Maissy
4285325cb8
Added note that calling pytest.main multiple times from the same process is not recommended because of import caching
2018-01-25 23:07:34 +02:00
feuillemorte
3a004a4507
added rootdir description to customize.rst
2018-01-25 19:46:22 +03:00
Bruno Oliveira
15cbd61159
Change caplog.get_handler(when) to caplog.get_records(when)
...
While updating the docs I noticed that caplog.get_handler() exposes
the underlying Handler object, which I think it is a bit too much
detail at this stage. Update to return the records directly instead.
2018-01-24 19:08:49 -02:00
Bruno Oliveira
2f955e0c99
Update documentation: rewording and move things for better reading flow
2018-01-24 18:42:59 -02:00
Bruno Oliveira
3f5e9ea71e
Fix -o behavior to no longer swallow all remaining options
...
The current behavior was too error-prone because a "-o" option would
swallow all the following non-option parameters:
pytest -o foo=bar path/to/test.py
path/to/test.py would be captured by the -o option, and would fail
because "path/to/test.py" is not in the format "key=value".
2018-01-23 21:19:16 -02:00
Bruno Oliveira
b4e8861aa5
Fix typos
2018-01-23 19:02:32 -02:00
Bruno Oliveira
baa189f5a3
Merge pull request #3131 from soyrice/master
...
Improve readability of Getting Started guide
2018-01-23 17:48:11 -02:00
Raphael Castaneda
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
Brian Maissy
5c0b340a4b
Clarify that warning capturing doesn't change the warning filter by default
2018-01-21 22:43:00 +02:00
Cyrus Maden
0ab57c4139
Typo fix: "handeling" --> "handling"
2018-01-20 11:12:59 -08:00
Bruno Oliveira
27ae270159
Mention in docs that log messages of level WARNING or above are captured
2018-01-20 12:08:51 -02:00
Bruno Oliveira
8f6a5928f7
Add newline before log messages and enable -v output when log_cli is enabled
2018-01-20 12:02:55 -02:00
Bruno Oliveira
6bb739516f
Update logging docs with the new changes in 3.4
...
Ref: #3013
2018-01-20 12:02:54 -02:00
Cyrus Maden
c3d420bf75
Delete .DS_Store
2018-01-19 18:44:46 -08:00
Cyrus Maden
ebb4c47155
Delete .DS_Store
2018-01-19 18:44:33 -08:00
Anders Hovmöller
7ea5a22657
Access captures logs in teardown
2018-01-19 12:42:35 +01:00
Bruno Oliveira
621374679b
Merge pull request #3129 from kimberlythegeek/typo_in_logging_doc
...
Typo in logging doc
2018-01-18 16:40:09 -02:00
Kimberly
e0b63e34fa
fixed typo in logging doc and added fix to changelog
2018-01-18 10:40:18 -07:00
Kate
d8c23fd39b
Fix wrong formatting
2018-01-16 12:36:28 +03:00
Cyrus Maden
f555a3a76c
Update getting started guide
...
Proofread; added intro paragraph under first header to orient new users; fixed grammar errors (switched to active voice, actionable directions, etc) to improve readability
2018-01-15 13:27:10 -08:00
Cyrus Maden
1f4831a23f
Update getting-started.rst
2018-01-15 12:28:21 -08:00
Bruno Oliveira
3181718fe0
Merge pull request #3087 from nicoddemus/deprecation-roadmap
...
Update deprecation/removal docs to point to labels/milestones instead
2018-01-11 11:14:47 -02:00
Bruno Oliveira
2674f352e8
Merge pull request #3091 from nicoddemus/conftest-hooks
...
Document bootstrap and initialization hooks
2018-01-11 11:14:20 -02:00
Per A. Brodtkorb
820ea6d68f
Update Freezing pytest description in simple.rst
...
I have trouble using third party plugins in my frozen program and discovered
that other people have experienced it as well:
https://mail.python.org/pipermail//pytest-dev/2015-June/003015.html
The problem is that the mechanism for plugin discovery used by pytest
(setupttools entry points) doesn't work with frozen executables so pytest
can't find any plugins. The solution seems to be to import the third party
plugins explicitly as shown here:
https://mail.python.org/pipermail//pytest-dev/2015-June/003018.html
This is not mentioned anywhere in the documentaion.
2018-01-10 16:44:26 +01:00
Bruno Oliveira
b68b80aec9
Add new pytest_runtest_logfinish hook
...
Fix #3101
2018-01-09 22:17:39 -02:00
Anthony Sottile
bd1d17e8de
Replace py.std with stdlib imports
2018-01-09 12:44:10 -08:00
Bruno Oliveira
93306f6a5e
Merge remote-tracking branch 'upstream/master' into features
2018-01-09 18:41:00 -02:00
Jon Dufresne
b93aa5e35f
Prefer https://*.readthedocs.io over http://*.rtfd.org
...
- Requests URL using https instead of http
- Avoids unnecessary redirect of *.rtfd.org -> *.readthedocs.io
*.rtfd.org exists as a means for pasting short URLs, which doesn't much
apply for links in documentation.
2018-01-06 08:05:42 -08:00
Bruno Oliveira
cb6b851780
Update deprecation/removal docs to point to labels/milestones instead
...
Using milestones and proper issues are a much saner way to handle these topics
than keeping them in sync in a separate document
2018-01-06 13:48:39 -02:00
Bruno Oliveira
afb8a4e35d
Document bootstrap and initialization hooks
...
Fix #2616
2018-01-06 13:31:38 -02:00
Bruno Oliveira
06a182386b
Merge pull request #3073 from nicoddemus/pytest_runtestloop-docs
...
Add pytest_runtestloop to the docs
2018-01-05 20:35:51 -02:00
Bruno Oliveira
fac07c1b3f
Merge pull request #3076 from pafonta/patch-1
...
[doc] Reword strange sentence on doctest flags
2018-01-05 09:49:54 -02:00