pytest-plugins 2.0.1__tar.gz → 2.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. {pytest_plugins-2.0.1/pytest_plugins.egg-info → pytest_plugins-2.0.3}/PKG-INFO +10 -1
  2. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/README.md +9 -0
  3. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pyproject.toml +1 -1
  4. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/better_report.py +7 -4
  5. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3/pytest_plugins.egg-info}/PKG-INFO +10 -1
  6. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/LICENSE +0 -0
  7. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/MANIFEST.in +0 -0
  8. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/__init__.py +0 -0
  9. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/add_config_parameters.py +0 -0
  10. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/fail2skip.py +0 -0
  11. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/max_fail_streak.py +0 -0
  12. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/models/__init__.py +0 -0
  13. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/models/base_class_test.py +0 -0
  14. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/models/environment_data.py +0 -0
  15. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/models/execution_data.py +0 -0
  16. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/models/status.py +0 -0
  17. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/models/test_data.py +0 -0
  18. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/utils/__init__.py +0 -0
  19. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/utils/create_report.py +0 -0
  20. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/utils/helper.py +0 -0
  21. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/utils/pytest_helper.py +0 -0
  22. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins/verbose_param_ids.py +0 -0
  23. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins.egg-info/SOURCES.txt +0 -0
  24. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins.egg-info/dependency_links.txt +0 -0
  25. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins.egg-info/entry_points.txt +0 -0
  26. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins.egg-info/requires.txt +0 -0
  27. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/pytest_plugins.egg-info/top_level.txt +0 -0
  28. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/setup.cfg +0 -0
  29. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/tests/test_dummy.py +0 -0
  30. {pytest_plugins-2.0.1 → pytest_plugins-2.0.3}/tests/test_dummy_regular.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-plugins
3
- Version: 2.0.1
3
+ Version: 2.0.3
4
4
  Summary: A Python package for managing pytest plugins.
5
5
  Author: Avi Zaguri
6
6
  License: MIT
@@ -29,6 +29,15 @@ Requires-Dist: setuptools>=80.9.0
29
29
  Requires-Dist: wheel>=0.45.1
30
30
  Dynamic: license-file
31
31
 
32
+ ![PyPI version](https://img.shields.io/pypi/v/pytest-plugins)
33
+ ![Python](https://img.shields.io/badge/python->=3.12-blue)
34
+ ![Development Status](https://img.shields.io/badge/status-stable-green)
35
+ ![Maintenance](https://img.shields.io/maintenance/yes/2026)
36
+ ![PyPI](https://img.shields.io/pypi/dm/pytest-plugins)
37
+ ![License](https://img.shields.io/pypi/l/pytest-plugins)
38
+
39
+ ---
40
+
32
41
  # pytest-plugins
33
42
  An advanced pytest plugin designed for Python projects, offering robust features and utilities to enhance the testing workflow. <br>
34
43
  It includes improved `conftest.py` fixtures, automated test result reporting, detailed logging, and seamless integration with external tools for a streamlined and efficient testing experience.
@@ -1,3 +1,12 @@
1
+ ![PyPI version](https://img.shields.io/pypi/v/pytest-plugins)
2
+ ![Python](https://img.shields.io/badge/python->=3.12-blue)
3
+ ![Development Status](https://img.shields.io/badge/status-stable-green)
4
+ ![Maintenance](https://img.shields.io/maintenance/yes/2026)
5
+ ![PyPI](https://img.shields.io/pypi/dm/pytest-plugins)
6
+ ![License](https://img.shields.io/pypi/l/pytest-plugins)
7
+
8
+ ---
9
+
1
10
  # pytest-plugins
2
11
  An advanced pytest plugin designed for Python projects, offering robust features and utilities to enhance the testing workflow. <br>
3
12
  It includes improved `conftest.py` fixtures, automated test result reporting, detailed logging, and seamless integration with external tools for a streamlined and efficient testing experience.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pytest-plugins"
7
- version = "2.0.1"
7
+ version = "2.0.3"
8
8
  description = "A Python package for managing pytest plugins."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -100,11 +100,13 @@ def pytest_configure(config: Config) -> None:
100
100
 
101
101
  config._better_report_enabled = config.getoption("--better-report") # pylint: disable=W0212
102
102
 
103
- output_dir = Path("results_output")
103
+ results_output_dir = Path("results_output")
104
+ project_root = get_project_root()
104
105
  if _output_dir := config.getoption("--output-dir"):
105
- config.option.output_dir = get_project_root() / _output_dir / output_dir if get_project_root() else output_dir
106
+ config.option.output_dir = project_root/_output_dir/results_output_dir if project_root else results_output_dir
106
107
  else:
107
- config.option.output_dir = get_project_root() / Path("results_output") if get_project_root() else output_dir
108
+ config.option.output_dir = project_root / results_output_dir if project_root else results_output_dir
109
+ logger.info(f"Better report plugin enabled. Output directory set to: {config.option.output_dir}")
108
110
 
109
111
 
110
112
  def pytest_sessionstart(session: Session) -> None:
@@ -226,7 +228,8 @@ def session_setup_teardown(request: FixtureRequest) -> Generator[None, Any, None
226
228
 
227
229
  save_as_json(path=output_dir / "execution_results.json", data=execution_results, default=default_serialize)
228
230
  save_as_json(path=output_dir / "test_results.json", data=test_results, default=default_serialize)
229
- logger.info("Better report: Execution results saved")
231
+ logger.info(f"Better report: Execution results saved to {output_dir / 'execution_results.json'}")
232
+ logger.info(f"Better report: Test results saved to {output_dir / 'test_results.json'}'")
230
233
 
231
234
 
232
235
  @pytest.hookimpl(hookwrapper=True, tryfirst=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-plugins
3
- Version: 2.0.1
3
+ Version: 2.0.3
4
4
  Summary: A Python package for managing pytest plugins.
5
5
  Author: Avi Zaguri
6
6
  License: MIT
@@ -29,6 +29,15 @@ Requires-Dist: setuptools>=80.9.0
29
29
  Requires-Dist: wheel>=0.45.1
30
30
  Dynamic: license-file
31
31
 
32
+ ![PyPI version](https://img.shields.io/pypi/v/pytest-plugins)
33
+ ![Python](https://img.shields.io/badge/python->=3.12-blue)
34
+ ![Development Status](https://img.shields.io/badge/status-stable-green)
35
+ ![Maintenance](https://img.shields.io/maintenance/yes/2026)
36
+ ![PyPI](https://img.shields.io/pypi/dm/pytest-plugins)
37
+ ![License](https://img.shields.io/pypi/l/pytest-plugins)
38
+
39
+ ---
40
+
32
41
  # pytest-plugins
33
42
  An advanced pytest plugin designed for Python projects, offering robust features and utilities to enhance the testing workflow. <br>
34
43
  It includes improved `conftest.py` fixtures, automated test result reporting, detailed logging, and seamless integration with external tools for a streamlined and efficient testing experience.
File without changes
File without changes