Some checks failed
Pipeline: Test, Lint, Build / Get version info (push) Has been cancelled
Pipeline: Test, Lint, Build / Lint Go code (push) Has been cancelled
Pipeline: Test, Lint, Build / Test Go code (push) Has been cancelled
Pipeline: Test, Lint, Build / Test JS code (push) Has been cancelled
Pipeline: Test, Lint, Build / Lint i18n files (push) Has been cancelled
Pipeline: Test, Lint, Build / Check Docker configuration (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (darwin/amd64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (darwin/arm64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/386) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/amd64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm/v5) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm/v6) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm/v7) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (windows/386) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (windows/amd64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Push to GHCR (push) Has been cancelled
Pipeline: Test, Lint, Build / Push to Docker Hub (push) Has been cancelled
Pipeline: Test, Lint, Build / Cleanup digest artifacts (push) Has been cancelled
Pipeline: Test, Lint, Build / Build Windows installers (push) Has been cancelled
Pipeline: Test, Lint, Build / Package/Release (push) Has been cancelled
Pipeline: Test, Lint, Build / Upload Linux PKG (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
POEditor import / update-translations (push) Has been cancelled
18 lines
863 B
Markdown
18 lines
863 B
Markdown
# Plugin Test Data
|
|
|
|
This directory contains test data and mock implementations used for testing the Navidrome plugin system.
|
|
|
|
## Contents
|
|
|
|
Each of these directories contains the source code for a simple Go plugin that implements a specific agent interface
|
|
(or multiple interfaces in the case of `multi_plugin`). These are compiled into WASM modules using the
|
|
`Makefile` and used in integration tests for the plugin adapters (e.g., `adapter_media_agent_test.go`).
|
|
|
|
Running `make` within this directory will build all test plugins.
|
|
|
|
## Usage
|
|
|
|
The primary use of this directory is during the development and testing phase. The `Makefile` is used to build the
|
|
necessary WASM plugin binaries. The tests within the `plugins` package (and potentially other packages that interact
|
|
with plugins) then utilize these compiled plugins and other test fixtures found here.
|