A Visual Studio Code extension that helps you with your tests in Elixir!
You can install it through the Visual Studio Code Marketplace.
This enables you to navigate back and forth between your elixir file and its test.
The default keybinding is Cmd + Shift + J
(macOS) and Ctrl + Shift + J
(Linux/Windows)
The default keybinding is Cmd + Shift + K, F
(macOS) and Ctrl + Shift + K, F
(Linux/Windows)
This one does the same as above, but for a single test.
The default keybinding is Cmd + Shift + K, C
(macOS) and Ctrl + Shift + K, C
(Linux/Windows)
This one does the same as above, but for all tests within a folder.
The default keybinding is Cmd + Shift + K, D
(macOS) and Ctrl + Shift + K, D
(Linux/Windows)
Alternatively, right-click the folder in the Explorer and select Elixir Test: Run all tests in a folder
.
This one does the same as above, but for the entire test suite.
The default keybinding is Cmd + Shift + K, S
(macOS) and Ctrl + Shift + K, S
(Linux/Windows)
To watch tests, you need to install mix_test_watch dependency.
Feel free to suggest some new features or report bugs creating a new issue. Or even better, you can open a pull request! 😄