feat(gotests): add generate all tests
docs(gotests): add generate all tests
This commit is contained in:
parent
acd414d454
commit
70297f28e7
4 changed files with 18 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
Minimalistic plugin for Go development in Neovim written in Lua.
|
||||
|
||||
It's not an LSP tool, the main goal of this plugin add go tooling support in neovim.
|
||||
|
||||
## Install
|
||||
|
||||
Pre-dependency: [go](https://github.com/golang/go) (tested on 1.17 and 1.18)
|
||||
|
|
@ -86,6 +87,12 @@ Generate one test for spesific function/method
|
|||
:GoTestAdd
|
||||
```
|
||||
|
||||
Generate all tests for all functions/methods in current file
|
||||
|
||||
```vim
|
||||
:GoTestsAll
|
||||
```
|
||||
|
||||
7. Run `go generate` command
|
||||
|
||||
```vim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue