Testing & Automation
MonoTerm has two interfaces for automation:test for UI verification
and ctl for controlling a running instance.
monoterm test
Spawns a fresh MonoTerm in a real pseudo-terminal and sends keystrokes through the same path as a human typing. Use this to verify UI features.monoterm ctl
Controls a running MonoTerm instance via Unix socket. Connects automatically to the newest instance.When to use which
test | ctl | |
|---|---|---|
| Target | New instance | Running instance |
| Keys | Through keyboard layer | Direct to shell |
| Best for | UI verification | Shell automation |
| Speed | ~10s startup | Instant |