gotests
vim-go
Our great sponsors
gotests | vim-go | |
---|---|---|
10 | 25 | |
4,847 | 15,830 | |
- | - | |
0.0 | 8.3 | |
7 months ago | 6 days ago | |
Go | Vim Script | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gotests
-
Russ Cox: Go Testing by Example
A huge time-saver for me when generating table-driven test boilerplate in Go has been using gotests[0] to generate the template.
If you use VSCode with the Go extension it's already available there as a command "Go: Generate Unit Tests for Function/Package".
-
Table-driven tests are overrated.
I believe vscode does it using gotests (https://github.com/cweill/gotests), so people can probably use it outside of vscode too.
-
[gopher.nvim] Plugin for golang development
What can do this plugin? - Modify struct tags. - Run go get, go mod & go generate commands inside of nvim. - Implement interface by impl. - Generate tests by gotests. - Install required tools for plugin working(by go install).
-
What is the hardest part of the load/performance testing?
I was just thinking about some smart solutions. For example generating test plan and fake data by inspecting current changes on the code and db schema. Just like this https://github.com/cweill/gotests but for performance test plans.
-
Take on a better unit test style
Did you encounter gotests when you were doing your research? It's a table test generation tool that generates test code using t.Run(). I do wish it could generate tests using testify, because I frequently end up rewriting the code in the inner loop, but I still use it because it's better than I am about ensuring there's a test for all functions I write.
-
Patterns for unit testing in Go?
I use https://github.com/cweill/gotests to generate the test scaffolding.
- Share your must-know Go development tips
- gotests
- ¿Como estructurar tu aplicación en Go?
-
Learn Go in ~5mins
You can save yourself a minute and generate the test case boilerplate for your with https://github.com/cweill/gotests :)
vim-go
-
vim-go debugging
I found a github issue that seems related, but following the steps to start dlv on my own does not work either. https://github.com/fatih/vim-go/issues/3543
-
nvim when I open an empty file from go
There are a handful of really good go plugins that take care of this for you, such as https://github.com/ray-x/go.nvim or https://github.com/fatih/vim-go
-
What's the most commonly used IDE for golang development ?
With vim-go and snippets, neovim has almost the same functionality as GoLand
-
vim-go : anybody know how to install? (Ubuntu kinetic)
So does anyone know how to actually install it? The "instructions" (which I presume had to be dictated by their straight-jacketed author) from GitHub are, utterly useless, requiring the user to already have vim-go installed before beginning vim-go installation. You'll need vim-go to install vim-go, you see, because with a working vim-go installation can the user execute the special command to install vim-go's dependencies (because that's how software works ya know). And, if you have any trouble installing vim-go, it says, not to worry - further instructions have been provided along with your existing vim-go installation - just execute `:help go-install` (requires existing vim-go installation, of course) and from there, it's turtles all the way down! So as long as you have vim-go installed, installing vim-go is a breeze! Am I having an anheurysm right now? What the hell is this?
- Is there any way to autocomplete language functions? For example, show things like fmt.Printf or fmt.Println when writing fmt.Print and pressing the autocomplete key.
-
Help needed : "E492 unknown command :GoInstallBinaries"
git clone https://github.com/fatih/vim-go.git ~/.local/share/nvim/site/pack/plugins/start/vim-go
-
Which editor do you use for your Go coding?
with this wonderful plugin: https://github.com/fatih/vim-go
-
Sometimes broken scroll: not a few lines as usual but a page
Hi, usually Vim works as expected: scroll mouse event move a buffer content for a few lines. But sometimes something broke and every scroll event move a whole screen, like I pressed PageUp or PageDown. I thought that this is a defect with some plugin - because I can reproduce it only with vim-go and mouse=a - without other plugins and configs. I tried multiple terminals, and even boot Ubuntu live USB - still reproducible with my private company codebase, so I cannot share the code. This is my ticket for that plugin - the author said that this is might be something with my system configuration. Please help.
- What's your Golang IDE?
-
Anyone write Go full time using vim?
At first Ihad struggled with some common "IDE" tasks. But then I discovered vim-go and realized that it could do pretty much everything that I need and even more.
What are some alternatives?
ginkgo - A Modern Testing Framework for Go
coc-go - Go language server extension using gopls for coc.nvim.
gomock - GoMock is a mocking framework for the Go programming language.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
selenoid - Selenium Hub successor running browsers within containers. Scalable, immutable, self hosted Selenium-Grid on any platform with single binary.
go.nvim - A feature-rich Go development plugin, leveraging gopls, treesitter AST, Dap, and various Go tools to enhance the dev experience.
go-sqlmock - Sql mock driver for golang to test database interactions
Go for Visual Studio Code
go-fuzz - Randomized testing for Go
YouCompleteMe - A code-completion engine for Vim
Mmock - Mmock is an HTTP mocking application for testing and fast prototyping
gocode - An autocompletion daemon for the Go programming language