pytest-json-ctrf 0.2.1__tar.gz → 0.2.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytest-json-ctrf
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Pytest plugin to generate json report in CTRF (Common Test Report Format)
5
5
  Author: Oleksii Ostapov
6
6
  Project-URL: Infopulse, https://infopulse.com/
@@ -97,3 +97,6 @@ The `pytest_runtest_logreport` hook in the controller node is used to collect th
97
97
  - https://github.com/testomatio/pytestomatio -> Source of inspiration for creating pytest plugins
98
98
  - https://github.com/infopulse/Playwright-course-python -> The report will be used in the demo project as +1 report option
99
99
 
100
+ ### Roadmap
101
+ - Add screenshots handling
102
+ - Add hooks for the report extension
@@ -82,3 +82,6 @@ The `pytest_runtest_logreport` hook in the controller node is used to collect th
82
82
  - https://github.com/testomatio/pytestomatio -> Source of inspiration for creating pytest plugins
83
83
  - https://github.com/infopulse/Playwright-course-python -> The report will be used in the demo project as +1 report option
84
84
 
85
+ ### Roadmap
86
+ - Add screenshots handling
87
+ - Add hooks for the report extension
@@ -45,7 +45,8 @@ class TestObject:
45
45
  self.status = TestStatus.OTHER
46
46
 
47
47
  def update(self, report: TestReport, worker_id: str = None) -> None:
48
- self.name = report.head_line.split('[')[0]
48
+ self.name = report.nodeid.split('[')[0]
49
+ # self.name = report.head_line.split('[')[0]
49
50
  self.set_status(report)
50
51
  self.duration += report.duration
51
52
  if report.when == "setup" and not self.start:
@@ -7,7 +7,7 @@ exclude = [".github", "tests", "build", "dist", ".venv", "pytestomatio.egg-info"
7
7
 
8
8
  [project]
9
9
  name = "pytest-json-ctrf"
10
- version = "0.2.1"
10
+ version = "0.2.3"
11
11
 
12
12
  dependencies = [
13
13
  "pytest>6.0.0",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytest-json-ctrf
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Pytest plugin to generate json report in CTRF (Common Test Report Format)
5
5
  Author: Oleksii Ostapov
6
6
  Project-URL: Infopulse, https://infopulse.com/
@@ -97,3 +97,6 @@ The `pytest_runtest_logreport` hook in the controller node is used to collect th
97
97
  - https://github.com/testomatio/pytestomatio -> Source of inspiration for creating pytest plugins
98
98
  - https://github.com/infopulse/Playwright-course-python -> The report will be used in the demo project as +1 report option
99
99
 
100
+ ### Roadmap
101
+ - Add screenshots handling
102
+ - Add hooks for the report extension