chore: refactor and add components integration tests (#3607)
* improve inegration tests * add fixes * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
4ee25359a5
commit
96872f3aa5
32 changed files with 523 additions and 131 deletions
12
Makefile
12
Makefile
|
|
@ -148,11 +148,21 @@ else
|
|||
$(args)
|
||||
endif
|
||||
|
||||
integration_tests: ## run integration tests
|
||||
integration_tests:
|
||||
poetry run pytest src/backend/tests/integration \
|
||||
--instafail -ra \
|
||||
$(args)
|
||||
|
||||
integration_tests_no_api_keys:
|
||||
poetry run pytest src/backend/tests/integration \
|
||||
--instafail -ra -m "not api_key_required" \
|
||||
$(args)
|
||||
|
||||
integration_tests_api_keys:
|
||||
poetry run pytest src/backend/tests/integration \
|
||||
--instafail -ra -m "api_key_required" \
|
||||
$(args)
|
||||
|
||||
tests: ## run unit, integration, coverage tests
|
||||
@echo 'Running Unit Tests...'
|
||||
make unit_tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue