fix: fixed broken tests for slack notification, added ability to run selected tests on local
This commit is contained in:
parent
f602b2d5b1
commit
a4ff9d4fab
2 changed files with 18 additions and 5 deletions
13
Makefile
13
Makefile
|
|
@ -84,10 +84,19 @@ test-only:
|
|||
rhodecode/tests/database
|
||||
|
||||
.PHONY: test-simple
|
||||
# test-simple: Run tests only for main test suite witout coverage
|
||||
# test-simple: Run tests only for main test suite without coverage
|
||||
test-simple:
|
||||
PYTHONHASHSEED=random \
|
||||
py.test -x -vv -r xw -p no:sugar \
|
||||
py.test -r xw -p no:sugar \
|
||||
--ignore=rhodecode/tests/vcs_operations \
|
||||
--ignore=rhodecode/tests/database
|
||||
|
||||
|
||||
.PHONY: test-custom
|
||||
# test-custom: Run tests without coverage, only run tests matching PATTERN
|
||||
test-custom:
|
||||
PYTHONHASHSEED=random \
|
||||
py.test $(if $(PATTERN),-k "$(PATTERN)",) -vv -r xw -p no:sugar \
|
||||
--ignore=rhodecode/tests/vcs_operations \
|
||||
--ignore=rhodecode/tests/database
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue