This vscode
extension allows you to run test (in a very quick way) in your 🐍 python
codebase using mamba
test runner.
NOTE: this is an early stage project. Please open an issue or, even better, a PR if you find it interesting and you wanna improve
mamba-runner
.
Mamba is a BDD (Behavior-drive development) test runner for python. I love it because it is easy to express tests in an human-readable way. I started using Visual Code and there was no way to execute this runner so I started working on it.
Look at the usage section for more details.
You need to have a python virtualenv
with mamba
package installed and set into your project.
You need to have an opened test file in the editor.
At this moment. There is only 2 commands available:
Mamba Run Test
Mamba Run Unit Tests
You can run them using the VSCode
command palette (⇧⌘P
or ctr⇧P
).
Once you have run tests, a status bar icon will appear at the botton right (💻▶)
A good starting point is official documentation This repo is highly inspired in pytest-runner from Ernesto Arbitrio