sk-e2e

command
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Command sk-e2e is a thin end-to-end smoke client for a running speechkit-server instance. It walks every public v1 endpoint with realistic payloads and exits non-zero when any contract assertion fails. Designed to be run from CI, from `scripts/test-e2e-local.ps1`, or by hand against a staging URL.

Usage:

sk-e2e --server http://localhost:8080
sk-e2e --server $URL --token $TOKEN --scenarios health,dictation

Exit codes:

0 — all scenarios passed
1 — at least one scenario failed
2 — invalid CLI usage / setup error

Scenarios use programmatically generated audio fixtures (synth sine wave wrapped in a WAV header) so the tool has no external file dependencies. WebM/Opus and OGG/Opus paths are exercised by the server-side ffmpeg-test pair, not here.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL