Replies: 1 comment
-
@maxcwy2018 Thanks for submitting a discussion item, most likely you just need to rerun the coverage generation to get the new lines to show up. You can find this command in the readme for that example python project https://github.com/ryanluker/vscode-coverage-gutters/tree/master/example/python . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am currently trying to use Coverage Gutters and the end result does not seems what I want it to be, maybe I did something wrong or the configuration of the settings are incorrect.
This is what I did from the code downloaded at the examples side. First I added some new lines of code into the file, 'test_sample.py', as shown in the picture. New lines of code are added in test_2:
After that, the codes are then debug and go through the testing phase, which will then shown as in the following picture:
Lastly the 'Watch' button is being clicked but the test_2 section is not covered with red lines:
So I would like to ask do I need to change any of the settings in the Visual code to do it? Or do I do anything wrongly? Because this is my first time doing it and I tried some research on the internet and to no avail, I could not find any information about it. A ZIP file of the code are added at the bottom. Thank you for your help and guidance.
vscode-coverage-gutters-master (1).zip
Beta Was this translation helpful? Give feedback.
All reactions