mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 05:40:26 +02:00
- Create tests/plugins/ with auto-discovery fixtures and generic tests - Add conftest.py with plugin_ids, loaded_plugin, host_context fixtures - Add test_all_plugins.py with 3 test classes: - TestAllPluginsManifest: validates manifest structure - TestAllPluginsEngine: validates engine lifecycle contract - TestAllPluginsCapabilities: validates capability implementation - Update docs/testing.md with auto-discovery documentation - Plugin-specific tests remain in tests/test_*_plugin.py for integration New plugins in plugins/ are now automatically tested without manual test creation.
11 lines
382 B
Python
11 lines
382 B
Python
"""Auto-discovery tests for TTS plugins.
|
|
|
|
This package contains generic tests that automatically run for every plugin
|
|
in the plugins/ directory. Tests verify:
|
|
- Manifest structure
|
|
- Engine creation and dispose contract
|
|
- Capability implementation
|
|
|
|
Plugin-specific tests remain in tests/test_<plugin>_plugin.py for
|
|
integration with real dependencies (e.g., KPipeline for Kokoro).
|
|
""" |