robotcode-runner 2.9.0.dev115__py3-none-any.whl → 2.9.0.dev124__py3-none-any.whl
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/__version__.py +1 -1
- robotcode/runner/cli/results/_render.py +8 -6
- robotcode/runner/cli/results/results.py +2 -2
- {robotcode_runner-2.9.0.dev115.dist-info → robotcode_runner-2.9.0.dev124.dist-info}/METADATA +5 -5
- {robotcode_runner-2.9.0.dev115.dist-info → robotcode_runner-2.9.0.dev124.dist-info}/RECORD +7 -7
- {robotcode_runner-2.9.0.dev115.dist-info → robotcode_runner-2.9.0.dev124.dist-info}/WHEEL +0 -0
- {robotcode_runner-2.9.0.dev115.dist-info → robotcode_runner-2.9.0.dev124.dist-info}/entry_points.txt +0 -0
robotcode/runner/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2.9.0-dev.
|
|
1
|
+
__version__ = "2.9.0-dev.124"
|
|
@@ -390,14 +390,18 @@ def render_log(
|
|
|
390
390
|
out.append("_(no tests matched)_")
|
|
391
391
|
return "\n".join(out) + "\n"
|
|
392
392
|
|
|
393
|
-
|
|
393
|
+
suites_to_show = iter(data.suites or [])
|
|
394
394
|
current_suite: Optional[str] = object() # type: ignore[assignment]
|
|
395
395
|
|
|
396
396
|
for t in data.tests:
|
|
397
397
|
if with_suite_info and t.suite != current_suite:
|
|
398
398
|
current_suite = t.suite
|
|
399
|
-
|
|
400
|
-
|
|
399
|
+
# The suites come in the order of the run, so what comes up to a test's suite are those above it.
|
|
400
|
+
for suite in suites_to_show:
|
|
401
|
+
out.append("")
|
|
402
|
+
out.append(_render_suite_header_md(suite, full_paths=full_paths))
|
|
403
|
+
if suite.full_name == t.suite:
|
|
404
|
+
break
|
|
401
405
|
|
|
402
406
|
out.append("")
|
|
403
407
|
out.append(_test_header_md(t, full_paths=full_paths, show_timing=show_timing, highlight=highlight))
|
|
@@ -465,9 +469,7 @@ def render_log(
|
|
|
465
469
|
return "\n".join(out) + "\n"
|
|
466
470
|
|
|
467
471
|
|
|
468
|
-
def _render_suite_header_md(suite:
|
|
469
|
-
if suite is None:
|
|
470
|
-
return ""
|
|
472
|
+
def _render_suite_header_md(suite: LogSuite, *, full_paths: bool) -> str:
|
|
471
473
|
head = f"## Suite: {md_escape(suite.full_name)}"
|
|
472
474
|
head += path_paren(source=suite.source, rel_source=suite.rel_source, lineno=None, full_paths=full_paths)
|
|
473
475
|
if suite.status:
|
|
@@ -704,8 +704,8 @@ def show(
|
|
|
704
704
|
show_default=True,
|
|
705
705
|
help=(
|
|
706
706
|
"Group tests under suite headers (name, source, Documentation, "
|
|
707
|
-
"Metadata, status). In JSON, populates
|
|
708
|
-
"`suite` reference. Off by default to keep the log compact."
|
|
707
|
+
"Metadata, status), with the suites above them first. In JSON, populates "
|
|
708
|
+
"`suites` and a per-test `suite` reference. Off by default to keep the log compact."
|
|
709
709
|
),
|
|
710
710
|
)
|
|
711
711
|
@pass_application
|
{robotcode_runner-2.9.0.dev115.dist-info → robotcode_runner-2.9.0.dev124.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: robotcode-runner
|
|
3
|
-
Version: 2.9.0-dev.
|
|
3
|
+
Version: 2.9.0-dev.124
|
|
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
|
|
@@ -26,10 +26,10 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
|
26
26
|
Classifier: Topic :: Utilities
|
|
27
27
|
Classifier: Typing :: Typed
|
|
28
28
|
Requires-Python: >=3.10
|
|
29
|
-
Requires-Dist: robotcode-modifiers==2.9.0-dev.
|
|
30
|
-
Requires-Dist: robotcode-plugin==2.9.0-dev.
|
|
31
|
-
Requires-Dist: robotcode-robot==2.9.0-dev.
|
|
32
|
-
Requires-Dist: robotcode==2.9.0-dev.
|
|
29
|
+
Requires-Dist: robotcode-modifiers==2.9.0-dev.124
|
|
30
|
+
Requires-Dist: robotcode-plugin==2.9.0-dev.124
|
|
31
|
+
Requires-Dist: robotcode-robot==2.9.0-dev.124
|
|
32
|
+
Requires-Dist: robotcode==2.9.0-dev.124
|
|
33
33
|
Requires-Dist: robotframework>=5.0.0
|
|
34
34
|
Provides-Extra: html
|
|
35
35
|
Requires-Dist: html-to-markdown>=3.18; extra == 'html'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
robotcode/runner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
robotcode/runner/__version__.py,sha256=
|
|
2
|
+
robotcode/runner/__version__.py,sha256=kB2HCucrVBrLij9hB2UXa9rwCOmEfmeDk12kUWayuAU,30
|
|
3
3
|
robotcode/runner/hooks.py,sha256=MSqEHc3wQIBgCXf9U9B0sA_zE8vbiTdoAlfaWz_3uIo,270
|
|
4
4
|
robotcode/runner/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
|
5
5
|
robotcode/runner/cli/__init__.py,sha256=ozQtrMXxWIlJz3QKZhaGEIDjSCL0TPtF1XeP8WL8HrE,240
|
|
@@ -17,9 +17,9 @@ robotcode/runner/cli/discover/discover.py,sha256=_YFeseR5pGPHIhltiwuNrxbHlk_uCcy
|
|
|
17
17
|
robotcode/runner/cli/results/__init__.py,sha256=aEyNen0WWvq3kF_VTRLz99_B5CMChM0aelpzWKW6Rac,52
|
|
18
18
|
robotcode/runner/cli/results/_html.py,sha256=VxfsMXeHA-CBpcHot-PRxoXXqNDvpJyPItofTRf-J3I,26353
|
|
19
19
|
robotcode/runner/cli/results/_models.py,sha256=ESn9VKIF-mySCnE144wNoYMmYMKuniZKQW5O61lko5I,7458
|
|
20
|
-
robotcode/runner/cli/results/_render.py,sha256=
|
|
21
|
-
robotcode/runner/cli/results/results.py,sha256=
|
|
22
|
-
robotcode_runner-2.9.0.
|
|
23
|
-
robotcode_runner-2.9.0.
|
|
24
|
-
robotcode_runner-2.9.0.
|
|
25
|
-
robotcode_runner-2.9.0.
|
|
20
|
+
robotcode/runner/cli/results/_render.py,sha256=_dkF8RJWXDIc9tPCVFb1VwDSFZJoqwb47258VExhdLs,32609
|
|
21
|
+
robotcode/runner/cli/results/results.py,sha256=lJz8A8IzQGHotoEGk5Y3oI_zhTuuP2jRXMRAEfnVh9E,75538
|
|
22
|
+
robotcode_runner-2.9.0.dev124.dist-info/METADATA,sha256=AeDIjLOY5YhK2TihGmSf54wETxUHUQ44IxIkpFt3ujQ,3060
|
|
23
|
+
robotcode_runner-2.9.0.dev124.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
24
|
+
robotcode_runner-2.9.0.dev124.dist-info/entry_points.txt,sha256=igwjQYHlUfgCN-SohGVeQOnxOtqUzd2Jq94Ie8Se1Aw,44
|
|
25
|
+
robotcode_runner-2.9.0.dev124.dist-info/RECORD,,
|
|
File without changes
|
{robotcode_runner-2.9.0.dev115.dist-info → robotcode_runner-2.9.0.dev124.dist-info}/entry_points.txt
RENAMED
|
File without changes
|