Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Go Auto UTNew to Visual Studio Code? Get it now.
Go Auto UT

Go Auto UT

Ambitious Coder

|
56 installs
| (0) | Free
Automatic UT generation for GoLang
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AutoUT

Features

Generate unit test cases automatically for service functions.

How to use

Click on Generate UT on the function name and wait till the toast message appears with new coverage.

Requirements

Requires Python3

VSC version ^1.86.0.

resources.TestCase

set absolute path to load config.env in config.go

Extension Settings

No special settings required.

Known Issues

  • interface type conversion. Eg: Data.(string)
  • function with filterInput, map[any_type]interface{} parameter is not handled
  • function with orchestrator
  • same function called more than once in the same function

Release Notes

Initial version with base code coverage.

0.0.1

Initial release AutoUT.

0.0.2

Minor bugfixes

0.0.8

Handled empty function input and output arguments.

0.0.9

Removed get input part.

For more information

  • GitHub

Enjoy AutoUT!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft