micheam / vim-go-test Goto Github PK
View Code? Open in Web Editor NEWgolang test runner for Vim
golang test runner for Vim
Often we want to test all packages under a module to see if they are regressions. It's tedious to stop the VIM each time and go back to the terminal.
Provide a command to run all the tests under the current module.
The image of the issuing command is below.
$ go list . | while read pkg; do go test $pkg -count=1; done
it would be good to run a package-specific test and merge the results ๐
Opening the test result buffer manually is a bit annoying.
Add command bellow.
:ResultBufferOpen
: Open test result buffer:ResultBufferClose
: Close test result buffer:ResultBuffer!
: Toggle test result bufferRoot namespace 'gotest' has too many functions.
Move functions for getting or setting app configurations to a separate namespace.
namespace: 'gotest#conf'
RunTest ignore Example function.
Add functionality to run examples.
I'm manually moving to the first line of the test buffer every time to see where the test failed.
Make the focus move to the first line when the plugin opens the test buffer.
:ReRunLast
.v:none
>> package v:none is not in GOROOT (/usr/local/Cellar/go/1.15.2/libexec/src/v:none)
After running the test, it feels very annoying to look for it in the buffer list when returning to the source file.
Please provide a feature to jump from the currently edited test file to the corresponding source file by detecting it.
It may be more convenient if the plugin can detect function or method.
้ๅๆใงๅฎ่กใงใใๆงใซใใใใ
Async.Promise ใไฝฟใใฎใ่ฏใใใ
When I'm writing test code, I also want to measure benchmarks without going back to the terminal.
Add cmd RunBenckmark
or enable to run it with RunTest
.
Want to Re-Run Last Test.
Add New Cmd like 'ReRunTest'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.