Bruno Oliveira
4c148bd0ef
Fix imports in failure_demo.py
2018-01-30 19:44:06 +00: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
Anthony Sottile
bd1d17e8de
Replace py.std with stdlib imports
2018-01-09 12:44:10 -08:00
Bruno Oliveira
bd2d0d2c3c
Preparing release version 3.3.2
2017-12-25 20:38:27 +00:00
Bruno Oliveira
aa9a02ec44
Preparing release version 3.3.0
2017-11-23 20:25:36 +00:00
Bruno Oliveira
e0d236c031
Remove gendoc normalization for '=' and '_' headers
...
Using the default for non-atty terminals (80) so the new
progress indicator aligns correctly.
2017-11-23 15:33:41 +00:00
Bruno Oliveira
3b3bf9f53d
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2017-11-14 18:42:29 -02:00
Bruno Oliveira
a0ad9e31da
Preparing release version 3.2.4
2017-11-13 20:01:17 +00:00
Bruno Oliveira
f3a119c06a
Merge upstream/master into features
2017-11-03 16:37:18 -02:00
Ronny Pfannschmidt
d00e2da6e9
Merge pull request #2881 from dawran6/2658
...
Document pytest.param
2017-10-30 09:36:33 +01:00
Daw-Ran Liou
af5e9238c8
Document pytest.param
...
Append example for pytest.param in the example/parametrize document.
2017-10-28 14:25:09 -07:00
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
6821d36ca5
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2017-10-24 19:57:14 -02:00
Семён Марьясин
cfdebb3ba4
Fix typo in parametrization doc
2017-10-16 01:55:30 +03:00
hugovk
ef732fc51d
Remove code for unsupported Python versions
2017-10-10 08:54:56 +03:00
Xuan Luong
15222ceca2
Fix typo in example of passing a callable to markers
2017-09-09 18:22:23 -04: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
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
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
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
f770f16294
Replace deprecated "config.option.<name>" usages from docs
2017-07-27 19:18:44 -03:00
Bruno Oliveira
73c6122f35
Merge remote-tracking branch 'upstream/master' into features
2017-07-24 21:12:51 -03:00
Bruno Oliveira
3d24485cae
Clarify PYTHONPATH changes and ``rootdir`` roles
...
- Also minor adjustments in the docs (wording, formatting, links, etc).
Fix #2589
2017-07-21 07:28:11 -03:00
Bruno Oliveira
2d4f1f022e
Introduce PYTEST_CURRENT_TEST environment variable
...
Fix #2583
2017-07-19 10:01:50 -03:00
Bruno Oliveira
221f42c5ce
Change --strict help message to clarify it deals with unregistered markers
...
Fix #2444
2017-07-04 20:14:57 -03:00
Bruno Oliveira
b63f6770a1
Preparing release version 3.1.3
2017-07-03 23:29:13 +00:00
Florian Bruhin
7d6bde2496
Add docs for id= with pytest.param
2017-05-23 07:57:34 +02:00
Bruno Oliveira
9b48613baa
Preparing release version 3.1.0
2017-05-19 18:12:59 -04:00
Bruno Oliveira
36cf89a2de
Merge remote-tracking branch 'upstream/master' into features
2017-05-19 18:01:56 -04:00
Lev Maximov
598aefc686
small fix in an example from the docs
2017-05-18 21:18:09 +07:00
Ronny Pfannschmidt
03753ca201
intermediate state after attempt with the plain env, DONT MERGE
2017-05-13 13:25:52 +02:00
Ronny Pfannschmidt
d1e44d16e7
regenerate docs from the pytest env
2017-05-12 22:51:20 +02:00
Ronny Pfannschmidt
f1c4e2c032
regendoc: reduce version noise by replacing minor/patch with placeholders
2017-05-12 22:17:40 +02:00
Bruno Oliveira
6c9011c12f
Merge branch 'master' into merge-master-into-features-post-3.0.7
2017-03-14 18:10:23 -03:00
Bruno Oliveira
d58780f9a6
Update regendoc
2017-03-13 18:41:20 -04:00
Michal Wajszczuk
fb0b90646e
New-style classes implemented for python 2.7 - #2147
2017-02-16 20:28:17 +01:00
Ronny Pfannschmidt
449b88c640
rerun regendoc with correct install
2017-01-22 18:44:30 +01:00
Ronny Pfannschmidt
01eaf9db51
fix the xfail docstring typo at the actual docstring + regendoc
2017-01-22 18:44:30 +01:00
Ronny Pfannschmidt
4d0c635252
regendoc
2017-01-22 18:44:30 +01:00
Bruno Oliveira
61fa91f3d0
Fix marker example on "linux" platform
...
I cheated a little and updated the example output by hand. 😁
Fix #2200
2017-01-17 21:09:04 -02:00
Jakub Wilk
03a7a2cd3e
Fix typos
2016-12-31 19:01:15 +01:00
Bruno Oliveira
f592c7746a
Regendocs for 3.0.5
2016-12-05 07:22:06 -05:00
Bruno Oliveira
ab274299fe
Regen doc for 3.0.4
2016-11-09 16:44:58 -05:00
Bruno Oliveira
41d3b3f4f9
Regendoc for version 3.0.3
2016-09-28 16:36:15 -04:00
Bruno Oliveira
d512e7f26b
Run regendoc for 3.0.2 release
2016-08-31 20:32:05 -04:00
Bruno Oliveira
f985f47a02
Fix reportingdemo call to pytest
2016-08-31 20:30:06 -04:00
Bruno Oliveira
519f02b014
docs warnings as errors and initial page similar to README
...
* Changed "index" to be more similar to the README (#1708 ).
* Fixes numerous issues like missing documents, syntax errors, etc (#1829 , #432 ).
* Mention all docs in "contents.rst" so it's easier for users to locate (#1112 ).
* Add doc generation and checking to Travis and AppVeyor, to avoid re-introducing errors.
Fixes #432 , Fixes #1112 , Fixes #1708 , Fixes #1829
2016-08-26 17:47:18 -03:00
Bruno Oliveira
49fc4e5e4c
Changes for 3.0.1 release
2016-08-23 18:15:43 -04:00
Adam Chainz
1673667232
Delete unreferenced setup.cfg from docs
...
Noticed it's not using the new `[tool:pytest]` header as changed in #567 , can't find any reference to it or `testfilepatterns`. It was added in b1e4301457
6 years ago, there don't seem to have ever been references to it.
2016-08-23 16:08:24 +01:00
Bruno Oliveira
9ce30e0085
Run regendoc for 3.0 release
2016-08-18 08:27:16 -04:00
Bruno Oliveira
ab86dea529
Support [tool:pytest] in setup.cfg files
...
Also deprecate [pytest] usage in setup.cfg files
Fix #567
2016-08-17 08:19:38 -03:00
Bruno Oliveira
802755ceed
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2016-08-06 17:58:17 -03:00
Bruno Oliveira
8b8c698f1a
Add more interpreter versions to multipython example
2016-08-03 16:48:49 -04:00
Bruno Oliveira
d28801d794
Make parametrize example deterministic
2016-08-03 16:48:11 -04:00
Bruno Oliveira
701d5fc727
Regendoc after more fixes on features branch
2016-08-03 16:31:44 -04:00
Bruno Oliveira
21a90c8c50
Run regendoc again
2016-08-01 20:12:00 -04:00
Bruno Oliveira
eed21e06db
Sort yml items to get same results for regendoc runs
2016-08-01 20:09:35 -04:00
Bruno Oliveira
946466abf4
Run regen-docs for pytest 3.0
2016-08-01 20:09:35 -04:00
Bruno Oliveira
ae9d3bf886
Freeze docs: PyInstaller hook and wording
...
As discussed during the review, suggest in general
to use PyInstaller and just mention pytest.freeze_includes()
in less detail on how to actually use it, because it varies
from tool to tool.
2016-07-27 09:15:40 -03:00
Bruno Oliveira
ed36d627e4
Use PyInstaller for freeze test env
...
cx_freeze doesn't seem to be very well supported in Python 3.5.
Using pyinstaller instead and rename environment to "freeze" which
is a more generic term for freezing python code into standalone
executables.
Fix #1769
2016-07-26 22:02:37 -03:00
Roberto Polli
ab6aef1d1f
feature: default behavior now is to ignore duplicate paths specified from the command line. Use --keep-duplicates to retain duplicate paths.
2016-07-25 12:41:58 +02: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
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
b5bd4d959d
merge master to features
2016-06-01 08:13:26 +02:00
Ronny Pfannschmidt
77c28825df
regendoc and comment out a python2.7 example as per #1573
2016-05-31 19:05:36 +02:00
Ronny Pfannschmidt
26b526967e
merge from master again
2016-05-23 22:33:00 +02: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
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
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
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
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
nicoddemus
168daaa71f
Regendocs
2016-03-17 17:13:41 -04:00
nicoddemus
f82c03833f
Regendocs
2016-02-29 15:52:56 -05:00
Matt Williams
fc4e240596
Correct JUnit test invocation example
2016-02-23 10:05:51 +00:00
Ronny Pfannschmidt
de1a9f574c
merge from master
2016-02-05 00:10:28 +01:00
Bruno Oliveira
a912d3745b
Moved py.code code over to py.test
...
Fix #103
2016-01-25 23:18:04 -02:00
Ronny Pfannschmidt
64d7d00218
Prepare 2.8.7 release
2016-01-24 17:59:48 +01:00
Bruno Oliveira
b8784c28c9
Merge branch 'master' into 'features'
2016-01-08 21:51:34 -02:00
Kartik Singhal
26c835eea5
Correct platform name osx -> darwin
2016-01-05 18:43:03 -05:00
Ronny Pfannschmidt
6c170201d6
Merge branch 'master' into features
2016-01-02 23:56:01 +01:00
Rick van Hattem
87ff7ee232
Updated out of date link
2015-12-27 02:35:02 +01:00
Bruno Oliveira
ec597e81a4
Remove references to python pre-2.6 from docs
2015-12-16 16:16:22 -02:00
Bruno Oliveira
4263b8b407
Restore regen-doc result
2015-12-11 22:34:16 -02:00
Florian Bruhin
7d150c20cf
Regenerate 2.8.5 docs.
2015-12-11 22:28:23 -02:00
Ronny Pfannschmidt
b920f09a95
doc regen for release 2.8.4
2015-12-06 16:14:23 +01:00
Jeff Widman
6be6798cdf
Fix spelling: explicitely --> explicitly
2015-12-01 01:41:47 -08:00
Tim Chan
a8d7e513f4
Fixed docs
2015-11-27 22:46:45 -08:00
Ronny Pfannschmidt
063f90f0d2
run regendoc
2015-11-18 17:47:17 +01:00
Raphael Pierzina
d667259e31
Change pytest ignore invocation as suggested by @nicoddemus
2015-11-04 23:45:29 +01:00
Raphael Pierzina
a2d07bfa93
Add pytest invocation along with result
2015-11-04 15:34:18 +01:00
Raphael Pierzina
586fdbcbbd
Add example tests directory structure
2015-11-04 15:00:37 +01:00
Raphael Pierzina
04079f9ae5
Start doc section on ``--ignore`` in pytestcollection.rst
2015-11-04 14:49:02 +01:00
Florian Bruhin
42937d4bb6
Prepare 2.8.2 release.
2015-10-06 21:06:25 +02:00
Raphael Pierzina
4829eac1e1
Use a variable for the skipif marker as suggested by @nicoddemus
2015-09-30 21:53:34 +02:00
Raphael Pierzina
a10da0e540
Implement skipif marker for slow test based on pytest.config
2015-09-30 19:41:47 +02:00
Raphael Pierzina
7ac8a88a05
Remove pytest_runtest_setup from conftest.py
2015-09-30 19:25:57 +02:00
holger krekel
95245b935c
- fix a flaky test on py35-xdist by calling
...
importlib.invalidate_caches()
- bump version to 2.8.1
- regen docs
- amend changelog, authors
2015-09-29 13:10:59 +02:00
Florian Bruhin
448ec8b740
Mark sources correctly in parametrize.rst.
...
Sphinx didn't pick this up as monospace text.
2015-09-25 18:43:33 +02:00
Florian Bruhin
272f987b0c
Fix test_time in parametrize doc.
...
The source was indented with a mixture of tabs and spaces, causing syntax
errors when executed.
2015-09-25 18:42:06 +02:00
Ronny Pfannschmidt
c3588b545f
generate docs on python3.4
2015-09-22 16:52:35 +02:00
Ronny Pfannschmidt
5ff75a41ea
fix erroring doc example
2015-09-22 15:05:56 +02:00
Ronny Pfannschmidt
89badfec0c
update regendoc, substitutes PYTHON_PREFIX
2015-09-22 14:48:04 +02:00
Ronny Pfannschmidt
662d755974
fix documentation gegeneration, kill Makefile
2015-09-22 14:22:37 +02:00
elizabeth
e67d66a5d4
Merge branch 'pytest-dev'
...
# Conflicts:
# AUTHORS
2015-08-24 22:55:11 +03:00
Bruno Oliveira
d49fb8a2d5
Change cx_freeze example to not use regendoc
2015-08-08 19:17:50 -03:00
Bruno Oliveira
e8583f01a0
Replaced __multicall__ examples in docs by hookwrapper
...
Fix #929
2015-08-08 19:07:27 -03:00
Abhijeet Kasurde
e79413acc4
Updated documentation from txt to rst
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2015-08-04 16:41:02 +05:30
elizabeth
f7bacd169e
Update docs
2015-08-04 00:48:41 +03:00
Maarten
df8a83b2a1
changed contents -> content but still #753 did not solved, might be issues with regendoc
2015-07-25 17:48:12 +02:00
Ronny Pfannschmidt
43d27ec7ed
use regendoc normalization and regenerate docs
...
--HG--
branch : regendoc-upgrade
2015-06-06 23:30:49 +02:00
holger krekel
a2bb2ff164
port typo fix
2015-06-03 23:43:12 +02:00
holger krekel
b5fd3cfb84
fix typo
...
--HG--
branch : pytest-2.7
2015-06-03 23:42:38 +02:00
Floris Bruynooghe
d299f0d99f
Merge changes from 2.7.1 release
...
This is mostly doc examples regeneration, other changes are:
- Add 2.7.1 tag to .hgtags
- Update changelog to use real versions
- Update HOWTORELEASE.rst
- Fix rst in doc/en/adopt.txt
- Fix CHANGELOG and release-2.7.0 rst formatting
2015-05-19 21:43:50 +01:00
Floris Bruynooghe
738c8762df
Regenerate docs using 2.7.1
...
--HG--
branch : pytest-2.7
2015-05-19 01:54:24 +01:00
holger krekel
bddc88f09e
adapt to pluggy naming, rename pytest.hookspec_opts to pytest.hookspec,s ame with hookimpl_opts
...
--HG--
branch : pluggy1
2015-05-06 10:08:08 +02:00
holger krekel
ef7f627573
merging pytest-2.7
2015-05-04 14:27:09 +02:00
Eric Siegerman
5a06330f61
Doc typo
...
--HG--
branch : pytest-2.7
2015-05-01 11:18:17 -04:00
holger krekel
a8afba054a
- refine lsof checking
...
- make runpytest() create an inline testing process instead of
a subprocess one
--HG--
branch : testrefactor
2015-04-28 11:54:46 +02:00
holger krekel
d2a5c7f99b
add documented hookimpl_opts and hookspec_opts decorators
...
so that one doesn't have to use pytest.mark or function-attribute setting anymore
--HG--
branch : more_plugin
2015-04-25 11:29:11 +02:00
holger krekel
d2a8866bce
bump verrsion to python2.7, fix a too precise test for windows, regen docs
2015-03-26 09:34:10 +01:00
Ronny Pfannschmidt
3d0b756877
merge in the 2.6 maintenance branch
2015-02-22 11:45:07 +01:00
holger krekel
e0251ecb41
regen docs
...
--HG--
branch : pytest-2.6
2014-10-24 15:08:43 +02:00
Floris Bruynooghe
8d19ccb56f
Merged in pfctdayelise/pytest/issue351 (pull request #161 )
...
Fixes issue351: Add ability to specify parametrize ids as a
callable, to generate custom test ids. + tests, docs
Hg branch merge
2014-10-22 23:18:01 +01:00
Bruno Oliveira
b928928942
added support for glob-style patterns to python_classes and python_functions config options
...
fixes #600
--HG--
branch : python-classes-glob
2014-10-16 19:27:10 -03:00
TomV
4cadc600d5
fix issue552: note about marking single callables
2014-10-12 19:07:03 +01:00
Floris Bruynooghe
89de87dce1
Document the ids keyword for fixture parametrisation
...
--HG--
branch : issue351
2014-10-08 00:43:27 +01:00
holger krekel
2eef674615
regen and fix some docs (tox -e regen)
...
bump versions, depend on already released py-1.4.25
2014-09-24 14:46:56 +02:00
holger krekel
79d2edcbff
Merged in flub/pytest (pull request #207 )
...
Show both user assertion msg as explanation (issue549)
2014-09-22 19:16:10 +02:00
holger krekel
6aa5611ae5
fix issue584: fix py3 syntax errors for example/special.txt.
...
Thanks Bruno Oliveira.
2014-09-15 15:04:09 +02:00
holger krekel
2a504a5bcd
regen docs for 2.6.2
2014-09-05 13:55:00 +02:00
holger krekel
745737e337
strike python2.5 from test code cc @flub
2014-09-05 09:50:40 +02:00
Floris Bruynooghe
7760cf1881
Fix doctest tox run
...
The new failures in the failure demo apparently affect the
doctests tox run.
2014-08-23 19:01:26 +02:00
Floris Bruynooghe
37bd1e03cb
Show user assertion messages and instrospection together
...
User provided messages, or any valid expression given as second
argument to the assert statement, are now shown in addition to the
py.test introspection details. Formerly any user provided message
would entirely replace the introspection details.
Fixes issue549.
2014-08-23 18:14:25 +02:00
Bruno Oliveira
ccd67733fb
standard lib modules no longer required in freeze_includes() and updated docs
...
--HG--
branch : cx_freeze-support
2014-08-11 20:20:41 -03:00
Bruno Oliveira
5873ca5146
Merging with default
...
--HG--
branch : cx_freeze-support
2014-08-11 20:07:11 -03:00
holger krekel
e5eaf02e19
finalize pytest-2.6.1 release, regen docs
2014-08-07 21:41:51 +02:00
Bruno Oliveira
3c649cf91d
guarding scripts with __main__ and doc changes
...
tox-flakes environment tries to import the modules for
checking, and that may fail because of its dependencies
--HG--
branch : cx_freeze-support
2014-07-30 22:28:03 -03:00
Bruno Oliveira
b7b96b24d8
Docs about cx_freeze support and minor adjustments
...
--HG--
branch : cx_freeze-support
2014-07-30 21:50:00 -03:00
holger krekel
7c701948d5
Merged in nicoddemus/pytest/cx_freeze-docs (pull request #188 )
...
Documentation example on how to integrate pytest and cx_freeze
2014-07-29 12:43:04 +02:00
Bruno Oliveira
899b804ec1
Improved the text a little
...
--HG--
branch : cx_freeze-docs
2014-07-28 22:46:57 -03:00
Bruno Oliveira
66bd4e485a
Adding blurb about using pytest runner and cx_freeze
...
--HG--
branch : cx_freeze-docs
2014-07-28 22:40:23 -03:00
david@mcbf.net
d08c4ce0ad
Tiny example update for clarification
...
--HG--
branch : xfail-cause
2014-07-26 18:24:55 +02:00
david@mcbf.net
91e2b23258
Update documentation
...
--HG--
branch : xfail-cause
2014-07-26 18:10:32 +02:00
holger krekel
98de64badc
regen docs for pytest-2.6
2014-07-17 16:55:24 +02:00
Brianna Laugher
4e35c00ab0
issue351: Add ability to specify parametrize ids as a callable, to generate custom test ids. + tests, docs
...
--HG--
branch : issue351
2014-04-17 15:08:49 -04:00
Andy Freeland
1728798e81
Interal link to node ID explanation
...
--HG--
branch : issue499
2014-04-14 14:24:13 -04:00
Andy Freeland
53a8d20d88
fix issue499: document selecting tests by node ID
...
--HG--
branch : issue499
2014-04-14 12:27:55 -04:00
holger krekel
25ab906b8b
add release announcement, bump version to 2.5.2,
...
add links to plugins index, regenerate doc examples.
2014-01-29 13:47:11 +01:00
Jurko Gospodnetić
9fb2079458
replace py.test module references with pytest
...
The only remaining 'py.test' references are:
* those referring to the 'py.test' executable
* those in code explicitly testing py.test/pytest module compatibility
* those in old CHANGES documentation
* those in documentation generated based on external data
* those in seemingly unfinished & unmaintained Japanese documentation
Minor stylistic changes and typo corrections made to documentation next to
several applied py.test --> pytest content changes.
2014-01-18 12:31:33 +01:00
Philippe Muller
e6ae68c0cc
Fix minor typo in special.txt
2013-12-20 14:01:17 +01:00
holger krekel
6b2040f98d
regen docs for 2.5.1, add links for coverage reports
2013-12-17 08:30:35 +01:00
holger krekel
bfa53811d3
regen docs and bump version to 2.5.0
2013-12-11 12:20:19 +01:00
holger krekel
94031f9cef
apply doc changes from just backed out changeset
2013-11-22 13:53:43 +01:00
holger krekel
a6783cd6f3
Backed out changeset 73b1eed8ce09
2013-11-22 13:52:53 +01:00
holger krekel
438d85b5ad
clarify that python_functions does not apply to unittest.TestCase
...
classes and their methods. Addresses issue284.
2013-11-22 13:44:56 +01:00
holger krekel
08f3a0791d
fix issue357 - special case "-k" expressions to allow for
...
filtering with simple strings that are not valid python expressions.
Examples: "-k 1.3" matches all tests parametrized with 1.3.
"-k None" filters all tests that have "None" in their name
and conversely "-k 'not None'".
Previously these examples would raise syntax errors.
Also add a note to the docs about what is allowed.
2013-11-21 15:25:16 +01:00
holger krekel
0780f2573f
bump version to 2.4.2, regen docs
2013-10-03 19:09:18 +02:00
holger krekel
2248a31a44
more fixes regarding marking, in particular plugins should use add_marker/get_marker now.
2013-10-03 15:43:56 +02:00
holger krekel
8f24e10571
add changelog entry for anthon's hynek-fication of options,
...
and change the docs and tests to use the new style.
2013-08-01 17:32:19 +02:00
Brianna Laugher
d8bc40271a
issue #308
...
+ docs
2013-05-21 11:12:45 +10:00
holger krekel
e6e86fa462
fix issue307 - use yaml.safe_load instead of yaml.load, thanks Mark Eichin.
2013-05-16 09:59:48 +02:00
holger krekel
8c7ae7f7a5
release 2.3.5 packaging
2013-04-30 12:26:30 +02:00
Floris Bruynooghe
f31dc7a8b7
Attempt to improve detailed failure reporting
...
* If --verbose is used do not truncate.
* Add a special dict comparison instead of diffing
pprint output.
2013-03-28 01:39:01 +00:00
holger krekel
97f9bc2e46
fix/enhance example
2012-12-20 15:57:07 +01:00
holger krekel
d0bf65e6c8
adding an example on how to do interact with the list of collected tests once before any tests are run
2012-12-16 11:28:17 +01:00
holger krekel
b5955c5979
fix version number, final fixes
2012-11-20 14:01:31 +01:00
holger krekel
765b053984
bump version, add announcement, regen docs
2012-11-20 13:42:00 +01:00
holger krekel
af89a9667f
add example for accessing test result information from fixture
2012-11-14 09:39:21 +01:00
holger krekel
d9ce7f143e
switch to pushing docs to dev, amend markers example which needs the dev candidate
2012-11-09 12:40:48 +01:00
holger krekel
c790490387
add an example for postprocessing a test failure
2012-11-08 23:36:16 +01:00
holger krekel
ff0c75aa34
- add a Package/dir level setup example
...
- make tox.ini's doc/regen use pytest release instead of dev version
2012-11-07 11:11:40 +01:00
holger krekel
65d6ebe7d1
bump to 2.3.3, add release announce
2012-11-06 14:41:10 +01:00
holger krekel
33cd414420
fix issue127 improve pytest_addoption docs, add new config.getoption(name) method for consistency.
2012-11-06 14:09:12 +01:00
holger krekel
fb173a97a8
extended - fix issue214 - ignore attribute-access errors with objects in test modules that can blow up (for example flask's request object)
2012-10-31 17:00:55 +01:00
holger krekel
6ad16936bb
bump version to 2.3.2, regen docs and changelog
2012-10-25 13:48:31 +02:00
holger krekel
289ee1c6ea
prepare a 2.3.1
2012-10-20 14:05:33 +02:00
holger krekel
9ed127b5da
fix issue203 - fixture functions with a scope=function should have a "self" that points to the actual instance with which the test functions run.
2012-10-20 09:59:20 +02:00
holger krekel
525b08bc5c
some doc refinements
2012-10-20 09:52:03 +02:00
holger krekel
a5ce481022
final touches
2012-10-19 11:12:13 +02:00
holger krekel
dca5fa2241
fixing links for 2.3 release, and fixing a windows32 failure on py3
2012-10-19 10:53:28 +02:00
holger krekel
7c8755cc89
refine docs, fix a marker/keywords bit, and add a test that request.keywords points to node.keywords.
2012-10-18 15:06:55 +02:00
holger krekel
7d747a1cde
remove .markers attribute which was added in development and after 2.2.4
...
so never released. Rather extend keywords to also exist on nodes. Assigning
to node.keywords will make the value appear on all subchildren's
keywords.
2012-10-18 13:52:32 +02:00
holger krekel
dbaedbacde
many doc improvements and fixes
2012-10-18 12:24:50 +02:00
holger krekel
fb3af07ef4
try to move docs to a more releasable state, also refine
...
release announce and a few coding bits
2012-10-09 14:35:17 +02:00
holger krekel
30b10a6950
- fix doc references, refactor fixtures docs to more quickly start
...
with examples instead of big text blobgs
- also silence -q and -qq reporting some more
2012-10-07 13:06:17 +02:00
holger krekel
bb07ba7807
rename a number of internal and externally visible variables to use the fixture name
...
rather than funcargs. Introduce .funcargnames compatibility attribute for backward compat.
2012-10-05 14:24:44 +02:00
holger krekel
9251e747af
rename pytest.factory usages into pytest.fixture ones
2012-10-05 10:21:35 +02:00
holger krekel
738f14a48a
improve the parametrization scenario example to sort by id, rather than by file-order, see also: http://stackoverflow.com/questions/12521924/pytest-running-scenarios-in-the-correct-order-in-the-class
2012-09-21 09:39:54 +02:00