From 80725970e7780541b59c1cfdcfe3ab87c8b926d5 Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Wed, 20 May 2026 14:21:01 -0700 Subject: [PATCH] tests: Add test coverage output Show per file test coverage when running "make test" --- Makefile | 2 +- setup.cfg | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a8add58..36f560f 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,6 @@ man: done test: - $(PYTHON) -m pytest tests/ + $(PYTHON) -m pytest --cov=revup --cov-report=term-missing tests/ .PHONY: all deps man install package format check_format check_types pylint lint clean diff --git a/setup.cfg b/setup.cfg index 42b331b..984b5c2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -64,6 +64,7 @@ dev = build twine pytest + pytest-cov pytest-mock [options.packages.find]