alicloud-platform-openclaw-setup-test

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Category: test
分类:测试

OpenClaw Setup Minimal Smoke Test

OpenClaw 安装最小冒烟测试

Prerequisites

前置条件

  • Target host has Node.js 20+ installed.
  • openclaw
    command is available.
  • DashScope API key and DingTalk/Feishu app credentials or Discord bot token are prepared (masked placeholders are acceptable).
  • Target skill:
    skills/platform/openclaw/alicloud-platform-openclaw-setup/
    .
  • 目标主机已安装 Node.js 20+ 版本。
  • openclaw
    命令可正常使用。
  • 已准备好 DashScope API 密钥、DingTalk/Feishu 应用凭证或 Discord 机器人令牌(允许使用掩码占位符)。
  • 目标技能路径:
    skills/platform/openclaw/alicloud-platform-openclaw-setup/

Test Steps

测试步骤

  1. Run
    openclaw --version
    and verify CLI availability.
  2. Open
    https://docs.openclaw.ai/channels/index
    and verify target channel is discoverable from official list.
  3. Run
    openclaw plugins list
    and verify
    dingtalk
    or
    feishu
    plugin is installed/detected (if those channels are used).
  4. Check
    ~/.openclaw/openclaw.json
    and verify Discord uses
    channels.discord.token
    or environment variable
    DISCORD_BOT_TOKEN
    .
  5. Run
    openclaw doctor
    and record the configuration checks.
  6. Run
    openclaw gateway status
    and record runtime/probe status.
  1. 运行
    openclaw --version
    并验证 CLI 可用。
  2. 打开
    https://docs.openclaw.ai/channels/index
    并验证目标渠道可在官方列表中找到。
  3. 运行
    openclaw plugins list
    并验证
    dingtalk
    feishu
    插件已安装/被检测到(如果使用这些渠道)。
  4. 检查
    ~/.openclaw/openclaw.json
    并验证 Discord 配置使用
    channels.discord.token
    或环境变量
    DISCORD_BOT_TOKEN
  5. 运行
    openclaw doctor
    并记录配置检查结果。
  6. 运行
    openclaw gateway status
    并记录运行时/探测状态。

Expected Results

预期结果

  • CLI commands execute successfully with exit code 0.
  • Official channels index is reachable and channel page can be resolved.
  • Plugin list contains
    dingtalk
    or
    feishu
    when those channels are configured.
  • Discord configuration includes a valid token source (
    channels.discord.token
    or
    DISCORD_BOT_TOKEN
    ).
  • doctor
    shows no fatal errors (missing-credential warnings are acceptable).
  • gateway status
    output is structurally complete; if not running, error details are actionable.
  • CLI 命令执行成功,退出码为 0。
  • 官方渠道索引可访问,渠道页面可正常解析。
  • 配置对应渠道时,插件列表包含
    dingtalk
    feishu
  • Discord 配置包含有效的令牌来源(
    channels.discord.token
    DISCORD_BOT_TOKEN
    )。
  • doctor
    命令无致命错误(缺少凭证的警告是可接受的)。
  • gateway status
    输出结构完整;若未运行,错误详情具备可操作性。

Evidence Storage

证据存储

  • Save command outputs to:
    output/alicloud-platform-openclaw-setup-test/
    .
  • 将命令输出保存至:
    output/alicloud-platform-openclaw-setup-test/