public struct Label

A struct representing a label for test results

Example

Label string representation should be in Json format

Label("name", "value").toString.should.equal(`{ "name": "name", "value": "value" }`);

public string name

The label name

public string value

The label value

public string toString() inout

Convert the struct to a JSON string

Variables

name
string
value
string

Functions

toStringinout