有什么方法可以在 pyproject.toml 中设置要忽略的路径,例如
#pyproject.toml
[tool.pytest.ini_options]
ignore = ["path/to/test"]
而不是使用 addopts:
#pyproject.toml
[tool.pytest.ini_options]
addopts = "--ignore=path/to/test"
有什么方法可以在 pyproject.toml 中设置要忽略的路径,例如
#pyproject.toml
[tool.pytest.ini_options]
ignore = ["path/to/test"]
而不是使用 addopts:
#pyproject.toml
[tool.pytest.ini_options]
addopts = "--ignore=path/to/test"