8000 feat(test): Add `only` pytest marker (#852) · DEVBOX10/sentry-python@a7f7e2a · GitHub
[go: up one dir, main page]

Skip to content

Commit a7f7e2a

Browse files
authored
feat(test): Add only pytest marker (getsentry#852)
This adds a pytest marker similar to `it.only` in jest.
1 parent 91c7a8f commit a7f7e2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pytest.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[pytest]
22
DJANGO_SETTINGS_MODULE = tests.integrations.django.myapp.settings
33
addopts = --tb=short
4-
markers = tests_internal_exceptions
4+
markers =
5+
tests_internal_exceptions
6+
only: A temporary marker, to make pytest only run the tests with the mark, similar to jest's `it.only`. To use, run `pytest -v -m only`.

0 commit comments

Comments
 (0)
0