Test dataset
Custom dataset loader
JavaScript function to modify how a dataset is loaded
For granular control on the test dataset, you can write a custom dataset loader function JavaScript or TypeScript. This requires a JS/TS configuration file.
This can be used to
Modify source dataset
The Spider using TS example uses this loader to add an dynamic input to the dataset sample before running the tests.
Generate synthetic data
With the custom loader, you can write a synthetic data generator for your use-case.