test_ok2/testing/example_scripts
Sadra Barikbin 09b78737a5
Move `fixtures.py::add_funcarg_pseudo_fixture_def` to `Metafunc.parametrize` (#11220)
To remove fixtures.py::add_funcargs_pseudo_fixture_def and add its logic
i.e. registering funcargs as params and making corresponding fixturedefs,
right to Metafunc.parametrize in which parametrization takes place.

To remove funcargs from metafunc attributes as we populate metafunc
params and make pseudo fixturedefs simultaneously and there's no need to
keep funcargs separately.
2023-08-09 17:13:45 +00:00
..
acceptance pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
collect python: change `pytest pkg/__init__.py` to only collect the `__init__.py` Module 2023-06-23 20:42:50 +03:00
config/collect_pytest_prefix Add rudimentary mypy type checking 2019-07-09 10:49:17 +03:00
conftest_usageerror Add rudimentary mypy type checking 2019-07-09 10:49:17 +03:00
dataclasses fix comparison of dataclasses with `InitVar` 2022-04-08 19:51:05 -04:00
doctest/main_py #7124: Fix `--doctest-modules` crashing when `__main__.py` is present (#8949) 2021-07-27 22:50:26 +01:00
fixtures Rename pathlib hook parameters (#9363) 2021-12-03 13:14:09 +01:00
issue88_initial_file_multinodes Rename pathlib hook parameters (#9363) 2021-12-03 13:14:09 +01:00
marks/marks_considered_keywords Add rudimentary mypy type checking 2019-07-09 10:49:17 +03:00
perf_examples/collect_stats pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
tmpdir Remove/replace some unneeded usages of py.path 2021-03-14 14:12:28 +02:00
unittest Remove some no longer needed type-ignores 2021-01-29 20:40:43 +02:00
warnings Fix warnings summary 2020-05-05 21:40:34 +03:00
README.rst Small typo and grammar fix 2018-06-15 15:05:00 -03:00
__init__.py #7124: Fix `--doctest-modules` crashing when `__main__.py` is present (#8949) 2021-07-27 22:50:26 +01:00
issue_519.py Move `fixtures.py::add_funcarg_pseudo_fixture_def` to `Metafunc.parametrize` (#11220) 2023-08-09 17:13:45 +00:00
junit-10.xsd Validate xunit2 files against the schema 2019-08-09 10:55:06 -03:00
pytest.ini prepare tests and disable warnings for asyncio unittest cases 2020-03-30 21:55:12 +02:00

README.rst

Example test scripts
=====================


The files in this folder are not direct tests, but rather example test suites that demonstrate certain issues/behaviours.

In the future we will move part of the content of the acceptance tests here in order to have directly testable code instead of writing out things and then running them in nested pytest sessions/subprocesses.

This will aid debugging and comprehension.