plushie/script
Run .plushie test scripts.
Discovers .plushie script files, parses them, and executes them against the mock backend. Reports pass/fail results.
import plushie/script
pub fn main() {
script.run(["test/scripts"], my_app.app())
}
Values
pub fn run(
paths: List(String),
app: app.App(model, event.Event),
) -> Nil
Run .plushie test scripts from the given paths.
If paths is empty, searches for .plushie files under test/scripts/. Parses each file and executes it against a fresh test session. Prints pass/fail results and exits with status 1 on any failure.