mirror of
https://github.com/iflytek/skillhub.git
synced 2026-09-07 08:26:00 +00:00
7 end-to-end tests that exercise the CLI against a real SkillHub backend, auto-skipped when SKILLHUB_E2E_REGISTRY/SKILLHUB_E2E_TOKEN are not set: - E1: publish → search (exact slug) → install → content match → remote remove - E2: publish v1 → publish v2 → install latest gets v2 → --version pin gets v1 - E3: install nonexistent slug → non-zero exit - E4: invalid token whoami → EXIT.auth - E5: keyword substring search finds freshly-published skill - E6: SKILL.md missing name field → server rejects - E7: name exceeding length cap → server rejects Includes shared helpers: live-registry env detection, unique slug generation, polling with timeout, and skill fixture builder. |
||
|---|---|---|
| .. | ||
| live-registry.ts | ||
| skill-fixtures.ts | ||