From 1477bd92d8408bd8ec8af414a8625df807eb6baf Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Fri, 2 Jan 2026 19:30:53 -0600 Subject: [PATCH] feat(tests): add tasks for running Python and frontend tests, including a combined test task --- Taskfile.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Taskfile.yml b/Taskfile.yml index da7c2a0..8ffc1f3 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -75,6 +75,20 @@ tasks: desc: Run all linters deps: [lint-frontend, lint-python] + test-python: + desc: Run Python tests using pytest + cmds: + - poetry run pytest tests/backend --cov=meshchatx/src/backend + + test-frontend: + desc: Run frontend tests using vitest + cmds: + - "{{.NPM}} run test" + + test: + desc: Run all tests + deps: [test-python, test-frontend] + compile: desc: Compile Python code to check for syntax errors cmds: