Documentation ¶
Rendered for js/wasm
Overview ¶
Package testing implements utilities to aid in testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteResults ¶
WriteResults adds elements to the supplied DOM summarizing the test results. The elements are given identifiers such that the results can be queried by automation. The following elements are added:
- failureCount: a div element, whose contained text is the number of tests that failed.
- failures: A pre element, whose contained text is a human-readable list of the individual failures.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.