
Visual Studio Code: Run Django Tests for the Current File
I鈥檝e been working with Django for a while, and one thing that always slows me down is running tests. By default, you can either run all tests or specify a specific test case. That鈥檚 fine, but sometimes I just want to run the tests in the file I鈥檓 currently editing - nothing more. So I set up a small workflow in VS Code to do exactly that. Running tests of a single module Normally, you鈥檇 run Django tests of a single module like this: ...
