pytest2/testing
Tobias Deiminger b21b008118 Refactor idmaker functions into class IdMaker
This commit only refactors, it does not change or add functionality yet. Public
API is retained. Reason or refactoring:

User provided parameter IDs (e.g. Metafunc.parametrize(ids=...)) had so far
only been used to calculate a unique test ID for each test invocation. That
test ID was a joined string where each parameter contributed some partial ID.

We're soon going to reuse functionality to generate parameter keys for
reorder_items and FixtureDef cache. We will be interested in the partial
IDs, and only if they originate from explicit user information. Refactoring
makes logic and data accessible for reuse, and increases cohesion in general.
2022-01-26 15:42:34 +02:00
..
code Fix typos (#9424) 2021-12-27 09:23:15 -03:00
example_scripts fix 9326 2021-12-12 14:38:45 +02:00
examples fix bug in test for issue 519 2021-03-07 15:01:39 +01:00
freeze testing: fix some docstring issues 2020-08-03 10:10:43 +03:00
io Increase truncation threshold with -v, disable with -vv 2021-03-26 07:05:30 -03:00
logging Use {node,config}.stash instead of ._store 2021-07-24 17:40:08 +03:00
plugins_integration Setup strict asyncio mode 2022-01-23 23:07:28 +02:00
python Refactor idmaker functions into class IdMaker 2022-01-26 15:42:34 +02:00
acceptance_test.py Fix typos (#9424) 2021-12-27 09:23:15 -03:00
conftest.py Rename pathlib hook parameters (#9363) 2021-12-03 13:14:09 +01:00
deprecated_test.py Add docs on pytest.warns(None) deprecation (#9495) 2022-01-13 18:32:22 +00:00
test_argcomplete.py pytest-dev#8204 migrate some tests to tmp_path fixture (#8209) 2021-01-01 17:25:11 +02:00
test_assertion.py Drop support for EOL Python 3.6 2021-12-30 13:25:34 +02:00
test_assertrewrite.py Add test coverage to test rewrite 2022-01-18 11:26:46 -07:00
test_cacheprovider.py python: remove the `Instance` collector node 2021-11-13 14:03:44 +02:00
test_capture.py Drop support for EOL Python 3.6 2021-12-30 12:37:18 +02:00
test_collection.py python: unpacked marks need to be added to keywords on all node types 2022-01-21 14:34:27 +02:00
test_compat.py Drop support for EOL Python 3.6 2021-12-30 12:37:18 +02:00
test_config.py testing: avoid private pluggy attributes in test 2022-01-14 17:49:38 +02:00
test_conftest.py config: get rid of _conftestpath2mod 2022-01-09 12:33:45 +02:00
test_debugging.py Remove breakpoint support checking since all python versions support it. 2021-12-28 10:11:45 +01:00
test_doctest.py Fix typos (#9424) 2021-12-27 09:23:15 -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 Drop support for EOL Python 3.6 2021-12-30 12:37:18 +02:00
test_faulthandler.py Only re-enable fauthandler during unconfigure if it was enabled before 2021-01-25 12:28:00 -03:00
test_findpaths.py Add a test for invalid TOML file 2021-07-06 16:53:32 +03:00
test_helpconfig.py Remove py version printing, traceback filtering, freezing 2021-10-16 12:01:31 +03:00
test_junitxml.py Rename pathlib hook parameters (#9363) 2021-12-03 13:14:09 +01:00
test_legacypath.py Ensure Config.inifile is available during pytest_cmdline_main 2022-01-04 10:03:28 -03:00
test_link_resolve.py tests: Migrate to pytester - final update 2020-12-18 11:02:38 -08:00
test_main.py Deprecation of `msg=` for both `pytest.skip()` and `pytest.fail()`. (#8950) 2021-11-08 15:31:14 +01:00
test_mark.py Remove deprecated `-k foobar:` syntax 2021-12-07 22:27:35 +02:00
test_mark_expression.py Support forwardslash characters in identifiers (#9249) 2021-11-01 08:54:18 +02:00
test_meta.py py36+: com2ann 2020-10-05 18:33:17 -07:00
test_monkeypatch.py testing/test_monkeypatch: fix some patches leaking into pytest code 2022-01-09 00:13:40 +02:00
test_nodes.py nodes: keep plugins which subclass Item, File working for a bit more (#9279) 2021-11-08 14:51:04 +00:00
test_nose.py python: skip nose setup/teardown fixtures if non-callable 2021-12-25 12:09:11 +02:00
test_parseopt.py Update syntax to Python3.7+. 2021-12-28 10:11:35 +01:00
test_pastebin.py fix typing issues in mypy 0.920 2021-12-21 20:42:32 -05:00
test_pathlib.py fix mypy 0.930 errors 2021-12-30 06:19:29 -08:00
test_pluginmanager.py Adjust doc links for new scheme 2021-07-06 09:11:35 +02:00
test_pytester.py Move testdir to legacypath plugin 2021-10-28 21:51:51 +03:00
test_pythonpath.py Add a `pythonpath` setting to allow paths to be added to `sys.path`. (#9134) 2021-10-05 09:36:38 +03:00
test_recwarn.py fix typing issues in mypy 0.920 2021-12-21 20:42:32 -05:00
test_reports.py reports: support any PathLike instead of only Path, py.path 2021-03-18 10:23:48 +02:00
test_runner.py Fix typos (#9424) 2021-12-27 09:23:15 -03:00
test_runner_xunit.py [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
test_scope.py Refactor internal scope handling by introducing Scope enum 2021-08-01 06:11:56 -03:00
test_session.py testing/test_session: add a regression test for an old bug 2021-11-15 23:22:54 +02:00
test_setuponly.py Migrate test_setuponly.py from testdir to pytester (#7959) 2020-10-29 09:55:30 +02:00
test_setupplan.py #7942 test_setupplan.py migrate from testdir to Pytester (#8004) 2020-11-07 09:29:45 -03:00
test_skipping.py Fix test_errors_in_xfail_skip_expressions for Python 3.10.1 2021-12-16 10:18:07 -03:00
test_stash.py Fix typos (#9424) 2021-12-27 09:23:15 -03:00
test_stepwise.py #9062 - Allow `--stepwise-skip` to implicitly enable `--stepwise` (#9064) 2021-08-30 19:24:14 +01:00
test_terminal.py With -vv, display the full skip/xfail reason instead of "..." (#9537) 2022-01-25 10:33:22 -03:00
test_threadexception.py Fix warning filters used in tests 2021-05-04 17:25:02 +02:00
test_tmpdir.py Move tmpdir to legacypath plugin 2021-10-28 21:51:51 +03:00
test_unittest.py Ignore DeprecationWarnings in test_trial_error 2021-05-12 13:38:19 +02:00
test_unraisableexception.py Fix warning filters used in tests 2021-05-04 17:25:02 +02:00
test_warning_types.py add type hint to parametrized warning_class 2020-10-25 18:31:43 +00:00
test_warnings.py Fix typos (#9424) 2021-12-27 09:23:15 -03:00
typing_checks.py Fix typing of params ids callable form 2020-07-14 14:53:42 +03:00