Skip to main content

Module conformance

Module conformance 

Source
Expand description

The protocol conformance suite. Every first-party plugin runs it in its tests; third-party plugin authors can run it too. It only checks protocol behaviour common to every plugin kind; each plugin’s own tests cover what it does with real data. A package executable (dre-plugin-<package>) is checked once per plugin it provides.

Structs§

Check

Functions§

assert_conforms
Panic with a readable report unless every check passes. For use in plugin tests.
run
Run every check against the plugin executable at path.
run_with_env
Like run, with extra environment variables for every plugin process (for plugins whose capabilities depend on their environment).