Commit Graph

69 Commits (9a62547dbd48433cb66d701dcb5e6b92a1f5c7f4)

Author SHA1 Message Date
ray-x 19e6350fc8 filter on _test.go files 1 year ago
ray-x a0a57a88e8 go code action for null-ls 1 year ago
ray-x 276ebe8654 [Feature] integrate with null-ls. Add go.nvim as a null-ls source
Run `go test` on file save and
show diagnostic messages in LSP virtual text.
1 year ago
ray-x 9394e7decb tidy 1 year ago
ray-x 6ff9cbad4c check go ts parser 1 year ago
ray-x f33866ed00 Feature: run & debug a subtest inside table driven test cases 1 year ago
ray-x 1f52335ea3 feature: go-enum. issue #260, gopls setting move to function local var 1 year ago
ray-x c61d2f447b verbose mode in gotest no longer default, use '-v' instead 🇯🇵 2 years ago
ray-x aa854e3a47 issue #244 coverage -p warning message 2 years ago
ray-x 7720ddcbea gotestfunc -a option 2 years ago
ray-x e9d1c6c021 issue #229 extra args to go 2 years ago
WDdxRW 4edd1c289e
fix test_func (#209)
* fix test_func

* fix test_func
2 years ago
Justin Ginn 4f01936c00
Pass build tags when running tests with dlv (#201)
dlv does provide a flag for passing build tags, although it is diferent
than the build tag flag for the go command line utility. This commit
adds that syntax to pass flags to dlv as specified.

Co-authored-by: Justin Ginn <Justin.ginn@amd.com>
2 years ago
ray-x c3dd9e3ee8 smart build tags 2 years ago
ray-x c94c488307 automatically add build tags to gopls. handle "// go:build tagxxx" 2 years ago
ray-x 2930eb9f17 spelling, default sign highlight 2 years ago
rayx 0e8cc90e30
Bugfix #160 (#167)
* snips

* update ts node spec format

* luasnip up and running

* bugfix alternate file

* Bring in more snippets

* updates for mockery 2.11

* snips for http handler and more

* update doc

* bench test

* for snips

* update treesitter query and api

* refact get_xxx_at_cursor

* update test spec

* update row to vim range

* update col number

* remove comments

* merge conflicts
2 years ago
ray-x 29a23a31e3 issue #153 -count=x 2 years ago
ray-x 36a33ad5b0 #146 better fallback if test runner is non-default and not installed 2 years ago
ray-x eae9af9c1d recommit fix for #145 due to merge failure 2 years ago
ray-x 5873520c34 #143 exact function mane match 2 years ago
ray-x 3f8551cc11 issue #141 the result of shell command should be checked before proccess
the output
2 years ago
ray-x 755e5816f0 guru support 2 years ago
ray-x 9d8117766c dap restart fix, fish fix 2 years ago
ray-x 040c7bd110 Update document
Smart build tags detection
2 years ago
ray-x 0bf69f9315 pull #136 use cmd string for floating terminal run 2 years ago
ray-x b3c6bde824 flags to load coverage file 2 years ago
ray-x ccaed8c573 cli improvement for gomodifytags, gotest 2 years ago
ray-x 30d30f407a fix diagnostic warnings for all files 2 years ago
ray-x 56143544d7 revert escape changes, it breaks floaterm run 2 years ago
ray-x ad84a0806c update GoTest adding more flags 2 years ago
ray-x 002d7dfd73 infer the test func name with treesitter 2 years ago
ray-x eb4d380807 allow format all buffers with goimports 2 years ago
ray-x bbb37ea81f split none UI releated logic for testing 2 years ago
ray-x fed6b24482 select test from functions 2 years ago
ray-x 125d6fa3d3 better test coverage for gotest 2 years ago
ray-x 323cfae1fa add tests for go test 2 years ago
ray-x 1c727c8768 ts keybinding update 2 years ago
ray-x 0916cb3da1 bugfix for releative path for `GoTest -c` 2 years ago
Aleš Brelih 6d2062c3d7
feat: verbose tests toggle (#123)
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
2 years ago
ray-x 65b3c19709 issue #110 use releative path to handle symbolic link 2 years ago
ray-x f4c07bb5d6 deprecate get_node_text 2 years ago
ray-x df512d695f issue #94 GoImport autocomplete 2 years ago
rayx 32f103258b
Gotest refactor (#102)
* issue #82 allow close terminal in current buffer

* update go test arguments

* auto complete args updates based on @Craig Rodgigues feedbacks

* update test arguments

* Return cursor to previous cursor position (#101)

`GoGet` and `GoMod` opens up a new split and move the cursor there.
If the cursor isn't moved back to the *.go buffer, `utils.restart`
will try to spawn gopls in the terminal split, which results in
gopls failed to restart properly.

* fix double close when end dap session

* add relFileDir in launch.json

* update sample go app

* fix: remove cover file (#107)

* fix: remove cover file

* fix: coverage notify message

* github action setup for go 1.18

* issue #109 config dap marker

* setup pipeline with go install

* add icons setup options in doc issue #35 issue #109

Co-authored-by: Mochammad Hanif R <etrnal70@gmail.com>
Co-authored-by: Nicolas Barbosa <ndevbarbosa@gmail.com>
2 years ago
ray-x 3043e9bf04 gotest bench 2 years ago
ray-x 0fe0a9ee33 feature: auto jump to quickfix list item if test failed 2 years ago
Aleš Brelih 3c44e3a998
fix: test file function (#78)
Test file function wasn't working anymore. It didn't find functions to
test even though the sed found them.

Problem was in the escaping the pipe sign.

Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
2 years ago
Aleš Brelih d369ef454d
fix: test fun defaults (#77)
The default package parameter for TestFun is not needed because this
function is meant to target the current file only. Using the default
package parameter increased run time of time function drastically.

Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
2 years ago
ray-x e5ebbd9460 Add GoTest -c option, compile test package issue#76 2 years ago
ray-x 85f2300e72 issue #75, better default package path for tests 2 years ago