Open
Description
The devenv.test.*
targets run all tests for those projects. Often if you have one test file failing you want to just run that test file, but there isn’t a way to do that right now.
In tools/devenv/Makefile.test
, add a Makefile
variable called something like EXTRA_PYTEST_ARGS
which is empty by default, and add it to the invocations of pytest
for each of those targets.
Users could then run something like make devenv.test.worker EXTRA_PYTEST_ARGS="apps/worker/tasks/tests/unit/test_base.py"
to run just the tests for tasks/base.py
.