Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 690 Bytes

README.md

File metadata and controls

34 lines (18 loc) · 690 Bytes

bats-mode

Synopsis

bats-mode is an Emacs mode for editing and running Bats tests.

bats-mode derives from the bash flavor of sh-mode, adding font-lock for bats keywords.

Installation

If you have a recent Emacs with package.el, you can install bats-mode from MELPA.

Or manually add to your emacs load-path.

Usage

bats-run-all

Run bats in the current directory.

Keybinding: C-c C-a

bats-run-current-file

Run bats with the current buffer file.

Keybinding: C-c C-,

bats-run-current-test

Run bats with the current test at point.

Keybinding: C-c M-,