gotests
gotests copied to clipboard
Automatically generate Go test boilerplate from your source code.
Fix a spelling mistake.
Hi, I am trying to create a template that different developers can use from a project repo directly. I have found a small discussion about having a config file for...
Using go get -u github.com/cweill/gotests/... to install would give following error message. ``` go get: installing executables with 'go get' in module mode is deprecated. Use 'go install pkg@version' instead....
Filing this issue to track/ discuss generic function support for gotests. Currently, gotests produces a table driven test for a function with type parameters, but the test needs to actually...
As discussed in https://github.com/cweill/gotests/pull/99, the branch had to be cleared from merge conflicts before `go-cmp` support could be integrated. That's what I did in this PR.
Variable `src` is already `models.Path` type, unnecessary convert type again.
Thanks for your contribution. When I am generating test if the function has error then we add a test for `wantErr` then adds `Subtests`. But there should be a return...
## TL;DR Raised a PoC [PR](https://github.com/davidhsingyuchen/gotests/pull/2), and it passed all the checks. If it looks good to you, I can raise a PR in this repository. I will also update...
`go get` is [deprecated](https://go.dev/doc/go-get-install-deprecation) in terms of installing executables. `$` is removed so that folks can just copy the whole block and run it. Not opening an issue first because...