本提示词根据产品需求与背景信息,自动生成覆盖正常功能、边界条件与异常场景的完整测试用例集,每条用例包含可执行步骤与可验证预期结果,适合硬件设备、通信模块等项目的测试用例编写。

中文版提示词

请根据以下需求与背景,生成一份完整的测试用例集,用例格式参照知识库文档“用例导入模板.xlsx”。

背景信息:hub 家庭存储器作为中继器,将局域网内的 IPC 接入并进行存储录像。

核心需求:
1. 芯片方案:上行高拓 2.4G 1 颗(1T1R WiFi6),下行爱科微 5G 2 颗(1T1R WiFi6)。
2. WiFi 默认配置:SSID 隐藏;名称格式 IMOU-SN;密码重置时随机生成、重启不改变;加密方式 WPA/WPA2;信道自动选择(2.4G 可选 1、6、11,5G 仅保留低信道);频宽 2.4G 为 20M、5G 为 40M。
3. 网络配置:不支持 IPv6;DNS 从上级路由获取并内置备用 DNS(223.5.5.5、8.8.8.8、223.6.6.6、8.8.4.4);WAN 口 IP 192.168.1.212;WLAN IP 地址池 10.66.0.1,子网掩码 255.255.0.0;MTU 默认 1400。
4. 信道优选:用户手动触发;驱动实现自动信道选择;若上行使用 STA 模式则避开 STA 信道(5G 仅保留低信道)。
5. 路由功能:Hub 默认作为路由为下端设备分配 IP;默认 IP 192.168.1.212;网关 10.66.0.1,子网掩码 255.255.0.0。

测试用例集要求:覆盖所有功能模块的正常功能验证;包含关键边界条件和异常场景测试;每条用例需明确可执行的步骤和可验证的预期结果。

英文版提示词

Based on the requirements and background below, generate a complete test case set, with the case format referencing the knowledge-base document "用例导入模板.xlsx".

Background: The hub home storage acts as a relay, connecting IPCs in the LAN and storing recordings.

Core requirements:
1. Chip solution: uplink Gaotuo 2.4G x1 (1T1R WiFi6); downlink Aikewei 5G x2 (1T1R WiFi6).
2. WiFi default config: hidden SSID; name format IMOU-SN; password randomly generated on reset and unchanged after reboot; WPA/WPA2; auto channel selection (2.4G: 1/6/11; 5G: low channels only); bandwidth 20M for 2.4G, 40M for 5G.
3. Network config: no IPv6; DNS from upstream router plus built-in backup DNS (223.5.5.5, 8.8.8.8, 223.6.6.6, 8.8.4.4); WAN IP 192.168.1.212; WLAN IP pool 10.66.0.1, mask 255.255.0.0; MTU 1400.
4. Channel optimization: manually triggered; driver-based auto channel selection; avoid STA channel in STA mode (5G low channels only).
5. Routing: Hub acts as router by default, assigning IPs to downstream devices; default IP 192.168.1.212; gateway 10.66.0.1, mask 255.255.0.0.

Test case requirements: cover normal-function verification for all modules; include key boundary conditions and exception scenarios; each case must have clear executable steps and verifiable expected results.

🛠️ **适用 AI 工具**:ChatGPT、Claude、DeepSeek、通义千问、Kimi、Gemini