tests: makefile update for new test suite

This commit is contained in:
RhodeCode Admin 2024-11-08 15:16:31 +01:00
parent 5378235614
commit 17bc7d5c02

View file

@ -54,7 +54,7 @@ clean:
# test: run test-clean and tests
test:
make test-clean
unset RC_SQLALCHEMY_DB1_URL && unset RC_DB_URL && make test-only
make test-only
.PHONY: test-clean
@ -71,7 +71,18 @@ test-only:
PYTHONHASHSEED=random \
py.test -x -vv -r xw -p no:sugar \
--cov-report=term-missing --cov-report=html \
--cov=rhodecode rhodecode
--cov=rhodecode rhodecode \
--ignore=rhodecode/tests/vcs_operations \
--ignore=rhodecode/tests/database
PYTHONHASHSEED=random \
py.test -x -vv -r xw -p no:sugar \
rhodecode/tests/vcs_operations
PYTHONHASHSEED=random \
py.test -x -vv -r xw -p no:sugar \
rhodecode/tests/database
# >>> Docs commands