READMEGoCoverSpectator Extension for Visual Studio CodeDisplay coverage results of integration tests for your Go code in Visual Studio Code. Simply generate coverage data files in txt format and apply them to your source code. If you have modified the source code, you can also make a modified line information file to mark the modified lines in the editor. So you can easily find the modified and uncovered lines of the source code. After loading the modified line information file, the lines of the modified files will be marked with a yellow border. The file explorer will indicate files with modified and uncovered lines using a warning icon when the modified information is available. Navigate to the previous/next modified and uncovered line by typing the next/previous button in the editor context menu. The format of the modified line information file is as follows:
example:
UsageFirst, convert the coverage profile file to txt format as follows:
Then,choose the coverage file by pressing You can clear the coverage results by pressing You can load the modified line information file by pressing You can clear the modified line information by pressing After loading the coverage file and modified line information file, you can navigate to the previous/next modified and uncovered line by typing the next/previous button in the editor context menu.The files with modified and uncovered lines will be marked with a warning icon in the file explorer. Cautions
Known IssuesThe coverage mode is currently limited to |