smoke-test
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSmoke Test
冒烟测试
Interactive smoke tests for voxtype. Run after installing a new build to verify core functionality.
为voxtype提供的交互式冒烟测试。在安装新版本后运行,以验证核心功能。
Instructions
操作说明
- Read the test procedures from
docs/SMOKE_TESTS.md - Use TodoWrite to create a checklist of all test sections
- Run each test section in order, marking todos as completed
- Report results in a summary table at the end
- 从中阅读测试流程
docs/SMOKE_TESTS.md - 使用TodoWrite创建所有测试章节的检查清单
- 按顺序运行每个测试章节,标记已完成的待办事项
- 在末尾的汇总表格中报告结果
Prerequisites
前提条件
Before starting, verify:
- voxtype daemon is running:
systemctl --user status voxtype - Audio device is available
- Wayland session is active (for wtype/clipboard tests)
开始前,请验证:
- voxtype守护进程正在运行:
systemctl --user status voxtype - 音频设备可用
- Wayland会话处于活动状态(用于wtype/剪贴板测试)
Test Sections to Run
需运行的测试章节
Read and execute these test sections:
docs/SMOKE_TESTS.md- Basic Verification
- Recording Cycle
- CLI Overrides
- Waybar JSON Output
- Single Instance Enforcement
- Config Validation
- Signal Handling
- Rapid Successive Recordings
- Service Restart Cycle
阅读并执行以下测试章节:
docs/SMOKE_TESTS.md- 基础验证
- 录制周期
- CLI覆盖
- Waybar JSON输出
- 单实例强制验证
- 配置验证
- 信号处理
- 连续快速录制
- 服务重启周期
Results Summary
结果汇总
After running all tests, provide a summary table:
| Test | Result |
|---|---|
| Basic verification | ✓/✗ |
| Recording cycle | ✓/✗ |
| CLI overrides | ✓/✗ |
| Waybar JSON | ✓/✗ |
| Single instance | ✓/✗ |
| Config validation | ✓/✗ |
| Signal handling | ✓/✗ |
| Rapid recordings | ✓/✗ |
| Service restarts | ✓/✗ |
完成所有测试后,提供汇总表格:
| 测试项 | 结果 |
|---|---|
| 基础验证 | ✓/✗ |
| 录制周期 | ✓/✗ |
| CLI覆盖 | ✓/✗ |
| Waybar JSON | ✓/✗ |
| 单实例验证 | ✓/✗ |
| 配置验证 | ✓/✗ |
| 信号处理 | ✓/✗ |
| 连续快速录制 | ✓/✗ |
| 服务重启 | ✓/✗ |
Known Issues to Watch For
需要注意的已知问题
- Broken pipe panic: If piping voxtype output through , may see panic (cosmetic)
head - Language detection: Without speech, Whisper may detect random languages (expected)
- Empty transcription: Normal when no actual speech is captured
- Notification icon mismatch: Parakeet binary with Whisper config may show wrong icon
- 管道破裂恐慌:如果将voxtype输出通过管道传输,可能会出现恐慌(仅影响显示)
head - 语言检测:无语音输入时,Whisper可能会检测到随机语言(属于预期情况)
- 空转录结果:未捕获到实际语音时属于正常现象
- 通知图标不匹配:搭配Whisper配置的Parakeet二进制文件可能显示错误图标