Function: ethereumWalletMockFixtures()
ethereumWalletMockFixtures(title, body)
Declares a test.
test(title, body)
test(title, details, body)
Usage
Tags
You can tag tests by providing additional test details. Alternatively, you can include tags in the test title. Note
that each tag must start with @
symbol.
Test tags are displayed in the test report, and are available to a custom reporter via TestCase.tags
property.
You can also filter tests by their tags during test execution:
- in the command line;
- in the config with testConfig.grep and testProject.grep;
Learn more about tagging.
Annotations
You can annotate tests by providing additional test details.
Test annotations are displayed in the test report, and are available to a custom reporter via
TestCase.annotations
property.
You can also add annotations during runtime by manipulating testInfo.annotations.
Learn more about test annotations.
Parameters
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. |
Returns
void
ethereumWalletMockFixtures(title, details, body)
Declares a test.
test(title, body)
test(title, details, body)
Usage
Tags
You can tag tests by providing additional test details. Alternatively, you can include tags in the test title. Note
that each tag must start with @
symbol.
Test tags are displayed in the test report, and are available to a custom reporter via TestCase.tags
property.
You can also filter tests by their tags during test execution:
- in the command line;
- in the config with testConfig.grep and testProject.grep;
Learn more about tagging.
Annotations
You can annotate tests by providing additional test details.
Test annotations are displayed in the test report, and are available to a custom reporter via
TestCase.annotations
property.
You can also add annotations during runtime by manipulating testInfo.annotations.
Learn more about test annotations.
Parameters
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. |
Returns
void