Skip to content

Commit

Permalink
refactor: test command demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Abellegese committed Jan 14, 2025
1 parent 9f34379 commit d6c5689
Show file tree
Hide file tree
Showing 2 changed files with 215 additions and 116 deletions.
8 changes: 8 additions & 0 deletions ersilia/cli/commands/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ def test_cmd():
default=False,
help="This flag is used to check deep checks (such as computational performance checks)",
)
@click.option(
"--as_json",
is_flag=True,
default=False,
help="This flag is used to save the report as json file)",
)
def test(
model,
level,
Expand All @@ -92,6 +98,7 @@ def test(
version,
shallow,
deep,
as_json,
):
mt = ModelTester(
model,
Expand All @@ -103,6 +110,7 @@ def test(
version,
shallow,
deep,
as_json,
)
echo(f"Model testing started for: {model}")
mt.run()
Loading

0 comments on commit d6c5689

Please sign in to comment.