test-reporting 3.2.8__tar.gz → 3.3.0__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 (21) hide show
  1. {test_reporting-3.2.8 → test_reporting-3.3.0}/PKG-INFO +1 -1
  2. {test_reporting-3.2.8 → test_reporting-3.3.0}/reporting/plugin.py +5 -2
  3. {test_reporting-3.2.8 → test_reporting-3.3.0}/setup.py +1 -1
  4. {test_reporting-3.2.8 → test_reporting-3.3.0}/test_reporting.egg-info/PKG-INFO +1 -1
  5. {test_reporting-3.2.8 → test_reporting-3.3.0}/LICENSE +0 -0
  6. {test_reporting-3.2.8 → test_reporting-3.3.0}/README.md +0 -0
  7. {test_reporting-3.2.8 → test_reporting-3.3.0}/reporting/__init__.py +0 -0
  8. {test_reporting-3.2.8 → test_reporting-3.3.0}/reporting/classifier.py +0 -0
  9. {test_reporting-3.2.8 → test_reporting-3.3.0}/reporting/cli.py +0 -0
  10. {test_reporting-3.2.8 → test_reporting-3.3.0}/reporting/config.py +0 -0
  11. {test_reporting-3.2.8 → test_reporting-3.3.0}/reporting/publisher.py +0 -0
  12. {test_reporting-3.2.8 → test_reporting-3.3.0}/reporting/storage.py +0 -0
  13. {test_reporting-3.2.8 → test_reporting-3.3.0}/reporting/templates/index.html +0 -0
  14. {test_reporting-3.2.8 → test_reporting-3.3.0}/reporting/templates/project.html +0 -0
  15. {test_reporting-3.2.8 → test_reporting-3.3.0}/reporting/templates/run.html +0 -0
  16. {test_reporting-3.2.8 → test_reporting-3.3.0}/setup.cfg +0 -0
  17. {test_reporting-3.2.8 → test_reporting-3.3.0}/test_reporting.egg-info/SOURCES.txt +0 -0
  18. {test_reporting-3.2.8 → test_reporting-3.3.0}/test_reporting.egg-info/dependency_links.txt +0 -0
  19. {test_reporting-3.2.8 → test_reporting-3.3.0}/test_reporting.egg-info/entry_points.txt +0 -0
  20. {test_reporting-3.2.8 → test_reporting-3.3.0}/test_reporting.egg-info/requires.txt +0 -0
  21. {test_reporting-3.2.8 → test_reporting-3.3.0}/test_reporting.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: test-reporting
3
- Version: 3.2.8
3
+ Version: 3.3.0
4
4
  Summary: Multi-project test reporting dashboard — collect results locally or push to S3
5
5
  Home-page: https://github.com/amahdy77/test-reporting.git
6
6
  Author: Ashfaqur Mahdy
@@ -56,8 +56,11 @@ class TestReportingPlugin:
56
56
  """Called at the start of the test session."""
57
57
  self.config.ensure_directories()
58
58
 
59
- # Determine suite name from the first pytest argument (the file/dir that was run)
60
- if hasattr(session.config, 'args') and session.config.args:
59
+ # Determine suite name from environment variable or pytest argument
60
+ suite_name_from_env = os.getenv('TEST_SUITE_NAME')
61
+ if suite_name_from_env:
62
+ self.run_data['suite_name'] = suite_name_from_env
63
+ elif hasattr(session.config, 'args') and session.config.args:
61
64
  first_arg = session.config.args[0]
62
65
  self.run_data['suite_name'] = Path(first_arg).stem
63
66
 
@@ -9,7 +9,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
9
9
 
10
10
  setup(
11
11
  name='test-reporting',
12
- version='3.2.8',
12
+ version='3.3.0',
13
13
  description='Multi-project test reporting dashboard — collect results locally or push to S3',
14
14
  long_description=long_description,
15
15
  long_description_content_type="text/markdown",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: test-reporting
3
- Version: 3.2.8
3
+ Version: 3.3.0
4
4
  Summary: Multi-project test reporting dashboard — collect results locally or push to S3
5
5
  Home-page: https://github.com/amahdy77/test-reporting.git
6
6
  Author: Ashfaqur Mahdy
File without changes
File without changes
File without changes