Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Flutter Tests AssistantNew to Visual Studio Code? Get it now.
Flutter Tests Assistant

Flutter Tests Assistant

Monterail

|
324 installs
| (2) | Free
Improve the quality of your code by accelerating your testing workflow.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Flutter Tests Assistant mascot Flutter Tests Assistant

MIT license PRs Welcome Monterail's logo

Improve the quality of your code by accelerating your coding/testing workflow 🚀

Visual Studio code extension demo

Features

  • Create a matching {xyz}_test.dart file with customized boilerplate test inside
  • Switch between the implementation and test files with a shortcut
  • Run tests for the code you're refactoring without leaving the source file
  • Use handy test snippets
  • Keep lib and test directories in sync after renaming or moving the file in either

Commands

Command Shortcut Description
Go to tests Ctrl+Shift+T
⌘+Shift+T
Switch to the matching test file. The extension will create the test file, if necessary, after asking for the use-case.
Go to source file Ctrl+Shift+T
⌘+Shift+T
Switch to the source file.
Run tests for file Ctrl+Alt+Shift+R
⌥+⌘+Shift+R
Executes all tests for the matching source file.
Generate test coverage None Executes all tests to gather test coverage information.
Toggle test coverage highlights Ctrl+Alt+Shift+C
⌥+⌘+Shift+C
Shows/Hides text editor line decorations indicating test coverage.

Snippets

Snippet prefix Result
ftest Unit test
fwidgettest Widget test
fgroup Group of tests
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft