IntelliJ Idea Plugin
Latte provides a plugin for IntelliJ IDEA that allows you to run and debug your tests directly from the IDE.
Installation
You can install the plugin from the JetBrains Marketplace or from disk.
From JetBrains Marketplace
- Open IntelliJ IDEA and go to
File>Settings>Plugins - Click on the
Marketplacetab and search forLatte Test Runner - Click on the
Installbutton to install the plugin - Restart IntelliJ IDEA to activate the plugin
From disk
- Download the plugin from the GitHub Releases page
- Open IntelliJ IDEA and go to
File>Settings>Plugins - Click on the
Install Plugin from Diskbutton - Select the downloaded plugin file and click
OK - Restart IntelliJ IDEA to activate the plugin
Run Tests
You can run your tests in two ways:
- Create a new run configuration
- Run tests directly from the editor
Run Configuration

- Open your JavaScript or TypeScript project in IntelliJ IDEA
- Create a new test file or open an existing one
- Open the
Run/Debug Configurationsdialog by clicking on theRunmenu and selectingEdit Configurations - Click on the
+button to add a new configuration and selectLatte Test Runner - Fill required fields in the new configuration options dialog.
- Click
OKto save the configuration - Now you can run your tests by selecting the configuration
- The test results will be displayed in the
Runtool window at the bottom of the IDE.

Run Tests directly from the editor
- Open your test file in the editor
- Click on the run button (green triangle, or double triangle for test suite) to the test or test suite you want to run.
- Run Configuration will be created automatically.
- The test results will be displayed in the
Runtool window at the bottom of the IDE.
