BettererTestOptionsBasic
API > @betterer/betterer > BettererTestOptionsBasic
The least complex version of a BettererTest operates on simple numbers and can be defined with just a few properties.
Signature
export interface BettererTestOptionsBasic
Properties
| Property | Type | Description |
|---|---|---|
| constraint | BettererTestConstraint<number> | The constraint function for the test. |
| deadline? | BettererTestDeadline | (Optional) The deadline for the test. |
| goal? | number | BettererTestGoal<number> | (Optional) The goal function or goal value for the test. |
| test | BettererTestFunction<number> | The function that runs the actual test. |