vox-plugin-test-harness API Reference (generated)
vox-plugin-test-harness
Section titled “vox-plugin-test-harness”Crate: vox-plugin-test-harness · Version: 0.6.0 · Target: Library (lib.rs)
Shared test utilities for Vox plugin authors: manifest fixture builders and temp plugin directory helpers.
Crate Overview
Section titled “Crate Overview”vox-plugin-test-harness
Section titled “vox-plugin-test-harness”Shared test utilities for Vox plugin authors:
- [
manifest_builder] — fluent builders for Plugin.toml TOML strings - [
plugin_dir] — [PluginDir] temp-directory helper
Quick start
Section titled “Quick start”use vox_plugin_test_harness::manifest_builder::CodeManifestBuilder;use vox_plugin_test_harness::plugin_dir::{PluginDir, assert_manifest_parses};
let toml = CodeManifestBuilder::new("test-plugin").extension_point("MlBackend")// vox-arch-check: allow dynlib-ext.artifact("linux-x86_64", "libtest.so").build();
let dir = PluginDir::from_toml(&toml).expect("valid toml");let manifest = dir.parse_manifest().expect("round-trip");assert_eq!(manifest.plugin.id, "test-plugin");Workspace Dependencies
Section titled “Workspace Dependencies”| Dependency | Kind |
|---|---|
vox-plugin-types | Normal |
Public API Surface
Section titled “Public API Surface”Modules
Section titled “Modules”| Module | Description |
|---|---|
manifest_builder | — |
plugin_dir | — |