25 lines
859 B
Markdown
25 lines
859 B
Markdown
|
|
# CLI Plugin Integration Test
|
||
|
|
|
||
|
|
This is a test document to verify that the CLI integration with the testdrive-jsui plugin works correctly.
|
||
|
|
|
||
|
|
## Features to Test
|
||
|
|
|
||
|
|
- Plugin selection via `--engine` parameter
|
||
|
|
- Default engine selection for edit mode
|
||
|
|
- Fallback to standard rendering if plugin fails
|
||
|
|
|
||
|
|
## Test Scenarios
|
||
|
|
|
||
|
|
1. **Default behavior**: `markitect md-render --edit test.md`
|
||
|
|
- Should use testdrive-jsui by default
|
||
|
|
|
||
|
|
2. **Explicit plugin**: `markitect md-render --engine testdrive-jsui --edit test.md`
|
||
|
|
- Should use testdrive-jsui explicitly
|
||
|
|
|
||
|
|
3. **Standard fallback**: `markitect md-render --engine standard --edit test.md`
|
||
|
|
- Should use standard CleanDocumentManager
|
||
|
|
|
||
|
|
4. **Unknown engine**: `markitect md-render --engine unknown --edit test.md`
|
||
|
|
- Should fallback to standard with warning
|
||
|
|
|
||
|
|
This test will verify the plugin infrastructure integration.
|