Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed Jun 28, 2024
1 parent 77d5e91 commit f39c657
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_cmd_test_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,12 @@ def test_allure(self):
assert os.path.exists(results_path)
assert os.path.isdir(results_path)
assert len(os.listdir(results_path))

def test_markdown(self):
with self._isolate() as f:
json_path = os.path.join(TEST_DATA_DIR, "issue381.json")
results_path = os.path.join(f, "markdown_results")
self._check_exit_code(["test_reports", "--test_output_minimal_markdown", results_path, json_path], exit_code=0)
assert os.path.exists(results_path)
assert os.path.isdir(results_path)
assert len(os.listdir(results_path))

0 comments on commit f39c657

Please sign in to comment.