Commit Graph

88 Commits

Author SHA1 Message Date
ray-x
d2924e7902 go coverage combine 🎄🎆 2023-01-03 16:25:45 +11:00
rayx
0f72dbdd87
Fix unit test errors 🎄🎆 (#265)
* test pipeline

* update unit tests
2022-12-28 15:03:29 +11:00
ray-x
17adc5c600 [feature] go coverage partially tested, skip covered 🎄🎆 2022-12-28 11:46:31 +11:00
ray-x
02fbdd126c issue #264 coverage line num mismatch 🎄🎆 2022-12-28 10:31:23 +11:00
ray-x
a6e01901d2 🇫🇷 🇲🇦 😍 2022-12-15 07:11:08 +11:00
ray-x
a99aa80a17 update unit tests 🇦🇷 a🇭🇷 2022-12-13 01:56:45 +11:00
ray-x
7d5c09b9c4 lint 2022-11-29 01:29:45 +11:00
Shaw Vrana
4599360f5d
Add ability to set gomodifytag options in config (#246) 2022-11-27 17:33:53 +11:00
ray-x
a5b307c35c shada=NONE 2022-10-24 15:15:15 +11:00
Roy Choo
6602986054
fix(gotest): wrong order of test binary args (#230)
Co-authored-by: Roy Choo <roy.choo@bytedance.com>
2022-10-22 23:39:48 +11:00
Syncrack
a32e0c2f1b
ci: add one more empty line (#227) 2022-10-03 20:24:17 +11:00
ray-x
5b33d782f3 GoTestSum and sidepanel 2022-10-01 14:53:27 +10:00
ray-x
28bcaa1f44 quick gen return #170 2022-08-23 19:31:13 +10:00
ray-x
2a48166beb mockgen 2022-08-06 21:16:47 +10:00
ray-x
feaef378b7 testcase update 2022-08-05 20:24:42 +10:00
ray-x
b7d6288bbd use neovim 0.7 API to create commands. this is a breaking change for anyone using neovim 0.6.x 2022-08-01 10:09:05 +10:00
ray-x
7aed764507 allow more trigger events for codelens 2022-07-30 16:00:09 +10:00
ray-x
144eb6fb2a issue #182 setup merge 2022-07-29 22:23:52 +10:00
ray-x
3774ac0eba lint 2022-07-27 02:21:58 +10:00
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
2022-07-12 23:11:46 +10:00
rayx
104b832ee4
Luasnip (#165)
First commit for luasnip
Most of the snip code is from this repo shark
and TJ's neovim setup config_manager
and ziontee113

* add luasnip for go

* move command out to a dedicated function

* update ts node spec format

* bugfix alternate file

* Bring in more snippets

* updates for mockery 2.11

* snips for http handler and more

* update doc

* bench test
2022-07-11 23:32:06 +10:00
ray-x
1315ed89ad add tests for asyncmake 2022-07-08 08:30:46 +10:00
ray-x
31624e1365 treesitter node for struct and type 2022-07-07 03:12:24 +10:00
ray-x
eaec8c45f2 revert changes to golden file 2022-07-06 15:28:15 +10:00
ray-x
8021f2a484 fix test automation 2022-07-06 15:06:16 +10:00
ray-x
c588f2bf4a tests updates 2022-07-06 14:30:13 +10:00
ray-x
7102361efd test spec 2022-07-06 14:12:01 +10:00
ray-x
a15427f902 mockgen from source 2022-07-06 09:29:44 +10:00
ray-x
a86e9d2a29 Feature: add go mock / mockgen 2022-07-06 08:28:29 +10:00
ray-x
981adf9b39 Features:
1) count the overall test coverage per-file and per-project
2) add gotestsum as a test runner option
3) handle windows GOPATH and
4) minor fix: stop GoFmt if no formatter is available
2022-07-01 19:15:31 +10:00
ray-x
65bd2685b4 fix test cases 2022-06-30 02:15:44 +10:00
rayx
a7edcfac84
Fix pipeline for neovim 0.6.1 (#142)
* updates delays

* repeat actions

* fix golden file

* fix neovim 0.6.x

* fillstruct updates for 0.6.x

* remove treesitter dependency for fillstruct test
2022-06-29 10:16:14 +10:00
ray-x
93db33751c fillstruct with gopls 2022-06-29 09:33:53 +10:00
ray-x
331e14d728 pipeline updates as treesitter-master no-longer supports nvim 0.6.1. First github 500 stars 2022-06-29 09:28:59 +10:00
ray-x
4bc6b563ce go treesitter locals.scm add go_impl_spec 2022-06-29 00:37:20 +10:00
ray-x
28b553aa52 handle nil output with runner 2022-06-28 15:35:05 +10:00
ray-x
040c7bd110 Update document
Smart build tags detection
2022-06-15 14:11:10 +10:00
ray-x
56143544d7 revert escape changes, it breaks floaterm run 2022-05-31 02:41:48 +10:00
ray-x
ad84a0806c update GoTest adding more flags 2022-05-31 00:04:52 +10:00
ray-x
002d7dfd73 infer the test func name with treesitter 2022-05-29 23:07:39 +10:00
ray-x
c2c2100287 test golden file updates for issue #131 2022-05-29 15:03:13 +10:00
ray-x
ec99df2098 fix test golden file 2022-05-29 14:57:48 +10:00
ray-x
9d01246a56 new test cases for gofmt 2022-05-29 14:55:22 +10:00
ray-x
7e35330a35 gotest run test file in folder. 2022-05-26 15:14:28 +10:00
ray-x
eb4d380807 allow format all buffers with goimports 2022-05-26 15:07:14 +10:00
ray-x
bbb37ea81f split none UI releated logic for testing 2022-05-24 21:43:33 +10:00
ray-x
fed6b24482 select test from functions 2022-05-24 19:17:26 +10:00
ray-x
125d6fa3d3 better test coverage for gotest 2022-05-24 17:54:52 +10:00
ray-x
323cfae1fa add tests for go test 2022-05-24 17:23:53 +10:00
ray-x
362ff2fd37 more tests fixplurals 2022-05-22 20:11:14 +10:00