test_ok2/testing
Simon K 6cddeb8cb3
#7938 - [Plugin: Stepwise][Enhancements] Refactoring, smarter registration & --sw-skip functionality (#7939)
* adding --sw-skip shorthand for stepwise skip

* be explicit rather than implicit with default args for stepwise

* add constant for sw cache dir; only register plugin if necessary rather check check activity always;

* use str format; remove unused args in hooks

* assert cache upfront, allow stepwise to have a reference to the cache

* type hinting lf, skip, move literal strings into module constants

* convert parametrized option into a list

* add a sessionfinish hook for stepwise to keep backwards behaviour the same

* add changelog for #7938

* Improve performance of stepwise modifyitems & address PR feedback

* add test for stepwise deselected based on performance enhancements

* Apply suggestions from code review

* delete from items, account for edge case where failed_index = 0

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2020-10-30 19:13:06 +00:00
..
code Remove redundant Python 2.7 code 2020-10-19 10:47:35 +03:00
example_scripts py36+: com2ann 2020-10-05 18:33:17 -07:00
examples pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
freeze testing: fix some docstring issues 2020-08-03 10:10:43 +03:00
io Merge pull request #7481 from bluetech/tw-unicode-escape 2020-07-11 16:01:45 -03:00
logging py36+: com2ann 2020-10-05 18:33:17 -07:00
plugins_integration build(deps): bump pytest-django in /testing/plugins_integration 2020-10-26 03:15:50 +00:00
python fixtures: change _getautousenames to an iterator 2020-10-25 00:49:06 +03:00
acceptance_test.py New pytester fixture (#7854) 2020-10-12 12:13:06 -03:00
conftest.py testing: make conftest stuff check for pytester not testdir 2020-10-26 15:01:38 +02:00
deprecated_test.py Add alias clarification to deprecation warning (#7829) 2020-10-06 11:48:34 -03:00
test_argcomplete.py py36+: pyupgrade: py36+ 2020-10-03 12:46:54 -07:00
test_assertion.py Migrate test_assertion.py from testdir to pytester 2020-10-29 20:39:44 -05:00
test_assertrewrite.py Migrate test_assertrewrite.py from testdir to pytester (#7952) 2020-10-29 09:54:34 +02:00
test_cacheprovider.py cacheprovider: fix some files in packages getting lost from --lf 2020-10-19 19:02:43 +03:00
test_capture.py Update mypy 0.782 -> 0.790 2020-10-17 19:25:45 +03:00
test_collection.py py36+: remove rexport of Path and PurePath 2020-10-03 12:16:52 -07:00
test_compat.py Migrate test_compat.py from testdir to pytester (#7963) 2020-10-29 09:56:34 +02:00
test_config.py Update tests to cover explicit None and "string" as addini() types 2020-10-07 17:56:54 -04:00
test_conftest.py py36+: remove rexport of Path and PurePath 2020-10-03 12:16:52 -07:00
test_debugging.py testing: use pytester.spawn instead of testdir 2020-10-25 10:11:10 +02:00
test_doctest.py Update mypy 0.782 -> 0.790 2020-10-17 19:25:45 +03:00
test_entry_points.py Replace importlib_metadata with importlib.metadata on Python 3.8+ 2019-07-04 15:00:10 +02:00
test_error_diffs.py assertion: improve diff output of recursive dataclass/attrs 2020-07-08 19:04:56 +03:00
test_faulthandler.py py36+: pyupgrade: py36+ 2020-10-03 12:46:54 -07:00
test_findpaths.py py36+: remove rexport of Path and PurePath 2020-10-03 12:16:52 -07:00
test_helpconfig.py #7942 test_helpconfig.py migrate from testdir to pytester 2020-10-26 18:30:48 +03:00
test_junitxml.py py36+: com2ann 2020-10-05 18:33:17 -07:00
test_link_resolve.py py36+: pyupgrade: py36+ 2020-10-03 12:46:54 -07:00
test_main.py py36+: pyupgrade: py36+ 2020-10-03 12:46:54 -07:00
test_mark.py Address feedback for converting testdir to pytester 2020-10-27 17:50:54 +00:00
test_mark_expression.py mark/expression: prevent creation of illegal Python identifiers 2020-06-05 15:57:48 +03:00
test_meta.py py36+: com2ann 2020-10-05 18:33:17 -07:00
test_monkeypatch.py py36+: com2ann 2020-10-05 18:33:17 -07:00
test_nodes.py fixtures: use a faster replacement for ischildnode 2020-10-25 00:48:35 +03:00
test_nose.py Node.location: handle str with _node_location_to_relpath 2020-01-23 10:45:31 +01:00
test_parseopt.py testing: improve bash check 2020-07-21 21:21:09 +03:00
test_pastebin.py Update mypy 0.782 -> 0.790 2020-10-17 19:25:45 +03:00
test_pathlib.py py36+: remove rexport of Path and PurePath 2020-10-03 12:16:52 -07:00
test_pluginmanager.py py36+: com2ann 2020-10-05 18:33:17 -07:00
test_pytester.py testing: use pytester.spawn instead of testdir 2020-10-25 10:11:10 +02:00
test_recwarn.py recwarn: improve return type annotation of non-contextmanager pytest.warns 2020-06-25 14:30:42 +03:00
test_reports.py Drop support for EOL Python 3.5 2020-10-19 10:02:36 +03:00
test_runner.py testing: python 3.10 fix 2020-10-25 01:27:44 +02:00
test_runner_xunit.py py36+: com2ann 2020-10-05 18:33:17 -07:00
test_session.py py36+: pyupgrade: py36+ 2020-10-03 12:46:54 -07:00
test_setuponly.py Migrate test_setuponly.py from testdir to pytester (#7959) 2020-10-29 09:55:30 +02:00
test_setupplan.py testing: fix some docstring issues 2020-08-03 10:10:43 +03:00
test_skipping.py Migrate test_skipping.py from testdir to pytester (#7953) 2020-10-28 17:05:54 +02:00
test_stepwise.py #7938 - [Plugin: Stepwise][Enhancements] Refactoring, smarter registration & --sw-skip functionality (#7939) 2020-10-30 19:13:06 +00:00
test_store.py Remove no longer needed `noqa: F821` uses 2020-07-10 13:08:56 +03:00
test_terminal.py testing: use pytester.spawn instead of testdir 2020-10-25 10:11:10 +02:00
test_tmpdir.py py36+: com2ann 2020-10-05 18:33:17 -07:00
test_unittest.py py36+: com2ann 2020-10-05 18:33:17 -07:00
test_warning_types.py add type hint to parametrized warning_class 2020-10-25 18:31:43 +00:00
test_warnings.py py36+: com2ann 2020-10-05 18:33:17 -07:00
typing_checks.py Fix typing of params ids callable form 2020-07-14 14:53:42 +03:00