[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
