diff --git a/pyproject.toml b/pyproject.toml index 44a9aef64..fe13fd158 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,7 +121,7 @@ zip-safe = false ] [tool.pytest.ini_options] -minversion = 4.6 +minversion = 6.0 norecursedirs = [ "docs/_build", "romancal/scripts", @@ -139,9 +139,14 @@ doctest_plus = "enabled" doctest_rst = "enabled" text_file_format = "rst" log_cli_level = "info" +xfail_strict = true addopts = [ + "--color=yes", # color test output + "--doctest-rst", # enable doctests "--doctest-ignore-import-errors", - "--color=yes", + "--strict-config", # fail on unknown config options + "--strict-markers", # fail on unknown markers + "-ra", # Show summary of all failures/errorsproduct_names ] markers = [ "soctests: run only the SOC tests in the suite.",