test(title, body)
test(title, details, body)
@
symbol.
TestCase.tags
property.
You can also filter tests by their tags during test execution:
TestCase.annotations
property.
You can also add annotations during runtime by manipulating
testInfo.annotations.
Learn more about test annotations.
Parameter | Type | Description |
---|---|---|
title | string | Test title. |
body | (args , testInfo ) => void | Promise <void > | Test body that takes one or two arguments: an object with fixtures and optional TestInfo. |
void
test(title, body)
test(title, details, body)
@
symbol.
TestCase.tags
property.
You can also filter tests by their tags during test execution:
TestCase.annotations
property.
You can also add annotations during runtime by manipulating
testInfo.annotations.
Learn more about test annotations.
Parameter | Type | Description |
---|---|---|
title | string | Test title. |
details | TestDetails | Additional test details. |
body | (args , testInfo ) => void | Promise <void > | Test body that takes one or two arguments: an object with fixtures and optional TestInfo. |
void