Raphael Pierzina
25aed0dca8
Add a license section to the docs toc
2016-02-16 19:42:16 +00:00
TomV
3dd50d039d
Fix rst syntax
2016-02-15 23:07:31 +00:00
Bruno Oliveira
7823838e69
Add strict option to xfail, making tests which XPASS to actually fail the suite
...
Fix #1355
2016-02-14 20:52:27 -02:00
holger krekel
fa601de5c4
update participants
2016-02-13 16:55:16 +01:00
holger krekel
8284d14ec4
re-introduce topics
2016-02-13 16:54:06 +01:00
holger krekel
238dcd8bae
some layout refinements
2016-02-13 14:30:10 +01:00
holger krekel
b95ff7104c
Merge branch 'master' of https://github.com/pytest-dev/pytest
...
removed doc/en/announce/sprint-funding-2016.txt
because /doc/en/announnce/sprint2016.txt is the one which
we published.
2016-02-13 14:18:05 +01:00
Ronny Pfannschmidt
dc7f76c276
adapt the header text based on a discussion with bruno
2016-02-13 13:40:59 +01:00
Ronny Pfannschmidt
20bd56f4b2
give the header contrast
2016-02-13 13:24:28 +01:00
Ronny Pfannschmidt
48b62e4d89
add links for the funding campaign in the header and sidebar
2016-02-12 21:14:06 +01:00
holger krekel
48109b0e60
remove superflous file
2016-02-09 15:45:51 +01:00
holger krekel
fdce2306a7
fix names once again
2016-02-09 15:44:32 +01:00
Florian Bruhin
f00577f7c4
Also fix Brianna's name.
2016-02-09 15:37:45 +01:00
Florian Bruhin
569dbeb087
Fix names properly.
2016-02-09 15:36:59 +01:00
holger krekel
05aad5c381
fix brianna's name once again
2016-02-05 14:12:35 +01:00
holger krekel
1e0088a949
fix EUR->USD
2016-02-05 14:11:30 +01:00
holger krekel
ba3b29e831
add a link to lieve indiegogo campaign in the pytest sprint page
2016-02-05 14:04:32 +01:00
holger krekel
6218e20e88
- preliminary sprint page, not yet linked through the header
...
- also removed plugins_index call from tox.ini "doc" env because it's not there
2016-02-05 11:34:40 +01:00
Ronny Pfannschmidt
7b2956e10b
merge latest master into features as well
2016-02-05 00:13:48 +01:00
Ronny Pfannschmidt
de1a9f574c
merge from master
2016-02-05 00:10:28 +01:00
holger krekel
c0024a723d
fixed name
2016-01-30 19:12:41 +01:00
holger krekel
545bf0d5a1
a few refinements
2016-01-29 15:43:15 +01:00
holger krekel
70b5d5aee9
sprint funding draft
2016-01-29 14:52:07 +01:00
Bruno Oliveira
74a68b5ec6
Add CHANGELOG and docs for #1345
2016-01-27 19:57:11 -02:00
Bruno Oliveira
a912d3745b
Moved py.code code over to py.test
...
Fix #103
2016-01-25 23:18:04 -02:00
Ronny Pfannschmidt
3315b3a12f
finalize changelog for 2.8.7
2016-01-24 23:23:15 +01:00
Ronny Pfannschmidt
64d7d00218
Prepare 2.8.7 release
2016-01-24 17:59:48 +01:00
Bruno Oliveira
199fcf93d4
Merge branch 'master' into 'features'
2016-01-22 18:32:45 -02:00
Bruno Oliveira
82d00efa8d
2.8.6 release: version, CHANGELOG
...
Remove note about expected failing envs in tox, as tox now supports
skipping certain environments based on the platform.
2016-01-21 19:17:53 -02:00
Loïc Estève
99072ea8c9
Fix practise -> practice typo in documentation
2016-01-20 16:35:27 +01:00
Bruno Oliveira
0caee1a673
Add a few missing hooks to the docs
2016-01-18 19:27:35 -02:00
Jeff Widman
ee75ecbda0
Change `input` to `test_input` in docs for clarity
...
Using `input` is confusing because it's also the name of a Python built-in function. So we use `test_input` instead. Fix #1321
2016-01-12 17:01:34 -08:00
Manu Phatak
5b29f579c5
update docs plugin.rst typo
2016-01-11 00:11:46 -06: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
Bruno Oliveira
02dd6df6e6
Changelog now in rst format (2.9.0 and onward) and add rst-lint check
...
Fix #1274
2016-01-03 23:09:24 -02:00
Ronny Pfannschmidt
6c170201d6
Merge branch 'master' into features
2016-01-02 23:56:01 +01:00
Ronny Pfannschmidt
bf4de4bd68
Merge pull request #1294 from nicoddemus/doctest-bytes-literals
...
Doctest bytes literals
2016-01-01 18:18:08 +01:00
Bruno Oliveira
1bdf71730a
Complement #1255 by adding tests and docs
...
Fix #1242
2015-12-30 18:24:59 -02:00
Bruno Oliveira
5a5b732fe1
Add docs for ALLOW_BYTES doctest option
...
Fix #1287
2015-12-29 21:05:11 -02:00
Rick van Hattem
87ff7ee232
Updated out of date link
2015-12-27 02:35:02 +01:00
Ronny Pfannschmidt
1a87bb2416
Merge pull request #1280 from nicoddemus/del-index-from-overview
...
Remove "index" entry from overview.rst
2015-12-25 07:33:15 +01:00
Bruno Oliveira
319f6310f8
Remove "index" entry from overview.rst
...
"index" is already displayed in the main docs, repeating it here breaks the reading flow
2015-12-24 16:08:43 -02:00
Peter Demin
8180165229
doc typo
2015-12-24 08:56:54 -05:00
Bruno Oliveira
ec597e81a4
Remove references to python pre-2.6 from docs
2015-12-16 16:16:22 -02:00
Bruno Oliveira
6ac31088c5
Merge branch 'master' into merge-master-into-features
2015-12-11 23:13:50 -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
Bruno Oliveira
a124163425
Prepare for 2.8.5: bump version, CHANGELOG, announce
2015-12-11 19:20:07 -02:00
Bruno Oliveira
86b6ce5042
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2015-12-10 19:41:14 -02:00
Bruno Oliveira
139c97930b
Remove plugins_index from the docs
...
Fix #1229
2015-12-10 19:00:01 -02:00
Buck Golemon
eabf2f9091
Merge branch 'master' into features
...
Conflicts:
AUTHORS
_pytest/__init__.py
_pytest/hookspec.py
_pytest/recwarn.py
testing/test_recwarn.py
2015-12-07 14:28:59 -08:00
Ronny Pfannschmidt
b9908cc036
Merge pull request #1228 from pytest-dev/pytest-2.8.4
...
finish the release process of pytest 2.8.4
2015-12-06 20:32:52 +01:00
Ronny Pfannschmidt
8c17c7cd12
correct copy&paste error in the release announcement version number
2015-12-06 17:44:08 +01:00
Ronny Pfannschmidt
b7459b8a64
finish release announcement
2015-12-06 16:46:44 +01:00
Ronny Pfannschmidt
b920f09a95
doc regen for release 2.8.4
2015-12-06 16:14:23 +01:00
Ronny Pfannschmidt
a4a12b8356
Merge pull request #1227 from nicoddemus/warn-deprecated-call
...
Add a note about how DeprecationWarning and PendingDeprecationWarning are treated differently
2015-12-06 10:52:58 +01:00
Bruno Oliveira
b48a02fdb1
Add a note about how DeprecationWarning and PendingDeprecationWarning are treated differently
...
Fix #1026
2015-12-05 13:53:58 -02:00
Bruno Oliveira
382efc6363
Fix same inconsistency in next example
2015-12-05 00:43:06 -02:00
Bruno Oliveira
1bed514eb6
Fix inconsistency in skipif example
...
Fix #1224
2015-12-05 00:35:31 -02:00
Bruno Oliveira
41f19796e8
Merge pull request #1212 from nicoddemus/goodpractices
...
Goodpractises docs reorganization/review
2015-12-05 00:27:28 -02:00
Jeff Widman
61934ae82d
Fix typo: previosuly --> previously
2015-12-03 11:56:18 -08:00
Bruno Oliveira
8c74bb0d25
Improve description on how pytest starts test collection in goodpractises
2015-12-03 01:01:34 -02:00
Bruno Oliveira
bb4771cedf
Remove promise about documenting how to create a zipped pytest
2015-12-03 00:13:16 -02:00
Bruno Oliveira
9475cd3fb8
Replace "--assertmode=off" by "--assert=plain"
...
Fix #1214
2015-12-02 18:39:32 -02:00
Bruno Oliveira
464e16deca
Removed incorrect note about genscript requiring wheels
2015-12-02 18:33:53 -02:00
Bruno Oliveira
d9b78f2a95
Remove reference to distutils
2015-12-02 18:30:12 -02:00
Bruno Oliveira
5040dde0c5
Fix genscript deprecation version and document reasons for such
2015-12-01 23:09:15 -02:00
Bruno Oliveira
095abfd035
Fix formatting errors
2015-12-01 22:52:22 -02:00
Bruno Oliveira
69ef0ab189
Merged virtual env into the Tox section
...
Nowadays virtualenv use is widespread so we don't need to
devote a how-to section in pytest's docs
2015-12-01 22:47:36 -02:00
Bruno Oliveira
d851a8fd07
Fixed some formatting
2015-12-01 22:43:11 -02:00
Bruno Oliveira
0704fcacd7
Removed setuptools/genscript session
2015-12-01 22:32:07 -02:00
Bruno Oliveira
4f17d56ecb
Move deprecated genscript method to the bottom of the document
2015-12-01 22:30:08 -02:00
Bruno Oliveira
b1f6dc23da
Moved "conventions for Python test discovery to the top"
2015-12-01 22:28:20 -02:00
Bruno Oliveira
c6f90c25e3
Remove finalize_options override from goodpractices
...
This is not required in latest versions of `setuptools`, and
`self.test_args` is a read-only attribute in some of the
versions of the 18.X series.
Fix #1134
2015-12-01 22:20:40 -02:00
Nicholas Chammas
c7cf4adfd0
Update xdist link; BitBucket -> GitHub
...
xdist is now hosted on GitHub.
2015-12-01 13:20:55 -05: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
Bruno Oliveira
b20803f0a6
Mention pytest_enter_pdb in the docs
2015-11-23 18:00:02 -02:00
Bruno Oliveira
1f148a93ec
Mention pytest_enter_pdb in the docs
2015-11-23 13:02:15 -02:00
Ronny Pfannschmidt
e4a000bb00
refer more explicit to osx el cap in the changelogs
2015-11-18 17:57:41 +01:00
Ronny Pfannschmidt
d04505553e
update authors list for 2.8.3 and add a log command to the howto
2015-11-18 17:55:18 +01:00
Ronny Pfannschmidt
2b5c46b2ab
correct drop in version in announcement
2015-11-18 17:48:35 +01:00
Ronny Pfannschmidt
063f90f0d2
run regendoc
2015-11-18 17:47:17 +01:00
Ronny Pfannschmidt
6096cae3dd
release announcements for 2.8.3
2015-11-18 17:38:31 +01:00
Gabe Hollombe
ac0b7b9803
Add 'Improve your testing with Pytest and Mock' video from PyCon SG 2015
2015-11-11 11:28:59 +08: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
Toilal
8abf85e96c
Use pytest-runner for setuptools integration
2015-11-02 12:22:40 +01:00
William Martin Stewart
1376d75fbe
Fix typo in parametrize.rst
2015-10-30 09:58:41 +02:00
Bruno Oliveira
8e54d07c40
Fix link in FAQ about parametrizing tests
...
Fix #1154
2015-10-26 22:46:35 -02:00
b-jazz
f174026f53
Update usage.rst
...
Remove double "the" in usage comments
2015-10-24 02:36:02 -07:00
Bruno Oliveira
7469b5591e
Update plugins_index.rst
2015-10-17 13:37:38 -03:00
Bruno Oliveira
75932a92d0
Make pytest-version mandatory
...
Fix #1118
2015-10-17 13:37:01 -03:00
Hartmut Goebel
4fba20e544
Add link to unittest2pytest
...
Closes #991 .
2015-10-17 18:14:52 +02:00
Florian Bruhin
dadf03baea
Use a string for pytest_plugins in docs.
2015-10-12 06:57:43 +02:00
Michael K
37e96c9335
[doc] Fixed indentation
2015-10-10 13:29:22 +02:00
Florian Bruhin
ec74a8deb8
Fix contents.rst.
...
This was broken in 787c866191
.
2015-10-07 18:10:13 +02:00
Florian Bruhin
b955473533
Add 2.8.2 release annoucement.
2015-10-06 22:37:59 +02:00
Florian Bruhin
2026ce0ed2
Update plugin_index.
2015-10-06 22:35:16 +02:00
Florian Bruhin
42937d4bb6
Prepare 2.8.2 release.
2015-10-06 21:06:25 +02:00
Michael Aquilina
abc27f56fc
Update skipping.rst with correct version marker
2015-10-03 16:42:15 +01:00
Michael Aquilina
dc7153e33c
Spelling and grammar fixes
2015-10-03 16:42:15 +01:00
Michael Aquilina
5ec08d3081
Delete trailing whitespace
2015-10-03 16:42:15 +01:00
Michael Aquilina
61b8443723
Update docs with new skip marker
2015-10-03 16:42:14 +01:00
Bruno Oliveira
f9e9413f52
plugins_index was still generating ".txt" files, so it was effectively being ignored
...
Fix #1105
2015-10-02 19:21:55 -03:00
Ronny Pfannschmidt
9263b3a051
Merge pull request #1096 from hackebrot/update-docs-skip-with-cli-option
...
Update docs skip with cli option
2015-10-01 18:31:55 +02:00
Ronny Pfannschmidt
688f955f5e
Merge pull request #1058 from nicoddemus/doc-how-disable-cache
...
Add docs on how to disable cache provider
2015-10-01 13:06:02 +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
Ionel Cristian Mărieș
c8f5a40fd9
Edit examples again to use hookimpl.
2015-09-30 16:58:12 +03:00
Ionel Cristian Mărieș
f4f23e8e09
Correct hook examples in docs.
2015-09-30 16:12:33 +03:00
holger krekel
e3562be530
remove unclear todo that irritates in the online docs
2015-09-29 18:23:44 +02:00
holger krekel
cb58eaa611
Merge remote-tracking branch 'upstream/master' into features
...
Conflicts:
_pytest/__init__.py
testing/test_recwarn.py
2015-09-29 15:56:41 +02:00
holger krekel
787c866191
hide some parts from generating latexpdf
2015-09-29 13:37:30 +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
Bruno Oliveira
6caa7083db
Moved more detailed options on how to disable a plugin to plugins.rst
2015-09-28 18:23:08 -03:00
holger krekel
0c05ca1fd5
Merge branch 'master' into features
2015-09-26 10:03:42 +02:00
Ronny Pfannschmidt
842aa5746f
Merge pull request #1069 from nicoddemus/docs-contents-reorg
...
Reorganize "Contents" page
2015-09-26 09:18:42 +02:00
Ronny Pfannschmidt
c2c2451788
Merge pull request #1071 from nicoddemus/xml-xdist
...
Wrong xml report when used with pytest-xdist
2015-09-26 09:05:25 +02:00
Bruno Oliveira
b72c3310bc
Add note on docs about record_xml_property not working with xdist
2015-09-26 03:24:07 -03:00
Oleg Alexandrov
9d2d2d17af
Clarify documentation
...
Fix doc markup
2015-09-25 21:46:06 -07:00
Bruno Oliveira
b403395cdb
Reorganize "Contents" page
...
Change the organization in a more logical way to a newcomer
2015-09-26 01:09:50 -03: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
Florian Bruhin
0ebac22bb2
Regenerate fixture list doc with cache docstring.
2015-09-25 18:41:07 +02:00
Tim Staley
eb2caa554c
Docs: Fixtures page - clarify usage of module-level pytestmark.
...
It certainly wasn't clear to me that the variable assigned by
pytest.mark.usefixtures should also be called pytestmark,
so I was confused when::
foo = pytest.mark.usefixtures('fixture_bar')
wasn't behaving as expected; correct usage is of course::
pytestmark = pytest.mark.usefixtures('fixture_bar')
I assume this is by design, otherwise that's a separate issue, at
least current behaviour should be documented.
2015-09-25 14:57:08 +01:00
Bruno Oliveira
b09d3724a0
Add docs on how to disable cache provider
2015-09-23 19:15:44 -03: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
Galaczi Endre
beaa8e55bd
Fixes #653 use deprecated_call as context_manager
2015-09-21 19:01:23 +01:00
Floris Bruynooghe
7c3be72ac7
Merge pull request #1042 from Bjwebb/issue411
...
Add __eq__ method to assertion comparison example
2015-09-21 14:57:59 +01:00
Ben Webb
622e64320a
Add __eq__ method to assertion comparison example
...
This makes the example make more sense, because now Foo(1) == Foo(1) is
true. Fixes #411
2015-09-21 14:23:26 +01:00
Russel Winder
714a97e452
Remove references to distutils as per Issue 766.
2015-09-21 12:00:48 +01:00
Ronny Pfannschmidt
1aca998f3f
Merge pull request #1012 from lukas-bednar/junitxml_plugin
...
junitxml: align custom properties with junit format
2015-09-18 16:01:22 +02:00
Lukas Bednar
02a2272cfe
junitxml: move custom properties to properties element
...
<testsuite>
<testcase>
<properties>
<property name="ABC" value="XYZ" />
<property name="DEF" value="ZYX" />
</properties>
</testcase>
</testsuite>
2015-09-17 15:56:41 +02:00
Michael Droettboom
16f90ffc92
Various Python 3.5 documentation mentions
2015-09-17 07:32:52 -04:00
Florian Bruhin
2575053697
Merge pull request #1015 from hpk42/cache-integration
...
refined pytest-cache integration
2015-09-16 21:46:46 +02:00
holger krekel
3841e99720
avoid oldstyle funcarg usage
2015-09-16 21:06:44 +02:00
holger krekel
79d22bf334
some more doc refinements
2015-09-16 20:44:41 +02:00
holger krekel
45065e4e2e
refine command line option naming and docs
2015-09-16 20:41:22 +02:00
holger krekel
9a90aaca96
improve and integrate docs
2015-09-16 17:15:31 +02:00
holger krekel
fdd23878ec
Merge latest changes from branch 'pytest-2.7'
...
Conflicts:
_pytest/__init__.py
doc/en/fixture.rst
setup.cfg
testing/test_runner.py
2015-09-16 09:26:55 +02:00
Ronny Pfannschmidt
c06ff2a992
update docs on the json usage of builtin cache
2015-09-13 19:55:44 +02:00
Ronny Pfannschmidt
3d843edc69
minor doc reference fixes
2015-09-13 19:55:44 +02:00