Karilys Collazo’s Post

Back to working on a local Python setup and got a quick refresher on something easy to forget My pytest coverage config (in pyproject.toml) wasn’t being picked up in VSCode. CLI? Perfect. VSCode? Different story. Everything looked right… and it was. The catch: VSCode was running pytest from a different working directory and missing the pyproject.toml configuration. Fix: // .vscode/settings.json { "python.testing.cwd": "folder_where_pyproject_is_stored" } Nothing broken — just a good reminder: Same tools, same config… context still matters. #SoftwareTesting #BackendDevelopment #CleanCode #Debugging #Productivity #Python #Pytest #DevEx #DeveloperExperience #Testing

To view or add a comment, sign in

Explore content categories