unrhodecode/pytest.ini
RhodeCode Admin 7f994fc993 tests(core): made the test flag setting more flexible.
We no longer use .ini setting, but relly on env variables, that is now set
via pytest env plugin
2024-03-11 09:56:10 +01:00

27 lines
754 B
INI

[pytest]
testpaths = rhodecode
norecursedirs = rhodecode/public rhodecode/templates tests/scripts
cache_dir = /tmp/.pytest_cache
pyramid_config = rhodecode/tests/rhodecode.ini
vcsserver_protocol = http
vcsserver_config_http = rhodecode/tests/vcsserver_http.ini
addopts =
--pdbcls=IPython.terminal.debugger:TerminalPdb
--strict-markers
--capture=no
--show-capture=all
# --test-loglevel=INFO, show log-level during execution
markers =
vcs_operations: Mark tests depending on a running RhodeCode instance.
xfail_backends: Mark tests as xfail for given backends.
skip_backends: Mark tests as skipped for given backends.
backends: Mark backends
dbs: database markers for running tests for given DB
env =
RC_TEST=1
RUN_ENV=test