Actions
Task #146
openoptimize webapp tests
Start date:
04/25/2026
Due date:
% Done:
0%
Estimated time:
Engineering Effort:
unknown
App Component:
Webapp Testing
Feature:
Description
(venv) user@workstation:~/Code/catchlist_todo/test/webapp$ rm -r reports/lelda && time pytest tests/tasks/test_task_components.py --env=local --headless=True --alluredir="./reports/lelda"
...
collected 20 items
tests/tasks/test_task_components.py .................... [100%]
==================================================== 20 passed in 279.10s (0:04:39) ===========================================
real 4m39.560s
user 0m24.739s
sys 0m8.290s
4.6 minutes for 20 tests isn't a great runtime. The API suite has ~800 tests so we absolutely need to speed this framework up before building a bunch of tests, or else we'll just have a glut of tests that never get run.
per ticket #145 we can parallelize tests, but probably only when running them locally.
There's almost certainly a lot of fat to cut off of the framework, as it's pretty newly established.
Actions