Danielle Jenkins
7a3daac85b
Add docs for setuponly and setupplan options.
2016-06-25 12:21:12 +02:00
Ronny Pfannschmidt
18ef7de96b
merge from master again
2016-06-22 16:03:52 +02:00
HEAD KANGAROO
be1dabd6a9
cache.rst: Fix wrong command used
...
The "Inspecting Cache content" section was showing --cache-clear command,
but should actually be using --cache-show command.
Also; update AUTHORS
2016-06-22 14:04:02 +01:00
Ronny Pfannschmidt
083f64100d
merge master into features
2016-06-22 14:39:33 +02:00
Dave Hunt
ef9dd14963
Introduce pytest command as recommended entry point
...
Fixes #1629
2016-06-21 16:16:57 +02:00
Florian Bruhin
4f2db6c08d
Merge pull request #1616 from palaviv/pytest.raises-message
...
Pytest.raises custom error message
2016-06-20 18:43:12 +02:00
palaviv
f8d4cadc3d
Added versionchanged directives
2016-06-19 23:56:43 +03:00
palaviv
c29130d400
Updated documentation
2016-06-19 23:34:42 +03:00
Bruno Oliveira
72bf11cbe9
Add disabled() method to capsys and capfd
...
Fix #1599
2016-06-19 19:14:36 +02:00
Bruno Oliveira
ed69424917
Remove most content from yieldfixture as it is now deprecated
2016-06-08 21:07:55 -03:00
Bruno Oliveira
fe4f23c1bf
Update docs in prol of using yield statements
2016-06-08 21:07:52 -03:00
Marius Gedminas
3ad5b9de86
Docs: config.option is deprecated
...
https://pytest.org/latest/writing_plugins.html#_pytest.config.Config says config.option is deprecated and one should use config.getoption() instead.
2016-06-02 09:52:56 +03:00
Ronny Pfannschmidt
7305adfdba
fix another copy&paste error in the announcement list
2016-06-01 08:55:44 +02:00
Ronny Pfannschmidt
b5bd4d959d
merge master to features
2016-06-01 08:13:26 +02:00
Ronny Pfannschmidt
5c8b0fb523
fix minor typos
2016-06-01 08:03:22 +02:00
Ronny Pfannschmidt
978bb190a1
add release announcement
2016-05-31 19:06:29 +02:00
Ronny Pfannschmidt
77c28825df
regendoc and comment out a python2.7 example as per #1573
2016-05-31 19:05:36 +02:00
Bruno Oliveira
28efdebfcd
Remove "experimental" status from hookwrapper
2016-05-31 12:17:55 -03:00
Bruno Oliveira
8c1be624a6
Merge pull request #1554 from RonnyPfannschmidt/merge-master
...
Merge master into features
2016-05-24 11:09:33 -03:00
Bruno Oliveira
5ab5a11544
Merge pull request #1565 from tomviner/issue1544/ignore-build-dist-dirs
...
Issue 1544: norecursedirs build & dist dirs
2016-05-23 19:30:20 -03:00
Ronny Pfannschmidt
26b526967e
merge from master again
2016-05-23 22:33:00 +02:00
TomV
d6dfb1a393
issue 1544: norecursedirs build & dist dirs
2016-05-23 21:02:29 +01:00
Adam Chainz
8a39869347
Convert readthedocs link for their .org -> .io migration for hosted projects
...
As per their email ‘Changes to project subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified. One was not modified - `http://media.readthedocs.org/epub/pytest/latest/pytest.epub ` - since it doesn't work on `readthedocs.io`.
2016-05-18 17:12:39 +01:00
Ronny Pfannschmidt
eab762ea99
Merge branch 'master' into merge-master
2016-05-13 19:37:41 +02:00
Ronny Pfannschmidt
c49863aa63
merge next chunk from master and fix changelog linting issue
2016-05-13 19:36:47 +02:00
Ronny Pfannschmidt
01d2ff804b
Merge commit '56156bb119194014129ac08c4a2c370f0b893104' into merge-master
2016-05-13 17:55:02 +02:00
Ronny Pfannschmidt
68f658b6cc
Merge commit '890c2fa555314a67a8d97a1b8ea4881a14be69c4' into merge-master
2016-05-13 17:52:59 +02:00
Ronny Pfannschmidt
4bde70d060
Merge commit 'ec62a3c9e47c3b5b07aa1656815145ffa2882a09' into merge-master
2016-05-13 17:40:14 +02:00
palaviv
53429ed8b8
Added hook to plugin docs and new CHANGELOG record
2016-04-25 18:03:34 +03:00
Ronny Pfannschmidt
52babba33e
Update sprint 2016
2016-04-23 08:56:28 +02:00
Ana Ribeiro
f02f72e651
Update sprint2016.rst
2016-04-23 00:11:44 -03:00
Florian Bruhin
75160547f2
Use a callable __tracebackhide__ for filtering
...
While this leads to slightly more complicated user code for the common
case (checking if the exception is of a given type) it's easier to
implement and more flexible.
2016-04-20 11:09:27 +02:00
Florian Bruhin
b607f6728f
Filter selectively with __tracebackhide__
...
When __tracebackhide__ gets set to an exception type or list/tuple of
exception types, only those exceptions get filtered, while the full
traceback is shown if another exception (e.g. a bug in a assertion
helper) happens.
2016-04-20 10:25:33 +02:00
Florian Bruhin
98430a17f2
doc: Use ascii chars for file tree
...
LaTeX doesn't like those particular unicode chars, so let's avoid them so the
PDF builds easily.
2016-04-13 23:38:58 +02:00
Thomas Güttler
fb45f82840
Hudson -> Jenkins
2016-04-05 14:08:30 +02:00
Omar Kohl
c578226d43
Implement ExceptionInfo.match() to match regexp on str(exception)
...
This implements similar functionality to
unittest.TestCase.assertRegexpMatches()
closes #372
2016-04-03 11:22:44 +02:00
Bruno Oliveira
53d319144d
Mention Pytest::Framework PyPI classifier on docs
2016-03-22 20:42:52 -03:00
Omar Kohl
98c707561c
Document --full-trace option and KeyboardInterrupt
...
fix #513
2016-03-20 20:07:16 +01:00
Omar Kohl
a341dddc74
Replace --fulltrace with --full-trace in doc
...
Since 'py.test --help' shows --full-trace as an option (and not --fulltrace)
even though both forms are accepted I assume --full-trace is the preferred form
and should therefore be used in the documentation.
2016-03-20 19:51:23 +01:00
Omar Kohl
16e49d96d1
Replace --traceconfig with --trace-config in doc
...
Since 'py.test --help' shows --trace-config as an option (and not
--traceconfig) even though both forms are accepted I assume --trace-config is
the preferred form and should therefore be used in the documentation.
2016-03-20 17:12:50 +01:00
Omar Kohl
ec62a3c9e4
Fix minor typo in 'writing plugins' doc
2016-03-20 17:01:04 +01:00
Omar Kohl
f70ed83479
Fix 'test grouping by fixture instances' doc example
...
The fin() function was never added as a finalizer and did therefore not print
anything in the captured output.
In general improve the output by making it more verbose/explicit and extend the
final explanation.
2016-03-20 15:53:32 +01:00
Omar Kohl
dff914cadd
Add short explanation and link to yield fixtures in fixture doc
2016-03-20 14:10:20 +01:00
Omar Kohl
3135463573
No longer refer to the 'yield fixture mechanism' as experimental (doc)
...
The feature has been there for a long time and in the 2.7.1 release notes it
says:
> fixed docs to remove the notion that yield-fixtures are experimental.
Therefore this one place was probably just missed.
2016-03-20 13:54:56 +01:00
Omar Kohl
266b53dfc2
Add Jenkins xUnit Plugin link to doc
2016-03-20 13:39:10 +01:00
Omar Kohl
bdb3581a52
Fix minor mistake in test discovery doc
...
The example output shown was for Python3 not Python2.
Add Python2 output and rephrase for clarity.
2016-03-20 13:24:43 +01:00
Omar Kohl
27b62740e3
Fix minor mistake in usage doc (pkg instead of pypkg)
2016-03-20 12:47:17 +01:00
Bruno Oliveira
5fcce8a7d6
Merge branch 'master' into merge-master-into-features
2016-03-18 18:26:56 -03:00
nicoddemus
168daaa71f
Regendocs
2016-03-17 17:13:41 -04:00
nicoddemus
43fc1b47c0
Add announce doc
2016-03-17 17:10:02 -04:00