-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add auto-generated HTML report #9
base: main
Are you sure you want to change the base?
Conversation
{{ end }} | ||
|
||
{{ block "nested-content" . }} | ||
<!-- TODO: hover doesn't work?? --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check
<!-- TODO: hover doesn't work?? --> | ||
<div class="flex flex-col justify-center p-4 bg-green-800 border-green-800 shadow-md hover:shadow-lg rounded-2xl"> | ||
<div class=" text-gray-400 flex items-center "> | ||
<!-- TODO: make image work?? --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check
HasSkipped bool | ||
HasFailed bool | ||
Contents map[string]NestedContents | ||
// TODO: check if actually necessary?? can't I just pass the key to the template? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check
Expect(spec.Contents["Example"].Contents["it should be true"].LayerDescription).To(Equal("it should be true")) | ||
Expect(spec.Contents["Example"].Contents["it should be false"].LayerDescription).To(Equal("it should be false")) | ||
|
||
fmt.Println(spec.Contents["Example"].Contents["Nested table"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove print statement(s)
Creates an exportable HTML report, which shows the available tests and their corresponding results.