mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
b9f7e0a1a2
Currently CI test environment is complicated, usually includes NIC, AP. These devices are not used for a lot test cases. Therefore we split the test environment, remove unnecessary devices. Then it will be easier to create CI runners.
86 lines
2.2 KiB
YAML
86 lines
2.2 KiB
YAML
test cases:
|
|
- CI ready: 'Yes'
|
|
ID: TCPIP_IP_0101
|
|
SDK: |-
|
|
8266_NonOS
|
|
8266_RTOS
|
|
ESP32_IDF
|
|
Test App: SSC
|
|
allow fail: ''
|
|
auto test: 'Yes'
|
|
category: Function
|
|
cmd set:
|
|
- ''
|
|
- - SSC SSC1 dhcp -S -o 1
|
|
- - R SSC1 C +DHCP:STA,OK
|
|
- - SSC SSC1 ip -S -o 1 -i 192.168.123.123
|
|
- - R SSC1 C +IP:ERROR
|
|
- - SSC SSC1 dhcp -E -o 1
|
|
- - R SSC1 C +DHCP:STA,OK
|
|
- - SSC SSC1 ip -S -o 1 -i 192.168.123.123
|
|
- - R SSC1 C +IP:OK
|
|
- - SSC SSC1 ip -Q -o 1
|
|
- - R SSC1 C +STAIP:192.168.123.123
|
|
execution time: 0.0
|
|
expected result: |-
|
|
1.OK
|
|
2.ERROR
|
|
3.OK
|
|
4.OK
|
|
5.STAIP:192.168.123.123
|
|
initial condition: STAM1
|
|
level: Integration
|
|
module: TCPIP
|
|
steps: "1.target1 打开DHCP 1\n2.target1 设置sta ip 192.168.123.123\n4.target1 关闭DHCP
|
|
1\n5.target1 设置sta ip 192.168.123.123\n6.target1 查询 当前sta ip "
|
|
sub module: IP
|
|
summary: sta set and query static ip test
|
|
test environment: SSC_T1_4
|
|
test point 1: basic function
|
|
test point 2: set and query static IP
|
|
version: v1 (2016-8-15)
|
|
- CI ready: 'Yes'
|
|
ID: TCPIP_IP_0102
|
|
SDK: |-
|
|
8266_NonOS
|
|
8266_RTOS
|
|
ESP32_IDF
|
|
Test App: SSC
|
|
allow fail: ''
|
|
auto test: 'Yes'
|
|
category: Function
|
|
cmd set:
|
|
- ''
|
|
- - SSC SSC1 dhcp -S -o 2
|
|
- - R SSC1 C +DHCP:AP,OK
|
|
- - SSC SSC1 ip -S -o 2 -i 192.168.123.123
|
|
- - R SSC1 C +IP:ERROR
|
|
- - SSC SSC1 dhcp -E -o 2
|
|
- - R SSC1 C +DHCP:AP,OK
|
|
- - SSC SSC1 ip -S -o 2 -i 192.168.123.123
|
|
- - R SSC1 C +IP:OK
|
|
- - SSC SSC1 ip -Q -o 2
|
|
- - R SSC1 C +APIP:192.168.123.123
|
|
- - SSC SSC1 ip -S -o 2 -i <target_ap_ip>
|
|
- - R SSC1 C +IP:OK
|
|
execution time: 0.0
|
|
expected result: |-
|
|
1.OK
|
|
2.ERROR
|
|
3.OK
|
|
4.OK
|
|
5.APIP:192.168.123.123
|
|
6.OK
|
|
initial condition: APM1
|
|
level: Integration
|
|
module: TCPIP
|
|
steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n4.target1 关闭DHCP
|
|
2\n5.target1 设置softAP ip 192.168.123.123\n6.target1 查询 当前sta ip \n7.target1 设置softAP
|
|
ip 为target_ap_ip"
|
|
sub module: IP
|
|
summary: ap set and query static ip test
|
|
test environment: SSC_T1_4
|
|
test point 1: basic function
|
|
test point 2: set and query static IP
|
|
version: v1 (2016-8-15)
|