Class: Recipe

Recipe

The recipe instructs the Fuzzer what steps to take to mutate a thing


new Recipe()

Source:

Members


length

Get the number of steps in the recipe

Source:

Methods


addStep(pathOrStep, op)

Adds a step to this receipe

Parameters:
Name Type Description
pathOrStep String | Step

the path in thing that op will run on. Or if a Step has already been created (which constains a path and op) just use that instead.

op function

if pathOrStep is a path, this is the function that will be run against that path

Source: