Comments (7)
with
:Coveragepy report
the lines are updates :)
from coveragepy.vim.
right, :Coveragepy show
will only re-read the report, it will not re-process it.
But maybe it should?
from coveragepy.vim.
ah wait, no, it should not re-process it because processing the report means waiting on coveragepy
to read the file and spit out the results:
coverage report -m -i /path/to/coveragepy_report
And that would be just tedious.
from coveragepy.vim.
This function, refreshing coverage marks without opening report buffer, still seems to be desirable for work on completing test coverage. My typical cycle is: scroll to some uncovered lines, write corresponding unit tests in adjacent split buffer, re-run unit tests under coverage.py
. And then I would like to see newly covered lines green and move to the next batch. Using :Coveragepy report
for that requires switching to report buffer and closing it, which is just a waste of time on each cycle.
How about adding :Coveragepy refresh
command which would invoke coverage report
and update coverage marks without opening report window? I already have a patch.
from coveragepy.vim.
@eprigorodov I like your solution :)
from coveragepy.vim.
And I like your plugin, it just works and does what was needed. Please have a look at PR #17. Thank you :)
from coveragepy.vim.
Fixed with PR #17
from coveragepy.vim.
Related Issues (18)
- HighlightMissing getting called HOT 7
- Add support for "branch coverage" (was: Calling "Coveragepy report" yields "Error detected while processing function …") HOT 17
- Broken with coverage 4.0.3 HOT 5
- Error when using this plugin HOT 6
- Bad window height when showing report HOT 6
- Request: alternative, subtler display style. HOT 14
- Should only unplace own signs HOT 2
- Act as a provider for google/vim-coverage? HOT 1
- Highlighting does not work in Windows HOT 4
- Signs are always placed in the first pane HOT 9
- Error 117: Unknown function: execute HOT 9
- Can we have an option to not open LastSession.coveragepy window at the bottom? HOT 3
- Detecting coverage executable, handling py2/py3 HOT 2
- Couldn't get Coveragpy command to load HOT 4
- Unable to run plugin HOT 1
- test cases in subfolder HOT 6
- Session show toggle off sign marks HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coveragepy.vim.