Run backend tests with pytest after Dev deploy.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
6ea36f7d1f
commit
9d79e3e92f
33 files changed
+188
-150
No files matched your search
@@ -0,0 +1,12 @@
|
||||
[pytest]
|
||||
testpaths = tests
|
||||
# Default python collector is disabled; tests/conftest.py collects each
|
||||
# test_*.py as one case via main(). That keeps the existing scripts until
|
||||
# they are split into native pytest functions.
|
||||
python_files = __pytest_default_collector_disabled__.py
|
||||
python_functions = test_*
|
||||
addopts = -ra --tb=short
|
||||
markers =
|
||||
unit: no Postgres; safe on Windows SQLite checkouts
|
||||
integration: API/store tests on kansho_test (never kansho_dev)
|
||||
slow: long-running; omitted in the default Gitea command
|
||||
Reference in new issue
Block a user