Commit Graph

25 Commits

Author SHA1 Message Date
ray-x
3043e9bf04 gotest bench 2022-03-15 10:16:34 +11:00
ray-x
0fe0a9ee33 feature: auto jump to quickfix list item if test failed 2022-02-23 21:01:19 +11:00
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>
2022-01-19 08:41:11 +11:00
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>
2022-01-19 08:22:53 +11:00
ray-x
e5ebbd9460 Add GoTest -c option, compile test package issue#76 2022-01-16 13:08:16 +11:00
ray-x
85f2300e72 issue #75, better default package path for tests 2022-01-14 14:35:23 +11:00
ray-x
0493df8b44 go 1.18beta 2022-01-12 15:57:30 +11:00
ray-x
bd25255d03 fallback to package test, argument and notify 2022-01-11 11:57:54 +11:00
ray-x
264efc57c1 issue #65 failed to run coverage tests. Notify updates. 2021-12-30 01:33:24 +11:00
ray-x
192486892b bugfix #65 coverage failed 2021-12-27 19:47:59 +11:00
ray-x
c7c3ab885a better workfolder 2021-12-16 18:15:21 +11:00
ray-x
4484f167d6 bugfix #56 escape '<space>' and '-' 2021-12-16 12:34:06 +11:00
ray-x
2d7e23b72b return gopls setup so we can use in nvim-lsp-installer, issue #56 escape '-' 2021-12-16 12:23:43 +11:00
ray-x
64460e4f88 Add GoVet, update errorformat for issue #55 2021-12-15 19:02:22 +11:00
ray-x
7f625aceca stylua/selene gotest update 2021-12-11 08:45:42 +11:00
ray-x
6e87d834a4 efm format for quickfix; golangci-lint efm setup 2021-12-10 21:13:23 +11:00
Aleš Brelih
cfeab3d398
fix: build tags was missing space (#46)
* fix: build tags was missing space

* if run in floaterm, '\ ' may cause error

Thanks for the PR. I did some update please check if it works

Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
Co-authored-by: rayx <rayx.cn@gmail.com>
2021-11-29 23:09:30 +11:00
ray-x
4611c34548 updates for dapui 2021-11-24 20:05:02 +11:00
ray-x
1b11f52b08 updates for dap.ui 2021-11-24 10:13:40 +11:00
ray-x
ef332025ce allow return value for test 2021-11-22 20:12:57 +11:00
Aleš Brelih
d9f44a9320
feat: default build tags (#38)
* feat: default build tags

Added option to specify default build tags for test and debugger.

* Update dap.lua

check   if _GO_NVIM_CFG.build_tags ~= "" then

Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
Co-authored-by: rayx <rayx.cn@gmail.com>
2021-10-25 10:05:02 +11:00
ray-x
200dcd22e4 Allow test nearest function 2021-08-31 21:19:14 +10:00
ray-x
a093d2420b cursor range col/row calculate 2021-07-17 01:58:44 +10:00
ray-x
5e37dc67e9 allow specify path of test 2021-07-09 02:52:06 +10:00
ray-x
1bdf18bfc2 Add log to file. Fix gotest_fun 2021-07-09 02:16:22 +10:00