Commit Graph

98 Commits

Author SHA1 Message Date
ray-x
dbb712ec9f golden file updates 2023-11-14 21:23:34 +11:00
rayx
7852fd8e1c
Fixtures Updates (#392)
* go mod setup for fixtures

* go mod setup for fixtures

* fillstruct test refactor
2023-11-01 13:12:43 +11:00
rayx
c4819d1625
CLI refact (#391)
* some refact of gotest

* issue #376 add handlers to async formatting

* issue #343 title length

* add parallel flag

* disable trace log

* Error lines output in github action

* Go mod update in fixtures
2023-10-31 16:30:38 +11:00
thuan1412
54387e506e
improve GoTestSubCase command (#385)
* save code

* it works

* update tbl case query

* fix file diff

* update tests

---------

Co-authored-by: Thuấn Đỗ Hoàng <thuan.dh@teko.com>
2023-10-03 10:51:31 +11:00
rayx
c61f9371cd
Fix github pipeline. Make gopls fmt/import async (#366)
* fillstruct updates
* gopls async fmt/import
* github action fix
* add gopls tests
2023-08-08 17:04:43 -07:00
Faustin Date
8ea5439288
Ensure correct tools installation in goenv mode (#332)
* Ensure correct tools installation in goenv mode

Tools will be installed in appropriated directory when
[goenv](https://github.com/syndbg/goenv) manages
GOPATH.

* Check goenv existence with which

* Try better (?) goenv detection command

* Do not check if tool is installed twice

Once a tool is known to be installed, that information is cached in
utils.installed_tools.

* Wait 500ms for action to take effect in tests
2023-05-07 18:59:30 -07:00
ray-x
290ecba852 github action & unit test updates 2023-02-21 11:14:03 +11:00
ray-x
a831650732 go test spec update 2023-02-20 09:06:56 +11:00
ray-x
7f18793a6a local test 2023-01-28 18:53:30 +11:00
ray-x
c74af231c7 treesitter cache 2023-01-28 17:08:09 +11:00
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