From db847c6ed77aff30fe40a8677ca9a606560e9ef8 Mon Sep 17 00:00:00 2001 From: Alex Laird Date: Thu, 5 Dec 2024 16:20:36 -0600 Subject: [PATCH] Pivot to pytest for better testing output, add mutmut for mutation testing. --- .gitignore | 1 + Makefile | 2 +- pyproject.toml | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index aa1222e9..425c9f2c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ dist/ MANIFEST *.egg-info build +mutants/ pyngrok/bin tests/.ngrok diff --git a/Makefile b/Makefile index f52076bf..13f06d55 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ test: install @( \ source $(PROJECT_VENV)/bin/activate; \ python -m pip install ".[dev]"; \ - coverage run -m unittest discover -v -b && coverage report && coverage xml && coverage html; \ + coverage run -m pytest -v && coverage report && coverage xml && coverage html; \ ) docs: install diff --git a/pyproject.toml b/pyproject.toml index bd190406..465bd95a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,9 @@ classifiers = [ [project.optional-dependencies] dev = [ + "pytest", "coverage[toml]", + "mutmut", "psutil", "flake8", "flake8-pyproject",