From 250ea36e4c7f59555da059ea5833dbba07898a1e Mon Sep 17 00:00:00 2001 From: Ivan Date: Fri, 17 Apr 2026 23:28:44 -0500 Subject: [PATCH] feat(tests): add new media fuzz and HTTP integration tests for backend media APIs --- Taskfile.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Taskfile.yml b/Taskfile.yml index 8cfac30..f475b1f 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -195,6 +195,22 @@ tasks: cmds: - "{{.NPM}} run test:loadtime" + test:be:media-fuzz: + desc: Hypothesis fuzz tests for stickers, TGS/Lottie JSON, WebM, GIFs, pack exports + cmds: + - poetry run pytest tests/backend/test_media_fuzzing.py -q + + test:be:media-http: + desc: aiohttp integration tests for /api/v1/stickers, sticker-packs, and /api/v1/gifs + cmds: + - poetry run pytest tests/backend/test_media_http_api.py -q + + test:fuzz:all: + desc: Vitest fuzzing tag plus backend media Hypothesis fuzz + deps: [test:be:media-fuzz] + cmds: + - "{{.NPM}} run test:fuzz" + test:fe:cov: desc: Run frontend tests with line coverage (Vitest v8) cmds: