Testing flow for Go in VS Code?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/golang

Our great sponsors
  • ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
  • SonarQube - Static code analysis for 29 languages.
  • CodiumAI - TestGPT | Generating meaningful tests for busy devs
  • InfluxDB - Access the most powerful time series database as a service
  • reflex

    Run a command when files change

    There are tools like https://github.com/cespare/reflex that run a command when specific files are changing. You could use it to run go test whenever one of your files changes, so the changes would be reflected instantly in the terminal.

  • Go for Visual Studio Code

  • ONLYOFFICE

    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • air

    ☁️ Live reload for Go apps

    IIRC VS Code has option to run tests after each save. If you want a more terminal way I recommend https://github.com/cosmtrek/air and configure to run go test on each change.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts