Fixture.meta Method

Specifies custom fixture metadata.

fixture.meta(name, value) → this
fixture.meta(metadata) → this
Parameter Type Description
name String The name of the metadata entry.
value String The value of the metadata entry.
metadata Object Key-value pairs.

Users can embed custom metadata into fixture and test definitions. Use the test.meta method to specify custom test metadata. Read the Metadata Guide to learn more about this capability.

fixture`Fixture.meta`
    .meta('key1', 'value1');
fixture`Fixture.meta object`
    .meta({ key1: 'value1', key2: 'value2', key3: 'value3' });