Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions qase-pytest/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# qase-pytest 7.0.7

## What's new

- Disable reporter for collect mode.

# qase-pytest 7.0.6

- Fixed issue with running tests in AWS Lambda.
Expand Down
2 changes: 1 addition & 1 deletion qase-pytest/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "qase-pytest"
version = "7.0.6"
version = "7.0.7"
description = "Qase Pytest Plugin for Qase TestOps and Qase Report"
readme = "README.md"
keywords = ["qase", "pytest", "plugin", "testops", "report", "qase reporting", "test observability"]
Expand Down
4 changes: 4 additions & 0 deletions qase-pytest/src/qase/pytest/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ def pytest_configure(config):
"qase_parametrize_ignore: mark test to ignore parameters in Qase reports"
)

# Skip plugin registration if pytest is running in collect-only mode
if config.option.collectonly:
return

config_manager = setup_config_manager(config)

QasePytestPluginSingleton.init(reporter=QaseCoreReporter(
Expand Down