-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add coverage percentage to files in the list
To calculate the percentage, I took the code from golang's built-in coverage tool (html generator).
- Loading branch information
Showing
14 changed files
with
221 additions
and
186 deletions.
There are no files selected for viewing
38 changes: 19 additions & 19 deletions
38
internal/gocovshtest/testdata/general/happy_flow_back_to_list.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
|
||
Available files: | ||
|
||
[38;2;80;80;80m2 items[0m | ||
[38;2;0;255;0m> covered.go[0m | ||
partial_with_a_very_long_name_to_trigger_ellipsis_in_the_output.go | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
[38;2;97;97;97m↑/k[0m [38;2;73;73;73mup[0m[38;2;60;60;60m • [0m[38;2;97;97;97m↓/j[0m [38;2;73;73;73mdown[0m[38;2;60;60;60m • [0m[38;2;97;97;97m/[0m [38;2;73;73;73mfilter[0m[38;2;60;60;60m • [0m[38;2;97;97;97mq[0m [38;2;73;73;73mquit[0m[38;2;60;60;60m • [0m[38;2;97;97;97m?[0m [38;2;73;73;73mmore[0m | ||
|
||
Available files: | ||
[38;2;127;127;127m2 items[0m | ||
[38;2;0;255;0m> covered.go [38;2;127;127;127m100.00%[0m[0m | ||
partial_with_a_very_long_name_to_trigger_ellipsis_in_the_output.go [38;2;127;127;127m75.00%[0m | ||
[38;2;97;97;97m↑/k[0m [38;2;73;73;73mup[0m[38;2;60;60;60m • [0m[38;2;97;97;97m↓/j[0m [38;2;73;73;73mdown[0m[38;2;60;60;60m • [0m[38;2;97;97;97m/[0m [38;2;73;73;73mfilter[0m[38;2;60;60;60m • [0m[38;2;97;97;97mq[0m [38;2;73;73;73mquit[0m[38;2;60;60;60m • [0m[38;2;97;97;97m?[0m [38;2;73;73;73mmore[0m | ||
38 changes: 19 additions & 19 deletions
38
internal/gocovshtest/testdata/general/happy_flow_codeview_navigation_back.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
|
||
Available files: | ||
|
||
[38;2;80;80;80m2 items[0m | ||
covered.go | ||
[38;2;0;255;0m> partial_with_a_very_long_name_to_trigger_ellipsis_in_the_output.go[0m | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
[38;2;97;97;97m↑/k[0m [38;2;73;73;73mup[0m[38;2;60;60;60m • [0m[38;2;97;97;97m↓/j[0m [38;2;73;73;73mdown[0m[38;2;60;60;60m • [0m[38;2;97;97;97m/[0m [38;2;73;73;73mfilter[0m[38;2;60;60;60m • [0m[38;2;97;97;97mq[0m [38;2;73;73;73mquit[0m[38;2;60;60;60m • [0m[38;2;97;97;97m?[0m [38;2;73;73;73mmore[0m | ||
|
||
Available files: | ||
[38;2;127;127;127m2 items[0m | ||
covered.go [38;2;127;127;127m100.00%[0m | ||
[38;2;0;255;0m> partial_with_a_very_long_name_to_trigger_ellipsis_in_the_output.go [38;2;127;127;127m75.00%[0m[0m | ||
[38;2;97;97;97m↑/k[0m [38;2;73;73;73mup[0m[38;2;60;60;60m • [0m[38;2;97;97;97m↓/j[0m [38;2;73;73;73mdown[0m[38;2;60;60;60m • [0m[38;2;97;97;97m/[0m [38;2;73;73;73mfilter[0m[38;2;60;60;60m • [0m[38;2;97;97;97mq[0m [38;2;73;73;73mquit[0m[38;2;60;60;60m • [0m[38;2;97;97;97m?[0m [38;2;73;73;73mmore[0m | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
internal/gocovshtest/testdata/general/happy_flow_codeview_navigation_top.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
internal/gocovshtest/testdata/general/happy_flow_first_file.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 19 additions & 19 deletions
38
internal/gocovshtest/testdata/general/happy_flow_initial_setup.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
|
||
Available files: | ||
|
||
[38;2;80;80;80m2 items[0m | ||
[38;2;0;255;0m> covered.go[0m | ||
partial_with_a_very_long_name_to_trigger_ellipsis_in_the_output.go | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
[38;2;97;97;97m↑/k[0m [38;2;73;73;73mup[0m[38;2;60;60;60m • [0m[38;2;97;97;97m↓/j[0m [38;2;73;73;73mdown[0m[38;2;60;60;60m • [0m[38;2;97;97;97m/[0m [38;2;73;73;73mfilter[0m[38;2;60;60;60m • [0m[38;2;97;97;97mq[0m [38;2;73;73;73mquit[0m[38;2;60;60;60m • [0m[38;2;97;97;97m?[0m [38;2;73;73;73mmore[0m | ||
|
||
Available files: | ||
[38;2;127;127;127m2 items[0m | ||
[38;2;0;255;0m> covered.go [38;2;127;127;127m100.00%[0m[0m | ||
partial_with_a_very_long_name_to_trigger_ellipsis_in_the_output.go [38;2;127;127;127m75.00%[0m | ||
[38;2;97;97;97m↑/k[0m [38;2;73;73;73mup[0m[38;2;60;60;60m • [0m[38;2;97;97;97m↓/j[0m [38;2;73;73;73mdown[0m[38;2;60;60;60m • [0m[38;2;97;97;97m/[0m [38;2;73;73;73mfilter[0m[38;2;60;60;60m • [0m[38;2;97;97;97mq[0m [38;2;73;73;73mquit[0m[38;2;60;60;60m • [0m[38;2;97;97;97m?[0m [38;2;73;73;73mmore[0m | ||
38 changes: 19 additions & 19 deletions
38
internal/gocovshtest/testdata/general/happy_flow_no_exit_on_esc.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
|
||
Available files: | ||
|
||
[38;2;80;80;80m2 items[0m | ||
[38;2;0;255;0m> covered.go[0m | ||
partial_with_a_very_long_name_to_trigger_ellipsis_in_the_output.go | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
[38;2;97;97;97m↑/k[0m [38;2;73;73;73mup[0m[38;2;60;60;60m • [0m[38;2;97;97;97m↓/j[0m [38;2;73;73;73mdown[0m[38;2;60;60;60m • [0m[38;2;97;97;97m/[0m [38;2;73;73;73mfilter[0m[38;2;60;60;60m • [0m[38;2;97;97;97mq[0m [38;2;73;73;73mquit[0m[38;2;60;60;60m • [0m[38;2;97;97;97m?[0m [38;2;73;73;73mmore[0m | ||
|
||
Available files: | ||
[38;2;127;127;127m2 items[0m | ||
[38;2;0;255;0m> covered.go [38;2;127;127;127m100.00%[0m[0m | ||
partial_with_a_very_long_name_to_trigger_ellipsis_in_the_output.go [38;2;127;127;127m75.00%[0m | ||
[38;2;97;97;97m↑/k[0m [38;2;73;73;73mup[0m[38;2;60;60;60m • [0m[38;2;97;97;97m↓/j[0m [38;2;73;73;73mdown[0m[38;2;60;60;60m • [0m[38;2;97;97;97m/[0m [38;2;73;73;73mfilter[0m[38;2;60;60;60m • [0m[38;2;97;97;97mq[0m [38;2;73;73;73mquit[0m[38;2;60;60;60m • [0m[38;2;97;97;97m?[0m [38;2;73;73;73mmore[0m | ||
Oops, something went wrong.