Function generate_tests

Source
pub fn generate_tests<P1, P2>(
    toml_directory_path: P1,
    output_json_directory_path: P2,
) -> Result<TokenStream, Error>
where P1: AsRef<Path>, P2: AsRef<Path>,
Expand description

Generate the source of end-to-end tests based on the TOML configuration in toml_directory_path. As a side-effect, JSON files are written to output_json_directory_path, and additional variants with compressed inputs of TOML configs are generated.