Skip to content

AlbertodelaCruz/vsc-mamba-runner

Repository files navigation

mamba-runner

ci vs vs-d dow rating

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.

cmd-palette

Motivation

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.

Requirements

You need to have a python virtualenv with mamba package installed and set into your project.

Usage

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 (💻▶)

Credits

A good starting point is official documentation This repo is highly inspired in pytest-runner from Ernesto Arbitrio

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published