Commit Graph

897 Commits

Author SHA1 Message Date
Bruno Oliveira 7341da1bc1 Introduce pytest.mark.filterwarnings 2017-07-20 22:31:49 -03:00
Bruno Oliveira d44565f385 Merge remote-tracking branch 'upstream/master' into fix-flake8-errors 2017-07-19 17:57:30 -03:00
Bruno Oliveira 26ee2355d9 Merge remote-tracking branch 'upstream/features' into fix-flake8-errors 2017-07-19 17:09:05 -03:00
Raphael Pierzina 1ac02b8a3b Add plugin code 2017-07-19 20:15:27 +02:00
Raphael Pierzina d06d97a7ac Remove unnecessary comma from docs 2017-07-19 19:42:33 +02:00
Raphael Pierzina 91b4b229aa Update documentation for testing plugin code 2017-07-19 19:38:21 +02:00
Raphael Pierzina 2840634c2c Fix typo and improve comment about cookiecutter-template 2017-07-19 19:38:21 +02:00
Bruno Oliveira 2d4f1f022e Introduce PYTEST_CURRENT_TEST environment variable
Fix #2583
2017-07-19 10:01:50 -03:00
Bruno Oliveira 637e566d05 Separate all options for running/selecting tests into sections 2017-07-18 22:50:32 -03:00
Bruno Oliveira 3a1c9c0e45 Clarify in the docs how PYTEST_ADDOPTS and addopts ini option work together 2017-07-18 15:37:01 -03:00
Bruno Oliveira 4fd92ef9ba Merge branch 'fix-flake8-issues' into features 2017-07-17 21:05:39 -03:00
Ronny Pfannschmidt 1485a3a902 Merge pull request #2566 from jmsdvl/iss2518
Detect and warn/ignore local python installations
2017-07-13 10:44:04 +02:00
Bruno Oliveira e6b9a81ccf Add a link to our backwards compatibility policy to our side-bar
It is important enough that it should be easier to find
2017-07-12 16:22:16 -03:00
John Still 67fca04050 update docs and note; add virtualenv collection tests 2017-07-11 23:14:38 -05:00
Bruno Oliveira d9aaab7ab2 Merge remote-tracking branch 'upstream/master' into features 2017-07-10 17:51:59 -03:00
V.Kuznetsov 91418eda3b docs for ini option cache_dir 2017-07-07 13:08:12 +03:00
Ronny Pfannschmidt ef62b86335 Merge pull request #2492 from kalekundert/features
Add support for numpy arrays (and dicts) to approx.
2017-07-06 11:46:51 +02: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
Bruno Oliveira 7277fbdb20 Fix SMTP port in fixture docs
Also add timeout to avoid regen getting stuck due
to connection problems

Fix #2509
2017-07-03 20:21:41 -03:00
Bruno Oliveira f2ba8d70b9 Fix typo and add suggestion from review 2017-06-21 09:06:52 -03:00
Bruno Oliveira afe847ecdc fixture docs: highlight difference between yield and addfinalizer methods
Fix #2508
2017-06-20 23:43:34 -03:00
Kale Kundert b41852c93b
Use `autofunction` to document approx.
It used to be a class, but it's a function now.
2017-06-15 14:52:39 -07:00
Raphael Pierzina 9970dea8c1 Update copyright date in doc pages 2017-06-13 15:00:52 +02:00
Max Moroz 21137cf8c5 Add firstresult=True to the hook docs 2017-06-12 19:45:35 -07:00
Bruno Oliveira 7cbf265bb5 Preparing release version 3.1.2 2017-06-08 17:37:42 -04:00
ApaDoctor 54a90e9555 docs: Create links for objects to show the api 2017-06-06 01:10:32 +02:00
Bruno Oliveira 409d2f1d54 Make it clear that pytest.xfail stops the test
Also did a general review of the document to improve the flow

Fix #810
2017-05-31 19:54:01 -03:00
Bruno Oliveira 2fd7626046 Preparing release version 3.1.1 2017-05-30 17:19:34 -04:00
Bruno Oliveira 32e2642233 No longer override existing warning filters during warnings capture
Fix #2430
2017-05-30 17:17:36 -03:00
Bruno Oliveira 313a884459 Warn that warning-capture can break existing suites in the docs and CHANGELOG
Related to discussion in #2430
2017-05-25 21:19:08 -03:00
Ronny Pfannschmidt 0ea80eb63c Merge pull request #2428 from The-Compiler/param-id-docs
Add docs for id= with pytest.param
2017-05-23 10:30:54 +02:00
Florian Bruhin d9b93674c3 Make --cache-show output deterministic
This makes sure things don't jump around in the regenerated docs.
2017-05-23 08:01:39 +02: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
Bruno Oliveira 7af0e6bda1 Merge pull request #2415 from flub/training
Remove past training
2017-05-17 20:57:50 -03:00
Floris Bruynooghe f7247dc99d Remove past training
Leaving the sidebar as an example for in the future.
2017-05-17 22:47:51 +01:00
Bruno Oliveira 70bcd1fb7b Add a reference to Python testing book to talks docs 2017-05-17 17:17:19 -03:00
Bruno Oliveira 00e7ee532e Fix minor regendoc issues 2017-05-15 21:57:04 -03:00
Bruno Oliveira fe49c78f32 Merge remote-tracking branch 'upstream/master' into release-3.1 2017-05-15 21:56:44 -03:00
Bruno Oliveira bd708068ab Merge branch 'features' into regendoc-reduce-version-noise 2017-05-14 14:34:07 -03: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
Dmitri Pribysh 2ab8d12fe3 Update changelog and add usage info 2017-05-12 17:48:50 -03:00
Ronny Pfannschmidt c765fa6d04 add regendoc normaliz for pytest --version 2017-05-12 22:38:50 +02:00
Ronny Pfannschmidt f1c4e2c032 regendoc: reduce version noise by replacing minor/patch with placeholders 2017-05-12 22:17:40 +02:00
David Giese 52c67af63c Clarify opening paragraph of parameterization docs
- Fix a few small grammar mistakes
- Rewrite a few sentences to make them shorter and easier to read
2017-05-09 10:02:08 -04:00
Bruno Oliveira f3b359f5b8 Merge remote-tracking branch 'upstream/master' into merge-master-into-features
# Conflicts:
#	_pytest/capture.py
#	_pytest/compat.py
#	_pytest/python.py
#	testing/python/collect.py
#	testing/test_mark.py
2017-05-03 19:04:53 -03:00