GoLand
 
Get GoLand
Because GoLand 2025.1 is still in development, this documentation may not be entirely accurate and is subject to change.

Vitest

Last modified: 21 November 2024

GoLand integrates with Vitest, a Vite-native unit test framework. You can run, debug, do snapshot testing, and measure test coverage both from the editor and via a run/debug configuration.

You can re-run failed tests or turn on the watch mode. When you launch a test session in this mode, GoLand monitors changes in your project source code. As soon as any changes are made to a test or to its subject, GoLand re-runs the affected test, you do not even have to re-start the run/debug configuration.