-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to add test for GenerateMarkdownSummary
- Loading branch information
1 parent
0c3a3cf
commit a69b08f
Showing
2 changed files
with
159 additions
and
0 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
internal/applicationsnapshot/__snapshots__/report_test.snap
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
[Test_GenerateMarkdownSummary/One_Warning_and_One_Success - 1] | ||
| Field | Value |Status| | ||
|-----------|-------|-------| | ||
| Time | 1970-01-01 00:00:00 | | | ||
| Name | | | | ||
| Successes | 1 | :white_check_mark: | | ||
| Failures | 0 | :white_check_mark: | | ||
| Warnings | 1 | :x: | | ||
| Result | true | :white_check_mark: | | ||
|
||
--- | ||
|
||
[Test_GenerateMarkdownSummary/One_Failure_and_One_Violation - 1] | ||
| Field | Value |Status| | ||
|-----------|-------|-------| | ||
| Time | 1970-01-01 00:00:00 | | | ||
| Name | | | | ||
| Successes | 0 | :x: | | ||
| Failures | 1 | :x: | | ||
| Warnings | 1 | :x: | | ||
| Result | false | :x: | | ||
|
||
--- | ||
|
||
[Test_GenerateMarkdownSummary/Multiple_Failure_and_One_Violation - 1] | ||
| Field | Value |Status| | ||
|-----------|-------|-------| | ||
| Time | 1970-01-01 00:00:00 | | | ||
| Name | | | | ||
| Successes | 0 | :x: | | ||
| Failures | 3 | :x: | | ||
| Warnings | 2 | :x: | | ||
| Result | false | :x: | | ||
|
||
--- | ||
|
||
[Test_GenerateMarkdownSummary/With_success - 1] | ||
| Field | Value |Status| | ||
|-----------|-------|-------| | ||
| Time | 1970-01-01 00:00:00 | | | ||
| Name | | | | ||
| Successes | 3 | :white_check_mark: | | ||
| Failures | 0 | :white_check_mark: | | ||
| Warnings | 0 | :white_check_mark: | | ||
| Result | true | :white_check_mark: | | ||
|
||
--- | ||
|
||
[Test_GenerateMarkdownSummary/With_Snapshot - 1] | ||
| Field | Value |Status| | ||
|-----------|-------|-------| | ||
| Time | 1970-01-01 00:00:00 | | | ||
| Name | | | | ||
| Successes | 0 | :x: | | ||
| Failures | 2 | :x: | | ||
| Warnings | 2 | :x: | | ||
| Result | false | :x: | | ||
|
||
--- |
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