From ee2ab5459ddb0a32c3467b88c9c628611eb55073 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Sat, 2 Sep 2023 13:04:53 +0100 Subject: [PATCH] Tweak how tests are run with nox --- noxfile.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 27119224..98d671a0 100644 --- a/noxfile.py +++ b/noxfile.py @@ -98,7 +98,12 @@ def lint(session): def test(session): session.install("-e", ".", "-r", "tests/requirements.txt") - args = session.posargs or ["-n", "auto", "--cov", PACKAGE_NAME] + args = session.posargs or [ + "-n=auto", + "--cov=src/", + "--cov-report=term-missing", + "--verbose", + ] session.run("pytest", *args)