robotcode-debugger 0.47.3__tar.gz → 0.48.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.
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/PKG-INFO +3 -3
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/pyproject.toml +2 -5
- robotcode_debugger-0.48.0/src/robotcode/debugger/__version__.py +1 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/listeners.py +32 -2
- robotcode_debugger-0.47.3/src/robotcode/debugger/__main__.py +0 -8
- robotcode_debugger-0.47.3/src/robotcode/debugger/__version__.py +0 -1
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/.gitignore +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/LICENSE.txt +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/README.md +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/__init__.py +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/cli.py +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/dap_types.py +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/debugger.py +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/hooks.py +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/launcher/__init__.py +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/launcher/cli.py +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/launcher/client.py +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/launcher/run.py +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/launcher/server.py +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/protocol.py +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/py.typed +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/run.py +0 -0
- {robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/server.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: robotcode-debugger
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.48.0
|
|
4
4
|
Summary: RobotCode Debugger for Robot Framework
|
|
5
5
|
Project-URL: Homepage, https://robotcode.io
|
|
6
6
|
Project-URL: Donate, https://github.com/sponsors/d-biehl
|
|
@@ -25,8 +25,8 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
|
25
25
|
Classifier: Topic :: Utilities
|
|
26
26
|
Classifier: Typing :: Typed
|
|
27
27
|
Requires-Python: >=3.8
|
|
28
|
-
Requires-Dist: robotcode-jsonrpc2==0.
|
|
29
|
-
Requires-Dist: robotcode-runner==0.
|
|
28
|
+
Requires-Dist: robotcode-jsonrpc2==0.48.0
|
|
29
|
+
Requires-Dist: robotcode-runner==0.48.0
|
|
30
30
|
Requires-Dist: robotframework>=4.1.0
|
|
31
31
|
Provides-Extra: debugpy
|
|
32
32
|
Requires-Dist: debugpy; extra == 'debugpy'
|
|
@@ -28,8 +28,8 @@ classifiers = [
|
|
|
28
28
|
dynamic = ["version"]
|
|
29
29
|
dependencies = [
|
|
30
30
|
"robotframework>=4.1.0",
|
|
31
|
-
"robotcode-jsonrpc2==0.
|
|
32
|
-
"robotcode-runner==0.
|
|
31
|
+
"robotcode-jsonrpc2==0.48.0",
|
|
32
|
+
"robotcode-runner==0.48.0",
|
|
33
33
|
]
|
|
34
34
|
|
|
35
35
|
[project.optional-dependencies]
|
|
@@ -38,9 +38,6 @@ debugpy = ["debugpy"]
|
|
|
38
38
|
[project.entry-points.robotcode]
|
|
39
39
|
debugger = "robotcode.debugger.hooks"
|
|
40
40
|
|
|
41
|
-
[project.scripts]
|
|
42
|
-
'robotcode.debugger' = 'robotcode.debugger.__main__:main'
|
|
43
|
-
|
|
44
41
|
[project.urls]
|
|
45
42
|
Homepage = "https://robotcode.io"
|
|
46
43
|
Donate = "https://github.com/sponsors/d-biehl"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.48.0"
|
|
@@ -60,6 +60,8 @@ class ListenerV2:
|
|
|
60
60
|
),
|
|
61
61
|
)
|
|
62
62
|
|
|
63
|
+
self.failed_keywords = None
|
|
64
|
+
|
|
63
65
|
def start_test(self, name: str, attributes: Dict[str, Any]) -> None:
|
|
64
66
|
self.failed_keywords = None
|
|
65
67
|
|
|
@@ -287,8 +289,36 @@ class ListenerV3:
|
|
|
287
289
|
|
|
288
290
|
self._event_sended = True
|
|
289
291
|
|
|
290
|
-
def end_suite(self, data: running.TestSuite,
|
|
291
|
-
|
|
292
|
+
def end_suite(self, data: running.TestSuite, suite_result: result.TestSuite) -> None:
|
|
293
|
+
def report_status(item: Union[result.TestSuite, result.TestCase], message: str) -> None:
|
|
294
|
+
if isinstance(item, result.TestCase):
|
|
295
|
+
Debugger.instance().send_event(
|
|
296
|
+
self,
|
|
297
|
+
Event(
|
|
298
|
+
event="robotSetFailed",
|
|
299
|
+
body=RobotExecutionEventBody(
|
|
300
|
+
type="test",
|
|
301
|
+
attributes={
|
|
302
|
+
"longname": item.longname,
|
|
303
|
+
"status": str(item.status),
|
|
304
|
+
"elapsedtime": item.elapsedtime,
|
|
305
|
+
"source": str(item.source),
|
|
306
|
+
"lineno": item.lineno,
|
|
307
|
+
"message": item.message,
|
|
308
|
+
},
|
|
309
|
+
id=f"{item.source or ''};{item.longname or ''}"
|
|
310
|
+
+ (f";{item.lineno or 0}" if isinstance(item, result.TestCase) else ""),
|
|
311
|
+
),
|
|
312
|
+
),
|
|
313
|
+
)
|
|
314
|
+
if isinstance(item, result.TestSuite):
|
|
315
|
+
for r in item.suites:
|
|
316
|
+
report_status(r, message)
|
|
317
|
+
for r in item.tests:
|
|
318
|
+
report_status(r, message)
|
|
319
|
+
|
|
320
|
+
if data.teardown and suite_result.teardown.status in ["FAIL", "SKIP"]:
|
|
321
|
+
report_status(suite_result, message=suite_result.message)
|
|
292
322
|
|
|
293
323
|
def start_test(self, data: running.TestCase, result: result.TestCase) -> None:
|
|
294
324
|
pass
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.47.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/launcher/__init__.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/launcher/cli.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/launcher/client.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/launcher/run.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.47.3 → robotcode_debugger-0.48.0}/src/robotcode/debugger/launcher/server.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|