10

GitHub - ananthakumaran/exunit.el: Emacs ExUnit test runner

 3 years ago
source link: https://github.com/ananthakumaran/exunit.el
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

exunit

Provides commands to run ExUnit tests. The output is syntax highlighted and stacktraces are navigatable.

Setup

exunit is available in melpa and can be installed via package-install command.

(add-hook 'elixir-mode-hook 'exunit-mode)

Commands

KeyboardDescriptionC-c , aexunit-verify-all Run all the tests in the current projectC-c , uexunit-verify-all-in-umbrella Run all the tests in the current umbrella projectC-c , vexunit-verify Run all the tests in the current buffer, or the test file corresponding to the current bufferC-c , sexunit-verify-single Run the test under the pointC-c , rexunit-rerun Re-run the last test invocationC-c , texunit-toggle-file-and-test Toggle between a file and its tests in the current windowC-c , dexunit-debug Run the test under the point in IEx shell. Supports IEx.pry method for debugging.C-c , 4 texunit-toggle-file-and-test-other-window Toggle between a file and its tests in other window

Invoking any of these commands with a prefix argument C-u will cause a prompt to be shown for additional arguments before the test(s) are run.

https://raw.githubusercontent.com/ananthakumaran/exunit.el/master/screenshots/sample.png


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK