Bruno Oliveira
61b8ea8656
Add doctest_encoding and junit_suite_name ini options
2018-03-12 19:27:17 -03: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
fac8208e8f
Preparing release version 3.4.2
2018-03-04 19:37:49 +00:00
Maik Figura
30453057e8
Add logging plugin to plugins list
2018-03-03 23:50:13 +01: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
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
Bruno Oliveira
b319375592
Preparing release version 3.4.1
2018-02-20 01:43:59 +00: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
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