test_ok1/testing/plugins_integration
Bruno Oliveira 878af85aef
mypy: disallow untyped defs by default (#11862)
Change our mypy configuration to disallow untyped defs by default, which ensures *new* files added to the code base are fully typed.

To avoid having to type-annotate everything now, add `# mypy: allow-untyped-defs` to files which are not fully type annotated yet.

As we fully type annotate those modules, we can then just remove that directive from the top.
2024-01-28 10:12:42 -03:00
..
.gitignore Smoke tests for assorted plugins (#7721) 2020-09-19 15:56:52 -03:00
README.rst Smoke tests for assorted plugins (#7721) 2020-09-19 15:56:52 -03:00
bdd_wallet.feature Smoke tests for assorted plugins (#7721) 2020-09-19 15:56:52 -03:00
bdd_wallet.py mypy: disallow untyped defs by default (#11862) 2024-01-28 10:12:42 -03:00
django_settings.py Smoke tests for assorted plugins (#7721) 2020-09-19 15:56:52 -03:00
pytest.ini Setup strict asyncio mode 2022-01-23 23:07:28 +02:00
pytest_anyio_integration.py mypy: disallow untyped defs by default (#11862) 2024-01-28 10:12:42 -03:00
pytest_asyncio_integration.py mypy: disallow untyped defs by default (#11862) 2024-01-28 10:12:42 -03:00
pytest_mock_integration.py mypy: disallow untyped defs by default (#11862) 2024-01-28 10:12:42 -03:00
pytest_trio_integration.py mypy: disallow untyped defs by default (#11862) 2024-01-28 10:12:42 -03:00
pytest_twisted_integration.py mypy: disallow untyped defs by default (#11862) 2024-01-28 10:12:42 -03:00
requirements.txt build(deps): Bump pytest-asyncio in /testing/plugins_integration 2024-01-08 20:24:22 +00:00
simple_integration.py mypy: disallow untyped defs by default (#11862) 2024-01-28 10:12:42 -03:00

README.rst

This folder contains tests and support files for smoke testing popular plugins against the current pytest version.

The objective is to gauge if any intentional or unintentional changes in pytest break plugins.

As a rule of thumb, we should add plugins here:

1. That are used at large. This might be subjective in some cases, but if answer is yes to
   the question: *if a new release of pytest causes pytest-X to break, will this break a ton of test suites out there?*.
2. That don't have large external dependencies: such as external services.

Besides adding the plugin as dependency, we should also add a quick test which uses some
minimal part of the plugin, a smoke test. Also consider reusing one of the existing tests if that's
possible.