GitHub - ananthakumaran/exunit.el: Emacs ExUnit test runner
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.
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 , a
exunit-verify-all Run all the tests in the current projectC-c , u
exunit-verify-all-in-umbrella Run all the tests in the current umbrella projectC-c , v
exunit-verify Run all the tests in the current buffer, or the test file corresponding to the current bufferC-c , s
exunit-verify-single Run the test under the pointC-c , r
exunit-rerun Re-run the last test invocationC-c , t
exunit-toggle-file-and-test Toggle between a file and its tests in the current windowC-c , d
exunit-debug Run the test under the point in IEx shell. Supports IEx.pry method for debugging.C-c , 4 t
exunit-toggle-file-and-test-other-window Toggle between a file and its tests in other windowInvoking 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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK