| 1 |
"""Basic Mutation Test Result Reporters.""" |
|
| 2 | ||
| 3 |
from __future__ import annotations |
|
| 4 | ||
| 5 |
from pathlib import Path |
|
| 6 |
from typing import Callable |
|
| 7 | ||
| 8 |
from poodle.data_types import PoodleConfig, TestingResults |
|
| 9 |
from poodle.util import to_json |
|
| 10 | ||
| 11 | ||
| 12 |
def get_include_statuses(config: PoodleConfig, prefix: str) -> set[bool]: |
|
| 13 |
"""Get set of statuses to include in report.""" |
|
| ▸ | 14 |
include_statuses = set() |
|
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:14
@@ -11,7 +11,7 @@
def get_include_statuses(config: PoodleConfig, prefix: str) -> set[bool]:
"""Get set of statuses to include in report."""
- include_statuses = set()
+ include_statuses = None
if config.reporter_opts.get(f"{prefix}_report_found", False):
include_statuses.add(True) # noqa: FBT003
if config.reporter_opts.get(f"{prefix}_report_not_found", True):
|
||
| ▸ | 15 |
if config.reporter_opts.get(f"{prefix}_report_found", False):
|
|
Status: Mutant Found Mutator Name: Keyword Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:15
@@ -12,7 +12,7 @@
def get_include_statuses(config: PoodleConfig, prefix: str) -> set[bool]:
"""Get set of statuses to include in report."""
include_statuses = set()
- if config.reporter_opts.get(f"{prefix}_report_found", False):
+ if config.reporter_opts.get(f"{prefix}_report_found", True):
include_statuses.add(True) # noqa: FBT003
if config.reporter_opts.get(f"{prefix}_report_not_found", True):
include_statuses.add(False) # noqa: FBT003
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:15
@@ -12,7 +12,7 @@
def get_include_statuses(config: PoodleConfig, prefix: str) -> set[bool]:
"""Get set of statuses to include in report."""
include_statuses = set()
- if config.reporter_opts.get(f"{prefix}_report_found", False):
+ if config.reporter_opts.get(f"{prefix}'XX_report_foundXX'", False):
include_statuses.add(True) # noqa: FBT003
if config.reporter_opts.get(f"{prefix}_report_not_found", True):
include_statuses.add(False) # noqa: FBT003
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:15
@@ -12,7 +12,7 @@
def get_include_statuses(config: PoodleConfig, prefix: str) -> set[bool]:
"""Get set of statuses to include in report."""
include_statuses = set()
- if config.reporter_opts.get(f"{prefix}_report_found", False):
+ if None:
include_statuses.add(True) # noqa: FBT003
if config.reporter_opts.get(f"{prefix}_report_not_found", True):
include_statuses.add(False) # noqa: FBT003
|
||
| ▸ | 16 |
include_statuses.add(True) # noqa: FBT003 |
|
Status: Mutant Found Mutator Name: Keyword Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:16
@@ -13,7 +13,7 @@
"""Get set of statuses to include in report."""
include_statuses = set()
if config.reporter_opts.get(f"{prefix}_report_found", False):
- include_statuses.add(True) # noqa: FBT003
+ include_statuses.add(False) # noqa: FBT003
if config.reporter_opts.get(f"{prefix}_report_not_found", True):
include_statuses.add(False) # noqa: FBT003
return include_statuses
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:16
@@ -13,7 +13,7 @@
"""Get set of statuses to include in report."""
include_statuses = set()
if config.reporter_opts.get(f"{prefix}_report_found", False):
- include_statuses.add(True) # noqa: FBT003
+ None # noqa: FBT003
if config.reporter_opts.get(f"{prefix}_report_not_found", True):
include_statuses.add(False) # noqa: FBT003
return include_statuses
|
||
| ▸ | 17 |
if config.reporter_opts.get(f"{prefix}_report_not_found", True):
|
|
Status: Mutant Found Mutator Name: Keyword Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:17
@@ -14,7 +14,7 @@
include_statuses = set()
if config.reporter_opts.get(f"{prefix}_report_found", False):
include_statuses.add(True) # noqa: FBT003
- if config.reporter_opts.get(f"{prefix}_report_not_found", True):
+ if config.reporter_opts.get(f"{prefix}_report_not_found", False):
include_statuses.add(False) # noqa: FBT003
return include_statuses
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:17
@@ -14,7 +14,7 @@
include_statuses = set()
if config.reporter_opts.get(f"{prefix}_report_found", False):
include_statuses.add(True) # noqa: FBT003
- if config.reporter_opts.get(f"{prefix}_report_not_found", True):
+ if config.reporter_opts.get(f"{prefix}'XX_report_not_foundXX'", True):
include_statuses.add(False) # noqa: FBT003
return include_statuses
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:17
@@ -14,7 +14,7 @@
include_statuses = set()
if config.reporter_opts.get(f"{prefix}_report_found", False):
include_statuses.add(True) # noqa: FBT003
- if config.reporter_opts.get(f"{prefix}_report_not_found", True):
+ if None:
include_statuses.add(False) # noqa: FBT003
return include_statuses
|
||
| ▸ | 18 |
include_statuses.add(False) # noqa: FBT003 |
|
Status: Mutant Found Mutator Name: Keyword Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:18
@@ -15,7 +15,7 @@
if config.reporter_opts.get(f"{prefix}_report_found", False):
include_statuses.add(True) # noqa: FBT003
if config.reporter_opts.get(f"{prefix}_report_not_found", True):
- include_statuses.add(False) # noqa: FBT003
+ include_statuses.add(True) # noqa: FBT003
return include_statuses
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:18
@@ -15,7 +15,7 @@
if config.reporter_opts.get(f"{prefix}_report_found", False):
include_statuses.add(True) # noqa: FBT003
if config.reporter_opts.get(f"{prefix}_report_not_found", True):
- include_statuses.add(False) # noqa: FBT003
+ None # noqa: FBT003
return include_statuses
|
||
| ▸ | 19 |
return include_statuses |
|
Status: Mutant Found Mutator Name: Return Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:19
@@ -16,7 +16,7 @@
include_statuses.add(True) # noqa: FBT003
if config.reporter_opts.get(f"{prefix}_report_not_found", True):
include_statuses.add(False) # noqa: FBT003
- return include_statuses
+ return None
def report_summary(echo: Callable, testing_results: TestingResults, *_, **__) -> None:
|
||
| 20 | ||
| 21 | ||
| 22 |
def report_summary(echo: Callable, testing_results: TestingResults, *_, **__) -> None: |
|
| 23 |
"""Echo quick summary to console.""" |
|
| ▸ | 24 |
echo("")
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:24
@@ -21,7 +21,7 @@
def report_summary(echo: Callable, testing_results: TestingResults, *_, **__) -> None:
"""Echo quick summary to console."""
- echo("")
+ echo('XXXX')
summary = testing_results.summary
if summary.trials < 1:
echo("!!! No mutants found to test !!!", fg="yellow")
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:24
@@ -21,7 +21,7 @@
def report_summary(echo: Callable, testing_results: TestingResults, *_, **__) -> None:
"""Echo quick summary to console."""
- echo("")
+ None
summary = testing_results.summary
if summary.trials < 1:
echo("!!! No mutants found to test !!!", fg="yellow")
|
||
| 25 |
summary = testing_results.summary |
|
| ▸ | 26 |
if summary.trials < 1: |
|
Status: Mutant Found Mutator Name: Compare Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:26
@@ -23,7 +23,7 @@
"""Echo quick summary to console."""
echo("")
summary = testing_results.summary
- if summary.trials < 1:
+ if summary.trials >= 1:
echo("!!! No mutants found to test !!!", fg="yellow")
return
Status: Mutant Not Found Mutator Name: Compare Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:26
@@ -23,7 +23,7 @@
"""Echo quick summary to console."""
echo("")
summary = testing_results.summary
- if summary.trials < 1:
+ if summary.trials <= 1:
echo("!!! No mutants found to test !!!", fg="yellow")
return
Status: Mutant Not Found Mutator Name: Number Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:26
@@ -23,7 +23,7 @@
"""Echo quick summary to console."""
echo("")
summary = testing_results.summary
- if summary.trials < 1:
+ if summary.trials < 2:
echo("!!! No mutants found to test !!!", fg="yellow")
return
Status: Mutant Found Mutator Name: Number Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:26
@@ -23,7 +23,7 @@
"""Echo quick summary to console."""
echo("")
summary = testing_results.summary
- if summary.trials < 1:
+ if summary.trials < 0:
echo("!!! No mutants found to test !!!", fg="yellow")
return
|
||
| ▸ | 27 |
echo("!!! No mutants found to test !!!", fg="yellow")
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:27
@@ -24,7 +24,7 @@
echo("")
summary = testing_results.summary
if summary.trials < 1:
- echo("!!! No mutants found to test !!!", fg="yellow")
+ echo('XX!!! No mutants found to test !!!XX', fg="yellow")
return
echo("*** Results Summary ***", fg="green")
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:27
@@ -24,7 +24,7 @@
echo("")
summary = testing_results.summary
if summary.trials < 1:
- echo("!!! No mutants found to test !!!", fg="yellow")
+ echo("!!! No mutants found to test !!!", fg='XXyellowXX')
return
echo("*** Results Summary ***", fg="green")
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:27
@@ -24,7 +24,7 @@
echo("")
summary = testing_results.summary
if summary.trials < 1:
- echo("!!! No mutants found to test !!!", fg="yellow")
+ None
return
echo("*** Results Summary ***", fg="green")
|
||
| 28 |
return |
|
| 29 | ||
| ▸ | 30 |
echo("*** Results Summary ***", fg="green")
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:30
@@ -27,7 +27,7 @@
echo("!!! No mutants found to test !!!", fg="yellow")
return
- echo("*** Results Summary ***", fg="green")
+ echo('XX*** Results Summary ***XX', fg="green")
echo(f"Testing found {summary.success_rate:.1%} of Mutants.")
if summary.not_found:
echo(f" - {summary.not_found} mutant(s) were not found.")
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:30
@@ -27,7 +27,7 @@
echo("!!! No mutants found to test !!!", fg="yellow")
return
- echo("*** Results Summary ***", fg="green")
+ echo("*** Results Summary ***", fg='XXgreenXX')
echo(f"Testing found {summary.success_rate:.1%} of Mutants.")
if summary.not_found:
echo(f" - {summary.not_found} mutant(s) were not found.")
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:30
@@ -27,7 +27,7 @@
echo("!!! No mutants found to test !!!", fg="yellow")
return
- echo("*** Results Summary ***", fg="green")
+ None
echo(f"Testing found {summary.success_rate:.1%} of Mutants.")
if summary.not_found:
echo(f" - {summary.not_found} mutant(s) were not found.")
|
||
| ▸ | 31 |
echo(f"Testing found {summary.success_rate:.1%} of Mutants.")
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:31
@@ -28,7 +28,7 @@
return
echo("*** Results Summary ***", fg="green")
- echo(f"Testing found {summary.success_rate:.1%} of Mutants.")
+ echo(f"'XXTesting found XX'{summary.success_rate:.1%} of Mutants.")
if summary.not_found:
echo(f" - {summary.not_found} mutant(s) were not found.")
if summary.timeout:
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:31
@@ -28,7 +28,7 @@
return
echo("*** Results Summary ***", fg="green")
- echo(f"Testing found {summary.success_rate:.1%} of Mutants.")
+ echo(f"Testing found {summary.success_rate:'XX.1%XX'} of Mutants.")
if summary.not_found:
echo(f" - {summary.not_found} mutant(s) were not found.")
if summary.timeout:
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:31
@@ -28,7 +28,7 @@
return
echo("*** Results Summary ***", fg="green")
- echo(f"Testing found {summary.success_rate:.1%} of Mutants.")
+ echo(f"Testing found {summary.success_rate:.1%}'XX of Mutants.XX'")
if summary.not_found:
echo(f" - {summary.not_found} mutant(s) were not found.")
if summary.timeout:
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:31
@@ -28,7 +28,7 @@
return
echo("*** Results Summary ***", fg="green")
- echo(f"Testing found {summary.success_rate:.1%} of Mutants.")
+ None
if summary.not_found:
echo(f" - {summary.not_found} mutant(s) were not found.")
if summary.timeout:
|
||
| 32 |
if summary.not_found: |
|
| ▸ | 33 |
echo(f" - {summary.not_found} mutant(s) were not found.")
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:33
@@ -30,7 +30,7 @@
echo("*** Results Summary ***", fg="green")
echo(f"Testing found {summary.success_rate:.1%} of Mutants.")
if summary.not_found:
- echo(f" - {summary.not_found} mutant(s) were not found.")
+ echo(f"'XX - XX'{summary.not_found} mutant(s) were not found.")
if summary.timeout:
echo(f" - {summary.timeout} mutant(s) caused trial to timeout.")
if summary.errors:
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:33
@@ -30,7 +30,7 @@
echo("*** Results Summary ***", fg="green")
echo(f"Testing found {summary.success_rate:.1%} of Mutants.")
if summary.not_found:
- echo(f" - {summary.not_found} mutant(s) were not found.")
+ echo(f" - {summary.not_found}'XX mutant(s) were not found.XX'")
if summary.timeout:
echo(f" - {summary.timeout} mutant(s) caused trial to timeout.")
if summary.errors:
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:33
@@ -30,7 +30,7 @@
echo("*** Results Summary ***", fg="green")
echo(f"Testing found {summary.success_rate:.1%} of Mutants.")
if summary.not_found:
- echo(f" - {summary.not_found} mutant(s) were not found.")
+ None
if summary.timeout:
echo(f" - {summary.timeout} mutant(s) caused trial to timeout.")
if summary.errors:
|
||
| 34 |
if summary.timeout: |
|
| ▸ | 35 |
echo(f" - {summary.timeout} mutant(s) caused trial to timeout.")
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:35
@@ -32,7 +32,7 @@
if summary.not_found:
echo(f" - {summary.not_found} mutant(s) were not found.")
if summary.timeout:
- echo(f" - {summary.timeout} mutant(s) caused trial to timeout.")
+ echo(f"'XX - XX'{summary.timeout} mutant(s) caused trial to timeout.")
if summary.errors:
echo(f" - {summary.errors} mutant(s) could not be tested due to an error.")
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:35
@@ -32,7 +32,7 @@
if summary.not_found:
echo(f" - {summary.not_found} mutant(s) were not found.")
if summary.timeout:
- echo(f" - {summary.timeout} mutant(s) caused trial to timeout.")
+ echo(f" - {summary.timeout}'XX mutant(s) caused trial to timeout.XX'")
if summary.errors:
echo(f" - {summary.errors} mutant(s) could not be tested due to an error.")
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:35
@@ -32,7 +32,7 @@
if summary.not_found:
echo(f" - {summary.not_found} mutant(s) were not found.")
if summary.timeout:
- echo(f" - {summary.timeout} mutant(s) caused trial to timeout.")
+ None
if summary.errors:
echo(f" - {summary.errors} mutant(s) could not be tested due to an error.")
|
||
| 36 |
if summary.errors: |
|
| ▸ | 37 |
echo(f" - {summary.errors} mutant(s) could not be tested due to an error.")
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:37
@@ -34,7 +34,7 @@
if summary.timeout:
echo(f" - {summary.timeout} mutant(s) caused trial to timeout.")
if summary.errors:
- echo(f" - {summary.errors} mutant(s) could not be tested due to an error.")
+ echo(f"'XX - XX'{summary.errors} mutant(s) could not be tested due to an error.")
def report_not_found(config: PoodleConfig, echo: Callable, testing_results: TestingResults, *_, **__) -> None:
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:37
@@ -34,7 +34,7 @@
if summary.timeout:
echo(f" - {summary.timeout} mutant(s) caused trial to timeout.")
if summary.errors:
- echo(f" - {summary.errors} mutant(s) could not be tested due to an error.")
+ echo(f" - {summary.errors}'XX mutant(s) could not be tested due to an error.XX'")
def report_not_found(config: PoodleConfig, echo: Callable, testing_results: TestingResults, *_, **__) -> None:
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:37
@@ -34,7 +34,7 @@
if summary.timeout:
echo(f" - {summary.timeout} mutant(s) caused trial to timeout.")
if summary.errors:
- echo(f" - {summary.errors} mutant(s) could not be tested due to an error.")
+ None
def report_not_found(config: PoodleConfig, echo: Callable, testing_results: TestingResults, *_, **__) -> None:
|
||
| 38 | ||
| 39 | ||
| 40 |
def report_not_found(config: PoodleConfig, echo: Callable, testing_results: TestingResults, *_, **__) -> None: |
|
| 41 |
"""Echo information about Trials that did not pass.""" |
|
| ▸ | 42 |
failed_trials = [trial for trial in testing_results.mutant_trials if not trial.result.found] |
|
Status: Mutant Found Mutator Name: UnaryOp Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:42
@@ -39,7 +39,7 @@
def report_not_found(config: PoodleConfig, echo: Callable, testing_results: TestingResults, *_, **__) -> None:
"""Echo information about Trials that did not pass."""
- failed_trials = [trial for trial in testing_results.mutant_trials if not trial.result.found]
+ failed_trials = [trial for trial in testing_results.mutant_trials if trial.result.found]
if not failed_trials:
return
|
||
| ▸ | 43 |
if not failed_trials: |
|
Status: Mutant Found Mutator Name: UnaryOp Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:43
@@ -40,7 +40,7 @@
def report_not_found(config: PoodleConfig, echo: Callable, testing_results: TestingResults, *_, **__) -> None:
"""Echo information about Trials that did not pass."""
failed_trials = [trial for trial in testing_results.mutant_trials if not trial.result.found]
- if not failed_trials:
+ if failed_trials:
return
failed_trials.sort(
|
||
| 44 |
return |
|
| 45 | ||
| ▸ | 46 |
failed_trials.sort( |
|
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:46
@@ -43,14 +43,7 @@
if not failed_trials:
return
- failed_trials.sort(
- key=lambda trial: (
- trial.mutant.source_folder,
- str(trial.mutant.source_file) or "",
- trial.mutant.lineno,
- trial.mutant.mutator_name,
- )
- )
+ None
not_found_file = config.reporter_opts.get("not_found_file")
|
||
| ▸ | 47 |
key=lambda trial: ( |
|
Status: Mutant Found Mutator Name: Lambda Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:47
@@ -44,12 +44,7 @@
return
failed_trials.sort(
- key=lambda trial: (
- trial.mutant.source_folder,
- str(trial.mutant.source_file) or "",
- trial.mutant.lineno,
- trial.mutant.mutator_name,
- )
+ key=lambda trial: None
)
not_found_file = config.reporter_opts.get("not_found_file")
|
||
| 48 |
trial.mutant.source_folder, |
|
| ▸ | 49 |
str(trial.mutant.source_file) or "", |
|
Status: Mutant Not Found Mutator Name: Compare Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:49
@@ -46,7 +46,7 @@
failed_trials.sort(
key=lambda trial: (
trial.mutant.source_folder,
- str(trial.mutant.source_file) or "",
+ str(trial.mutant.source_file) and '',
trial.mutant.lineno,
trial.mutant.mutator_name,
)
Status: Mutant Not Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:49
@@ -46,7 +46,7 @@
failed_trials.sort(
key=lambda trial: (
trial.mutant.source_folder,
- str(trial.mutant.source_file) or "",
+ str(trial.mutant.source_file) or 'XXXX',
trial.mutant.lineno,
trial.mutant.mutator_name,
)
|
||
| 50 |
trial.mutant.lineno, |
|
| 51 |
trial.mutant.mutator_name, |
|
| 52 |
) |
|
| 53 |
) |
|
| 54 | ||
| ▸ | 55 |
not_found_file = config.reporter_opts.get("not_found_file")
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:55
@@ -52,7 +52,7 @@
)
)
- not_found_file = config.reporter_opts.get("not_found_file")
+ not_found_file = config.reporter_opts.get('XXnot_found_fileXX')
echo("", file=not_found_file)
echo("*** Mutants Not Found ***", fg="yellow", file=not_found_file)
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:55
@@ -52,7 +52,7 @@
)
)
- not_found_file = config.reporter_opts.get("not_found_file")
+ not_found_file = None
echo("", file=not_found_file)
echo("*** Mutants Not Found ***", fg="yellow", file=not_found_file)
|
||
| 56 | ||
| ▸ | 57 |
echo("", file=not_found_file)
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:57
@@ -54,7 +54,7 @@
not_found_file = config.reporter_opts.get("not_found_file")
- echo("", file=not_found_file)
+ echo('XXXX', file=not_found_file)
echo("*** Mutants Not Found ***", fg="yellow", file=not_found_file)
for trial in failed_trials:
mutant = trial.mutant
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:57
@@ -54,7 +54,7 @@
not_found_file = config.reporter_opts.get("not_found_file")
- echo("", file=not_found_file)
+ None
echo("*** Mutants Not Found ***", fg="yellow", file=not_found_file)
for trial in failed_trials:
mutant = trial.mutant
|
||
| ▸ | 58 |
echo("*** Mutants Not Found ***", fg="yellow", file=not_found_file)
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:58
@@ -55,7 +55,7 @@
not_found_file = config.reporter_opts.get("not_found_file")
echo("", file=not_found_file)
- echo("*** Mutants Not Found ***", fg="yellow", file=not_found_file)
+ echo('XX*** Mutants Not Found ***XX', fg="yellow", file=not_found_file)
for trial in failed_trials:
mutant = trial.mutant
result = trial.result
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:58
@@ -55,7 +55,7 @@
not_found_file = config.reporter_opts.get("not_found_file")
echo("", file=not_found_file)
- echo("*** Mutants Not Found ***", fg="yellow", file=not_found_file)
+ echo("*** Mutants Not Found ***", fg='XXyellowXX', file=not_found_file)
for trial in failed_trials:
mutant = trial.mutant
result = trial.result
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:58
@@ -55,7 +55,7 @@
not_found_file = config.reporter_opts.get("not_found_file")
echo("", file=not_found_file)
- echo("*** Mutants Not Found ***", fg="yellow", file=not_found_file)
+ None
for trial in failed_trials:
mutant = trial.mutant
result = trial.result
|
||
| 59 |
for trial in failed_trials: |
|
| 60 |
mutant = trial.mutant |
|
| 61 |
result = trial.result |
|
| 62 | ||
| ▸ | 63 |
echo("", file=not_found_file)
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:63
@@ -60,7 +60,7 @@
mutant = trial.mutant
result = trial.result
- echo("", file=not_found_file)
+ echo('XXXX', file=not_found_file)
echo(
f"Mutant Trial Result: {result.reason_code}",
file=not_found_file,
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:63
@@ -60,7 +60,7 @@
mutant = trial.mutant
result = trial.result
- echo("", file=not_found_file)
+ None
echo(
f"Mutant Trial Result: {result.reason_code}",
file=not_found_file,
|
||
| ▸ | 64 |
echo( |
|
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:64
@@ -61,10 +61,7 @@
result = trial.result
echo("", file=not_found_file)
- echo(
- f"Mutant Trial Result: {result.reason_code}",
- file=not_found_file,
- )
+ None
echo(f"Mutator: {mutant.mutator_name}", file=not_found_file)
if result.reason_desc:
echo(result.reason_desc, file=not_found_file)
|
||
| ▸ | 65 |
f"Mutant Trial Result: {result.reason_code}",
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:65
@@ -62,7 +62,7 @@
echo("", file=not_found_file)
echo(
- f"Mutant Trial Result: {result.reason_code}",
+ f"'XXMutant Trial Result: XX'{result.reason_code}",
file=not_found_file,
)
echo(f"Mutator: {mutant.mutator_name}", file=not_found_file)
|
||
| 66 |
file=not_found_file, |
|
| 67 |
) |
|
| ▸ | 68 |
echo(f"Mutator: {mutant.mutator_name}", file=not_found_file)
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:68
@@ -65,7 +65,7 @@
f"Mutant Trial Result: {result.reason_code}",
file=not_found_file,
)
- echo(f"Mutator: {mutant.mutator_name}", file=not_found_file)
+ echo(f"'XXMutator: XX'{mutant.mutator_name}", file=not_found_file)
if result.reason_desc:
echo(result.reason_desc, file=not_found_file)
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:68
@@ -65,7 +65,7 @@
f"Mutant Trial Result: {result.reason_code}",
file=not_found_file,
)
- echo(f"Mutator: {mutant.mutator_name}", file=not_found_file)
+ None
if result.reason_desc:
echo(result.reason_desc, file=not_found_file)
|
||
| 69 |
if result.reason_desc: |
|
| ▸ | 70 |
echo(result.reason_desc, file=not_found_file) |
|
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:70
@@ -67,7 +67,7 @@
)
echo(f"Mutator: {mutant.mutator_name}", file=not_found_file)
if result.reason_desc:
- echo(result.reason_desc, file=not_found_file)
+ None
if mutant.unified_diff:
echo(mutant.unified_diff, file=not_found_file)
|
||
| 71 | ||
| 72 |
if mutant.unified_diff: |
|
| ▸ | 73 |
echo(mutant.unified_diff, file=not_found_file) |
|
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:73
@@ -70,7 +70,7 @@
echo(result.reason_desc, file=not_found_file)
if mutant.unified_diff:
- echo(mutant.unified_diff, file=not_found_file)
+ None
else:
echo(
f"source_file={mutant.source_file} lineno={mutant.lineno} col_offset={mutant.col_offset} "
|
||
| 74 |
else: |
|
| ▸ | 75 |
echo( |
|
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:75
@@ -72,11 +72,7 @@
if mutant.unified_diff:
echo(mutant.unified_diff, file=not_found_file)
else:
- echo(
- f"source_file={mutant.source_file} lineno={mutant.lineno} col_offset={mutant.col_offset} "
- f"end_lineno={mutant.end_lineno} end_col_offset={mutant.end_col_offset}",
- file=not_found_file,
- )
+ None
echo("text:", file=not_found_file)
echo(mutant.text, file=not_found_file)
|
||
| ▸ | 76 |
f"source_file={mutant.source_file} lineno={mutant.lineno} col_offset={mutant.col_offset} "
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:76
@@ -73,7 +73,7 @@
echo(mutant.unified_diff, file=not_found_file)
else:
echo(
- f"source_file={mutant.source_file} lineno={mutant.lineno} col_offset={mutant.col_offset} "
+ f"'XXsource_file=XX'{mutant.source_file} lineno={mutant.lineno} col_offset={mutant.col_offset} "
f"end_lineno={mutant.end_lineno} end_col_offset={mutant.end_col_offset}",
file=not_found_file,
)
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:76
@@ -73,7 +73,7 @@
echo(mutant.unified_diff, file=not_found_file)
else:
echo(
- f"source_file={mutant.source_file} lineno={mutant.lineno} col_offset={mutant.col_offset} "
+ f"source_file={mutant.source_file}'XX lineno=XX'{mutant.lineno} col_offset={mutant.col_offset} "
f"end_lineno={mutant.end_lineno} end_col_offset={mutant.end_col_offset}",
file=not_found_file,
)
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:76
@@ -73,7 +73,7 @@
echo(mutant.unified_diff, file=not_found_file)
else:
echo(
- f"source_file={mutant.source_file} lineno={mutant.lineno} col_offset={mutant.col_offset} "
+ f"source_file={mutant.source_file} lineno={mutant.lineno}'XX col_offset=XX'{mutant.col_offset} "
f"end_lineno={mutant.end_lineno} end_col_offset={mutant.end_col_offset}",
file=not_found_file,
)
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:76
@@ -73,8 +73,7 @@
echo(mutant.unified_diff, file=not_found_file)
else:
echo(
- f"source_file={mutant.source_file} lineno={mutant.lineno} col_offset={mutant.col_offset} "
- f"end_lineno={mutant.end_lineno} end_col_offset={mutant.end_col_offset}",
+ f"source_file={mutant.source_file} lineno={mutant.lineno} col_offset={mutant.col_offset}'XX end_lineno=XX'{mutant.end_lineno} end_col_offset={mutant.end_col_offset}",
file=not_found_file,
)
echo("text:", file=not_found_file)
|
||
| ▸ | 77 |
f"end_lineno={mutant.end_lineno} end_col_offset={mutant.end_col_offset}",
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:77
@@ -74,7 +74,7 @@
else:
echo(
f"source_file={mutant.source_file} lineno={mutant.lineno} col_offset={mutant.col_offset} "
- f"end_lineno={mutant.end_lineno} end_col_offset={mutant.end_col_offset}",
+ f"end_lineno={mutant.end_lineno}'XX end_col_offset=XX'{mutant.end_col_offset}",
file=not_found_file,
)
echo("text:", file=not_found_file)
|
||
| 78 |
file=not_found_file, |
|
| 79 |
) |
|
| ▸ | 80 |
echo("text:", file=not_found_file)
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:80
@@ -77,7 +77,7 @@
f"end_lineno={mutant.end_lineno} end_col_offset={mutant.end_col_offset}",
file=not_found_file,
)
- echo("text:", file=not_found_file)
+ echo('XXtext:XX', file=not_found_file)
echo(mutant.text, file=not_found_file)
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:80
@@ -77,7 +77,7 @@
f"end_lineno={mutant.end_lineno} end_col_offset={mutant.end_col_offset}",
file=not_found_file,
)
- echo("text:", file=not_found_file)
+ None
echo(mutant.text, file=not_found_file)
|
||
| ▸ | 81 |
echo(mutant.text, file=not_found_file) |
|
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:81
@@ -78,7 +78,7 @@
file=not_found_file,
)
echo("text:", file=not_found_file)
- echo(mutant.text, file=not_found_file)
+ None
def report_json(config: PoodleConfig, echo: Callable, testing_results: TestingResults, *_, **__) -> None:
|
||
| 82 | ||
| 83 | ||
| 84 |
def report_json(config: PoodleConfig, echo: Callable, testing_results: TestingResults, *_, **__) -> None: |
|
| 85 |
"""Create JSON file with test results.""" |
|
| ▸ | 86 |
include_statuses = get_include_statuses(config, "json") |
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:86
@@ -83,7 +83,7 @@
def report_json(config: PoodleConfig, echo: Callable, testing_results: TestingResults, *_, **__) -> None:
"""Create JSON file with test results."""
- include_statuses = get_include_statuses(config, "json")
+ include_statuses = get_include_statuses(config, 'XXjsonXX')
mutant_trials = [trial for trial in testing_results.mutant_trials if trial.result.found in include_statuses]
out_results = TestingResults(
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:86
@@ -83,7 +83,7 @@
def report_json(config: PoodleConfig, echo: Callable, testing_results: TestingResults, *_, **__) -> None:
"""Create JSON file with test results."""
- include_statuses = get_include_statuses(config, "json")
+ include_statuses = None
mutant_trials = [trial for trial in testing_results.mutant_trials if trial.result.found in include_statuses]
out_results = TestingResults(
|
||
| ▸ | 87 |
mutant_trials = [trial for trial in testing_results.mutant_trials if trial.result.found in include_statuses] |
|
Status: Mutant Found Mutator Name: Compare Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:87
@@ -84,7 +84,7 @@
def report_json(config: PoodleConfig, echo: Callable, testing_results: TestingResults, *_, **__) -> None:
"""Create JSON file with test results."""
include_statuses = get_include_statuses(config, "json")
- mutant_trials = [trial for trial in testing_results.mutant_trials if trial.result.found in include_statuses]
+ mutant_trials = [trial for trial in testing_results.mutant_trials if trial.result.found not in include_statuses]
out_results = TestingResults(
summary=testing_results.summary # type: ignore [arg-type]
|
||
| 88 | ||
| ▸ | 89 |
out_results = TestingResults( |
|
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:89
@@ -86,12 +86,7 @@
include_statuses = get_include_statuses(config, "json")
mutant_trials = [trial for trial in testing_results.mutant_trials if trial.result.found in include_statuses]
- out_results = TestingResults(
- summary=testing_results.summary # type: ignore [arg-type]
- if config.reporter_opts.get("json_include_summary", True)
- else None,
- mutant_trials=mutant_trials,
- )
+ out_results = None
json_file = config.reporter_opts.get("json_report_file", "mutation-testing-report.json")
if json_file == "sysout":
|
||
| 90 |
summary=testing_results.summary # type: ignore [arg-type] |
|
| ▸ | 91 |
if config.reporter_opts.get("json_include_summary", True)
|
|
Status: Mutant Found Mutator Name: Keyword Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:91
@@ -88,7 +88,7 @@
out_results = TestingResults(
summary=testing_results.summary # type: ignore [arg-type]
- if config.reporter_opts.get("json_include_summary", True)
+ if config.reporter_opts.get("json_include_summary", False)
else None,
mutant_trials=mutant_trials,
)
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:91
@@ -88,7 +88,7 @@
out_results = TestingResults(
summary=testing_results.summary # type: ignore [arg-type]
- if config.reporter_opts.get("json_include_summary", True)
+ if config.reporter_opts.get('XXjson_include_summaryXX', True)
else None,
mutant_trials=mutant_trials,
)
|
||
| ▸ | 92 |
else None, |
|
Status: Mutant Found Mutator Name: Keyword Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:92
@@ -89,7 +89,7 @@
out_results = TestingResults(
summary=testing_results.summary # type: ignore [arg-type]
if config.reporter_opts.get("json_include_summary", True)
- else None,
+ else ' ',
mutant_trials=mutant_trials,
)
|
||
| 93 |
mutant_trials=mutant_trials, |
|
| 94 |
) |
|
| 95 | ||
| ▸ | 96 |
json_file = config.reporter_opts.get("json_report_file", "mutation-testing-report.json")
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:96
@@ -93,7 +93,7 @@
mutant_trials=mutant_trials,
)
- json_file = config.reporter_opts.get("json_report_file", "mutation-testing-report.json")
+ json_file = config.reporter_opts.get('XXjson_report_fileXX', "mutation-testing-report.json")
if json_file == "sysout":
echo(to_json(out_results, indent=4))
else:
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:96
@@ -93,7 +93,7 @@
mutant_trials=mutant_trials,
)
- json_file = config.reporter_opts.get("json_report_file", "mutation-testing-report.json")
+ json_file = config.reporter_opts.get("json_report_file", 'XXmutation-testing-report.jsonXX')
if json_file == "sysout":
echo(to_json(out_results, indent=4))
else:
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:96
@@ -93,7 +93,7 @@
mutant_trials=mutant_trials,
)
- json_file = config.reporter_opts.get("json_report_file", "mutation-testing-report.json")
+ json_file = None
if json_file == "sysout":
echo(to_json(out_results, indent=4))
else:
|
||
| ▸ | 97 |
if json_file == "sysout": |
|
Status: Mutant Found Mutator Name: Compare Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:97
@@ -94,7 +94,7 @@
)
json_file = config.reporter_opts.get("json_report_file", "mutation-testing-report.json")
- if json_file == "sysout":
+ if json_file != 'sysout':
echo(to_json(out_results, indent=4))
else:
Path(json_file).write_text(to_json(out_results))
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:97
@@ -94,7 +94,7 @@
)
json_file = config.reporter_opts.get("json_report_file", "mutation-testing-report.json")
- if json_file == "sysout":
+ if json_file == 'XXsysoutXX':
echo(to_json(out_results, indent=4))
else:
Path(json_file).write_text(to_json(out_results))
|
||
| ▸ | 98 |
echo(to_json(out_results, indent=4)) |
|
Status: Mutant Found Mutator Name: Number Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:98
@@ -95,7 +95,7 @@
json_file = config.reporter_opts.get("json_report_file", "mutation-testing-report.json")
if json_file == "sysout":
- echo(to_json(out_results, indent=4))
+ echo(to_json(out_results, indent=5))
else:
Path(json_file).write_text(to_json(out_results))
Status: Mutant Found Mutator Name: Number Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:98
@@ -95,7 +95,7 @@
json_file = config.reporter_opts.get("json_report_file", "mutation-testing-report.json")
if json_file == "sysout":
- echo(to_json(out_results, indent=4))
+ echo(to_json(out_results, indent=3))
else:
Path(json_file).write_text(to_json(out_results))
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:98
@@ -95,7 +95,7 @@
json_file = config.reporter_opts.get("json_report_file", "mutation-testing-report.json")
if json_file == "sysout":
- echo(to_json(out_results, indent=4))
+ None
else:
Path(json_file).write_text(to_json(out_results))
|
||
| 99 |
else: |
|
| ▸ | 100 |
Path(json_file).write_text(to_json(out_results)) |
|
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:100
@@ -97,6 +97,6 @@
if json_file == "sysout":
echo(to_json(out_results, indent=4))
else:
- Path(json_file).write_text(to_json(out_results))
+ None
echo(f"JSON report written to {json_file!s}", fg="green")
|
||
| 101 | ||
| ▸ | 102 |
echo(f"JSON report written to {json_file!s}", fg="green")
|
|
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:102
@@ -99,4 +99,4 @@
else:
Path(json_file).write_text(to_json(out_results))
- echo(f"JSON report written to {json_file!s}", fg="green")
+ echo(f"'XXJSON report written to XX'{json_file!s}", fg="green")
Status: Mutant Found Mutator Name: String Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:102
@@ -99,4 +99,4 @@
else:
Path(json_file).write_text(to_json(out_results))
- echo(f"JSON report written to {json_file!s}", fg="green")
+ echo(f"JSON report written to {json_file!s}", fg='XXgreenXX')
Status: Mutant Found Mutator Name: FuncCall Unified Diff: --- src\poodle\reporters\basic.py
+++ [Mutant] src\poodle\reporters\basic.py:102
@@ -99,4 +99,4 @@
else:
Path(json_file).write_text(to_json(out_results))
- echo(f"JSON report written to {json_file!s}", fg="green")
+ None
|