test_script

Function test_script 

Source
pub async fn test_script(
    path: &Path,
    config: &Config,
    source: Option<&str>,
) -> Result<()>
Expand description

Test a connector script without writing to the database.

Loads and executes the script, prints the returned items, and reports any errors. Useful for development and debugging.