Commit Graph

70 Commits

Author SHA1 Message Date
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
ray-x
0199367800 issue #372 Update GoTest argument parser 2023-09-22 20:56:38 +10:00
ray-x
a43a3cba1e issue #377 GoRun -a {arguments} 2023-09-22 20:32:02 +10:00
ray-x
ba45846401 stylua 2023-09-07 18:21:15 +10:00
ray-x
1a2530d3e9 go test failed to locate test cases in windows 2023-05-20 20:26:33 +10:00
Yajie Zhu
e7e914cdc3
fix: GoTestFunc fileline jump issue (#327)
Co-authored-by: zhuyajie <930664@qq.com>
2023-04-21 21:09:05 +10:00
ray-x
397992cefc [Feat] allow GoBuild %:h to build package current buffer is in 2023-03-17 10:02:45 +11:00
ray-x
063bf059e3 [Feat] % to expand to current file in cmdline 2023-03-12 23:34:41 +11:00
ray-x
4d06661337 handle floaterm for tests 2023-02-24 19:04:15 +11:00
Yohanes Bandung Bondowoso
595cd561e6
fix: coverage command should be coverprofile #296 (#299)
* fix: coverage command should be coverprofile

* refactor: README
2023-02-22 02:51:10 +11:00
ray-x
8f4386a683 bugfix GoTestXXXX with flag -C for coverage not working #296 2023-02-21 18:01:57 +11:00
ray-x
2ed66cb302 Allow on_stdout/exit/stderr hooks so the jobs can be pipelined 2023-02-21 10:17:24 +11:00
ray-x
b7f7110d01 performance for null-ls cache path detection
async call inside null-ls
bugfix fish/bash/zsh GoTestFile
2023-02-19 15:50:27 +11:00
ray-x
4f3d09f0a3 use vim.log.levels instead of vim.lsp.log_levels 2023-02-16 07:37:10 +11:00
ray-x
10349e1e43 issue #281 incorrect file path 2023-02-02 08:53:54 +11:00
ray-x
76a0e7bdf4 fix pipeline failure 2023-02-01 08:28:06 +11:00
ray-x
7e6fe7a062 [feature] null-ls message redirect to quickfix 2023-01-15 20:24:48 +11:00
ray-x
d0e7922742 issue #271 go-generate failure for codes inside package 2023-01-12 23:42:15 +11:00
ray-x
f33866ed00 Feature: run & debug a subtest inside table driven test cases 2023-01-11 14:53:05 +11:00
ray-x
b9c8ea1d7f Bugfix: GoTest path option duplicate path args 2023-01-09 21:07:49 +11:00
ray-x
5e980b00c7 add new command: govulncheck 🇦🇷 a🇭🇷 2022-12-14 08:39:09 +11:00
ray-x
4529240971 feature: animation on build/compile/run/test 2022-11-29 13:53:33 +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
ray-x
e9d1c6c021 issue #229 extra args to go 2022-10-20 13:02:45 +11:00
ray-x
8e5866eb12 bench test with qucifix 2022-09-05 10:56:42 +10:00
ray-x
93c724d6b0 issue #184 trouble 2022-07-30 23:05:27 +10:00
ray-x
1315ed89ad add tests for asyncmake 2022-07-08 08:30:46 +10:00
ray-x
ab8a075aa4 add efm only mode for testing when floating term is off 2022-07-08 02:34:50 +10:00
ray-x
fcc473b1ec GoImpl autocomplete from treesitter symbols 2022-07-08 01:27:30 +10:00
David Brouwer
6e7410452f
Fix empty string and GoRun -F main module (#147)
* fix: append check if val is nil
Add check to see if value is empty. And don't add to path if already in
path.

Signed-off-by: Davincible <david.brouwer.99@gmail.com>

* feat: auto run main module in floating term
Add check to see if floating term, to auto run main file

Signed-off-by: Davincible <david.brouwer.99@gmail.com>

* Update asyncmake.lua

no need to show a notification as there is another one once the program is finished.

Co-authored-by: rayx <rayx.cn@gmail.com>
2022-07-01 08:26:14 +10:00
ray-x
36a33ad5b0 #146 better fallback if test runner is non-default and not installed 2022-07-01 02:44:39 +10:00
ray-x
3f8551cc11 issue #141 the result of shell command should be checked before proccess
the output
2022-06-28 14:36:30 +10:00
ray-x
040c7bd110 Update document
Smart build tags detection
2022-06-15 14:11:10 +10:00
ray-x
30d30f407a fix diagnostic warnings for all files 2022-06-01 21:29:13 +10:00
ray-x
f5f5c41165 fix typo 2022-05-31 16:16:09 +10:00
ray-x
56143544d7 revert escape changes, it breaks floaterm run 2022-05-31 02:41:48 +10:00
ray-x
0cc455457c notify level based on test result 2022-05-31 00:32:26 +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
e09a3ebe23 error handle for exit code from go build and allow chtsh get query from current word 2022-05-27 11:39:29 +10:00
ray-x
58dd76bf90 remove trace func 2022-05-25 16:06:36 +10:00
ray-x
323cfae1fa add tests for go test 2022-05-24 17:23:53 +10:00
ray-x
e3504bc50f allow gorun in float terminal 2022-05-17 11:34:35 +10:00
ray-x
058e748409 allow GoRun to run inside a terminal 2022-03-23 13:40:15 +11:00
ray-x
7b4f7620f7 failure message should not show 2022-03-16 10:55:22 +11:00
ray-x
0fe0a9ee33 feature: auto jump to quickfix list item if test failed 2022-02-23 21:01:19 +11:00
ray-x
f355905c00 bqf friendly qickfix output for testing 2022-02-23 16:36:13 +11:00
ray-x
1bc6249495 feature: in quickfix, shows full path name instead of name only. That allows jump to the failed location 2022-02-23 16:28:21 +11:00
ray-x
edbd796ded Add GoStop command to stop the background task started with GoRun 2022-02-02 17:37:07 +11:00
ray.xu
2a2c5f4cd8 open qf only when on error 2022-01-20 03:27:03 +11:00