robotcode-runner 0.104.0__tar.gz → 0.106.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_runner-0.104.0 → robotcode_runner-0.106.0}/PKG-INFO +5 -5
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/pyproject.toml +4 -4
- robotcode_runner-0.106.0/src/robotcode/runner/__version__.py +1 -0
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/src/robotcode/runner/cli/discover/discover.py +9 -5
- robotcode_runner-0.104.0/src/robotcode/runner/__version__.py +0 -1
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/.gitignore +0 -0
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/LICENSE.txt +0 -0
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/README.md +0 -0
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/src/robotcode/runner/__init__.py +0 -0
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/src/robotcode/runner/cli/__init__.py +0 -0
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/src/robotcode/runner/cli/discover/__init__.py +0 -0
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/src/robotcode/runner/cli/libdoc.py +0 -0
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/src/robotcode/runner/cli/rebot.py +0 -0
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/src/robotcode/runner/cli/robot.py +0 -0
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/src/robotcode/runner/cli/testdoc.py +0 -0
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/src/robotcode/runner/hooks.py +0 -0
- {robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/src/robotcode/runner/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: robotcode-runner
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.106.0
|
|
4
4
|
Summary: RobotCode runner for Robot Framework
|
|
5
5
|
Project-URL: Homepage, https://robotcode.io
|
|
6
6
|
Project-URL: Donate, https://opencollective.com/robotcode
|
|
@@ -25,10 +25,10 @@ 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-modifiers==0.
|
|
29
|
-
Requires-Dist: robotcode-plugin==0.
|
|
30
|
-
Requires-Dist: robotcode-robot==0.
|
|
31
|
-
Requires-Dist: robotcode==0.
|
|
28
|
+
Requires-Dist: robotcode-modifiers==0.106.0
|
|
29
|
+
Requires-Dist: robotcode-plugin==0.106.0
|
|
30
|
+
Requires-Dist: robotcode-robot==0.106.0
|
|
31
|
+
Requires-Dist: robotcode==0.106.0
|
|
32
32
|
Requires-Dist: robotframework>=4.1.0
|
|
33
33
|
Description-Content-Type: text/markdown
|
|
34
34
|
|
|
@@ -28,10 +28,10 @@ classifiers = [
|
|
|
28
28
|
dynamic = ["version"]
|
|
29
29
|
dependencies = [
|
|
30
30
|
"robotframework>=4.1.0",
|
|
31
|
-
"robotcode-robot==0.
|
|
32
|
-
"robotcode-modifiers==0.
|
|
33
|
-
"robotcode-plugin==0.
|
|
34
|
-
"robotcode==0.
|
|
31
|
+
"robotcode-robot==0.106.0",
|
|
32
|
+
"robotcode-modifiers==0.106.0",
|
|
33
|
+
"robotcode-plugin==0.106.0",
|
|
34
|
+
"robotcode==0.106.0",
|
|
35
35
|
]
|
|
36
36
|
|
|
37
37
|
[project.entry-points.robotcode]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.106.0"
|
{robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/src/robotcode/runner/cli/discover/discover.py
RENAMED
|
@@ -39,7 +39,7 @@ from robotcode.core.lsp.types import (
|
|
|
39
39
|
)
|
|
40
40
|
from robotcode.core.uri import Uri
|
|
41
41
|
from robotcode.core.utils.cli import show_hidden_arguments
|
|
42
|
-
from robotcode.core.utils.dataclasses import from_json
|
|
42
|
+
from robotcode.core.utils.dataclasses import CamelSnakeMixin, from_json
|
|
43
43
|
from robotcode.core.utils.path import normalized_path
|
|
44
44
|
from robotcode.plugin import (
|
|
45
45
|
Application,
|
|
@@ -202,11 +202,12 @@ def _patch() -> None:
|
|
|
202
202
|
|
|
203
203
|
|
|
204
204
|
@dataclass
|
|
205
|
-
class TestItem:
|
|
205
|
+
class TestItem(CamelSnakeMixin):
|
|
206
206
|
type: str
|
|
207
207
|
id: str
|
|
208
208
|
name: str
|
|
209
209
|
longname: str
|
|
210
|
+
lineno: Optional[int] = None
|
|
210
211
|
uri: Optional[DocumentUri] = None
|
|
211
212
|
rel_source: Optional[str] = None
|
|
212
213
|
source: Optional[str] = None
|
|
@@ -220,13 +221,13 @@ class TestItem:
|
|
|
220
221
|
|
|
221
222
|
|
|
222
223
|
@dataclass
|
|
223
|
-
class ResultItem:
|
|
224
|
+
class ResultItem(CamelSnakeMixin):
|
|
224
225
|
items: List[TestItem]
|
|
225
226
|
diagnostics: Optional[Dict[str, List[Diagnostic]]] = None
|
|
226
227
|
|
|
227
228
|
|
|
228
229
|
@dataclass
|
|
229
|
-
class Statistics:
|
|
230
|
+
class Statistics(CamelSnakeMixin):
|
|
230
231
|
suites: int = 0
|
|
231
232
|
suites_with_tests: int = 0
|
|
232
233
|
suites_with_tasks: int = 0
|
|
@@ -234,7 +235,7 @@ class Statistics:
|
|
|
234
235
|
tasks: int = 0
|
|
235
236
|
|
|
236
237
|
|
|
237
|
-
def get_rel_source(source:
|
|
238
|
+
def get_rel_source(source: Union[str, Path, None]) -> Optional[str]:
|
|
238
239
|
if source is None:
|
|
239
240
|
return None
|
|
240
241
|
try:
|
|
@@ -253,6 +254,8 @@ class Collector(SuiteVisitor):
|
|
|
253
254
|
name=absolute_path.name,
|
|
254
255
|
longname=absolute_path.name,
|
|
255
256
|
uri=str(Uri.from_path(absolute_path)),
|
|
257
|
+
source=str(absolute_path),
|
|
258
|
+
rel_source=get_rel_source(absolute_path),
|
|
256
259
|
needs_parse_include=get_robot_version() >= (6, 1),
|
|
257
260
|
)
|
|
258
261
|
self._current = self.all
|
|
@@ -343,6 +346,7 @@ class Collector(SuiteVisitor):
|
|
|
343
346
|
id=f"{absolute_path or ''};{test.longname};{test.lineno}",
|
|
344
347
|
name=test.name,
|
|
345
348
|
longname=test.longname,
|
|
349
|
+
lineno=test.lineno,
|
|
346
350
|
uri=str(Uri.from_path(absolute_path)) if absolute_path else None,
|
|
347
351
|
source=str(test.source),
|
|
348
352
|
rel_source=get_rel_source(test.source),
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.104.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{robotcode_runner-0.104.0 → robotcode_runner-0.106.0}/src/robotcode/runner/cli/discover/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|