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: ...

September 26, 2025 路 2 min 路 356 words 路 alex

About

Welcome to my tech blog! I鈥檓 Alex, born in 91 and I discovered my passion for programming and hacking while I was still at school. During my computer science studies, I worked on reverse engineering and malware analysis, which took my understanding of software and systems to a new level. This blog is my hobby project and a place where I share my enthusiasm for software and hardware. Here you will find projects and insights into my experiments and reflections, which will hopefully inspire you to get creative yourself. ...

January 9, 2025 路 1 min 路 95 words 路 alex