Skip to main content

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

PropertyTypeDescription
constraintBettererTestConstraint<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.
testBettererTestFunction<number>The function that runs the actual test.