robotcode-debugger 0.55.0__tar.gz → 0.56.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.55.0 → robotcode_debugger-0.56.0}/PKG-INFO +3 -3
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/pyproject.toml +2 -2
- robotcode_debugger-0.56.0/src/robotcode/debugger/__version__.py +1 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/listeners.py +29 -19
- robotcode_debugger-0.55.0/src/robotcode/debugger/__version__.py +0 -1
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/.gitignore +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/LICENSE.txt +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/README.md +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/__init__.py +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/cli.py +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/dap_types.py +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/debugger.py +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/hooks.py +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/launcher/__init__.py +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/launcher/cli.py +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/launcher/client.py +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/launcher/run.py +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/launcher/server.py +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/protocol.py +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/py.typed +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/run.py +0 -0
- {robotcode_debugger-0.55.0 → robotcode_debugger-0.56.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.56.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.56.0
|
|
29
|
+
Requires-Dist: robotcode-runner==0.56.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.56.0",
|
|
32
|
+
"robotcode-runner==0.56.0",
|
|
33
33
|
]
|
|
34
34
|
|
|
35
35
|
[project.optional-dependencies]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.56.0"
|
|
@@ -289,9 +289,13 @@ class ListenerV3:
|
|
|
289
289
|
|
|
290
290
|
self._event_sended = True
|
|
291
291
|
|
|
292
|
-
def end_suite(self,
|
|
293
|
-
def report_status(
|
|
294
|
-
|
|
292
|
+
def end_suite(self, suite_data: running.TestSuite, suite_result: result.TestSuite) -> None:
|
|
293
|
+
def report_status(
|
|
294
|
+
data_item: Union[running.TestSuite, running.TestCase, None],
|
|
295
|
+
result_item: Union[result.TestSuite, result.TestCase],
|
|
296
|
+
message: str,
|
|
297
|
+
) -> None:
|
|
298
|
+
if isinstance(result_item, result.TestCase):
|
|
295
299
|
Debugger.instance().send_event(
|
|
296
300
|
self,
|
|
297
301
|
Event(
|
|
@@ -299,26 +303,32 @@ class ListenerV3:
|
|
|
299
303
|
body=RobotExecutionEventBody(
|
|
300
304
|
type="test",
|
|
301
305
|
attributes={
|
|
302
|
-
"longname":
|
|
303
|
-
"status": str(
|
|
304
|
-
"elapsedtime":
|
|
305
|
-
"source": str(
|
|
306
|
-
"lineno":
|
|
307
|
-
"message":
|
|
306
|
+
"longname": result_item.longname,
|
|
307
|
+
"status": str(result_item.status),
|
|
308
|
+
"elapsedtime": result_item.elapsedtime,
|
|
309
|
+
"source": str(result_item.source),
|
|
310
|
+
"lineno": data_item.lineno if data_item is not None else 0,
|
|
311
|
+
"message": result_item.message,
|
|
308
312
|
},
|
|
309
|
-
id=f"{
|
|
310
|
-
+ (
|
|
313
|
+
id=f"{result_item.source or ''};{result_item.longname or ''}"
|
|
314
|
+
+ (
|
|
315
|
+
f";{data_item.lineno if data_item is not None else 0}"
|
|
316
|
+
if isinstance(result_item, result.TestCase)
|
|
317
|
+
else ""
|
|
318
|
+
),
|
|
311
319
|
),
|
|
312
320
|
),
|
|
313
321
|
)
|
|
314
|
-
if isinstance(
|
|
315
|
-
for r in
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
+
if isinstance(result_item, result.TestSuite):
|
|
323
|
+
for r in result_item.suites:
|
|
324
|
+
p = next((i for i in data_item.suites if i.id == r.id), None) if data_item else None
|
|
325
|
+
report_status(p, r, message)
|
|
326
|
+
for r in result_item.tests:
|
|
327
|
+
p = next((i for i in data_item.tests if i.id == r.id), None) if data_item else None
|
|
328
|
+
report_status(p, r, message)
|
|
329
|
+
|
|
330
|
+
if suite_data.teardown and suite_result.teardown.status in ["FAIL", "SKIP"]:
|
|
331
|
+
report_status(suite_data, suite_result, message=suite_result.message)
|
|
322
332
|
|
|
323
333
|
def start_test(self, data: running.TestCase, result: result.TestCase) -> None:
|
|
324
334
|
pass
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.55.0"
|
|
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.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/launcher/__init__.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/launcher/cli.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/launcher/client.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/launcher/run.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.55.0 → robotcode_debugger-0.56.0}/src/robotcode/debugger/launcher/server.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|