This chapter discusses how to develop custom runners. This topic is relevant if you already have lots of test data in other formats and don’t wish to convert it into HTML tables. A custom runner can process that data and feed it into Fit, producing standard Fit reports.
We show two examples that read tests from plaintext and spreadsheet files and process them with Fit.
1. It inputs data in some form and converts it into a
Parse tree. For example, a
FileRunner inputs HTML from a file.
2. It creates a new
Fixture object and calls its
doTables( ) method, passing the
3. It writes the report. A
FileRunner writes this ...