Bruno Oliveira
|
aff463a3c4
|
Merge remote-tracking branch 'upstream/master' into features
|
2018-01-27 12:28:43 -02:00 |
Bruno Oliveira
|
0d96a5bf90
|
Merge pull request #3135 from brianmaissy/doc/clarify_pytest_fixture_setup_with_fixture_that_returns_None
Clarify a possible confusion when using pytest_fixture_setup with fixture functions that return None
|
2018-01-22 18:02:33 -02:00 |
Brian Maissy
|
8994603d46
|
Document hooks (defined with historic=True) which cannot be used with hookwrapper=True
|
2018-01-21 23:17:16 +02:00 |
Brian Maissy
|
196dcc37a8
|
Clarify a possible confusion when using pytest_fixture_setup with fixture functions that return None
|
2018-01-21 21:50:26 +02:00 |
Bruno Oliveira
|
b68b80aec9
|
Add new pytest_runtest_logfinish hook
Fix #3101
|
2018-01-09 22:17:39 -02:00 |
Bruno Oliveira
|
afb8a4e35d
|
Document bootstrap and initialization hooks
Fix #2616
|
2018-01-06 13:31:38 -02:00 |
Ronny Pfannschmidt
|
afc607cfd8
|
move node base classes from main to nodes
|
2017-12-18 11:08:20 +01:00 |
Bruno Oliveira
|
7b5d4d01ed
|
Add param annotations and types to hookspec
Also mention which hook to use instead of the deprecated
pytest_cmdline_preparse
Fix #3022
|
2017-12-12 18:01:31 -02:00 |
Bruno Oliveira
|
f074fd9ac6
|
Merge remote-tracking branch 'upstream/features' into malinoff/fix-2124
|
2017-11-12 11:16:08 -02:00 |
Bruno Oliveira
|
6550b9911b
|
pytest_fixture_post_finalizer now receives a request argument
|
2017-11-12 11:14:55 -02:00 |
Tyler Goodlet
|
ff35c17ecf
|
Drop wrapper module; import directly
|
2017-08-25 11:46:55 -04:00 |
Bruno Oliveira
|
7a12acb6a1
|
Fix linting
|
2017-07-28 08:54:55 -03:00 |
Bruno Oliveira
|
5acb64be90
|
Add versionadded tag to pytest_report_collectionfinish hook
|
2017-07-28 08:54:55 -03:00 |
Bruno Oliveira
|
17c544e793
|
Introduce new pytest_report_collectionfinish hook
Fix #2622
|
2017-07-27 10:44:29 -03:00 |
Andras Tim
|
b840622819
|
Fixed E302 flake8 errors
expected 2 blank lines, found 0
|
2017-07-17 01:44:23 +02:00 |
Bruno Oliveira
|
3667086acc
|
Clarify pytest_configure hook call order
Fix #2539
|
2017-07-05 07:50:59 -03:00 |
Max Moroz
|
21137cf8c5
|
Add firstresult=True to the hook docs
|
2017-06-12 19:45:35 -07:00 |
ApaDoctor
|
54a90e9555
|
docs: Create links for objects to show the api
|
2017-06-06 01:10:32 +02:00 |
Ronny Pfannschmidt
|
7d797b7dbf
|
add a note about the deprecation of the pytest_namespace hook
|
2017-03-28 11:45:06 +02:00 |
Bruno Oliveira
|
1e0cf5ce4d
|
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
# Conflicts:
# AUTHORS
# CHANGELOG.rst
# _pytest/pytester.py
|
2017-03-10 15:54:05 -03:00 |
Victor Uriarte
|
a88017cf26
|
Add note documenting #2257
|
2017-02-16 23:00:55 -07:00 |
Victor Uriarte
|
58d7f4e048
|
Correct typo
|
2017-02-16 22:52:06 -07:00 |
Ville Skyttä
|
ede4e9171f
|
Spelling fixes
|
2017-02-15 17:00:58 +02:00 |
Ravi Chandra
|
0e58c3fa80
|
updates for PR review #2198
|
2017-01-21 16:47:49 +13:00 |
Ravi Chandra
|
c848d0a771
|
Pass parameter name to `make_parametrize_id` hook function
|
2017-01-21 16:46:45 +13:00 |
Daniel Hahler
|
5b95ee3c19
|
Pass exitstatus to pytest_terminal_summary hook
This is useful to know if a testrun has been interrupted
(EXIT_INTERRUPTED).
|
2016-08-14 22:06:35 +02:00 |
Danielle Jenkins
|
032ce8baf6
|
Switch setuponly and setupplan options to a hook-based implementation.
|
2016-06-25 12:19:46 +02:00 |
Dave Hunt
|
ef9dd14963
|
Introduce pytest command as recommended entry point
Fixes #1629
|
2016-06-21 16:16:57 +02:00 |
palaviv
|
9733127951
|
pytest_make_parametrize_id receive config object
|
2016-04-26 10:23:57 +03:00 |
palaviv
|
53429ed8b8
|
Added hook to plugin docs and new CHANGELOG record
|
2016-04-25 18:03:34 +03:00 |
palaviv
|
79927428d1
|
Added pytest_make_parametrize_id hook
|
2016-04-25 17:11:47 +03:00 |
Daniel Hahler
|
bdddc9c38b
|
doc: fix argument order for pytest_load_initial_conftests
|
2016-03-12 17:35:27 +01:00 |
Bruno Oliveira
|
819e0ead44
|
Mention that pytest_addoption may be used from conftest files
fix #1427
|
2016-03-03 18:26:01 -03:00 |
Ronny Pfannschmidt
|
6c170201d6
|
Merge branch 'master' into features
|
2016-01-02 23:56:01 +01:00 |
Bruno Oliveira
|
2b2bec6b97
|
Remove experimental status from pytest_exception_interact
|
2015-12-16 14:29:39 -02:00 |
Bruno Oliveira
|
b20803f0a6
|
Mention pytest_enter_pdb in the docs
|
2015-11-23 18:00:02 -02:00 |
Bruno Oliveira
|
b3166a538c
|
Pass pytest's config object to pytest_enter_pdb
|
2015-11-23 14:42:21 -02:00 |
Bruno Oliveira
|
1f148a93ec
|
Mention pytest_enter_pdb in the docs
|
2015-11-23 13:02:15 -02:00 |
Floris Bruynooghe
|
80897f62a6
|
Merge pull request #974 from nicoddemus/addoption-conftest
Add warning about implementing pytest_addoption in conftest files
|
2015-09-21 11:28:31 +01:00 |
Bruno Oliveira
|
0b3f1b4a7c
|
Create `_pytest.vendored_packages` and _pytest._pluggy
- Replace imports from "pluggy" to "_pytest._pluggy"
- Fallback to import "pluggy" from global namespace if
not found in _pytest.vendored_packges
|
2015-09-07 13:01:54 -03:00 |
Ronny Pfannschmidt
|
76f0988551
|
turn the pytest_logwarning hook historic
|
2015-09-02 18:49:49 +02:00 |
Bruno Oliveira
|
ccf7584fac
|
Add warning about implementing pytest_addoption from conftest files
|
2015-08-27 19:14:56 -03: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
|
23538bcd31
|
- some more adaptation to most recent pluggy API
- avoid using pluggin underscore api
- show pluggy version in header
--HG--
branch : pluggy1
|
2015-05-05 21:53:04 +02:00 |
holger krekel
|
25963e0544
|
adapt pytest to pluggy's decoratorclass branch
--HG--
branch : pluggy1
|
2015-04-29 16:40:52 +02:00 |
holger krekel
|
5ee7ee0850
|
adapt pytest to using pluggy (current master)
--HG--
branch : pluggy1
|
2015-04-29 16:40:51 +02:00 |
holger krekel
|
4e116ed503
|
make pytest_plugin_registered a historic hook
--HG--
branch : more_plugin
|
2015-04-25 13:38:30 +02:00 |
holger krekel
|
a63585dcab
|
introduce historic hook spec which will memorize calls to a hook
in order to call them on later registered plugins
--HG--
branch : more_plugin
|
2015-04-25 11:29:11 +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
|
1ef49ac5ab
|
minimize HookRelay to become a pure container, refactor initialization and
tests of plugin management to be a bit better split between pytest
and pytest-independent bits
--HG--
branch : plugin_no_pytest
|
2015-04-22 13:31:46 +02:00 |