log
Store the provided values as log output for this test case.
log(...values: any[]): void
Notes
- Logged values are converted to strings immediately
- Logs are usually shown only if a test case fails
Parameters
- values — A list of values, of any type
Related
- class TestCaseA class that represents a single test case, part of a TestScope.
- getLogs()Returns all log output as an array.