mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2025-02-28 06:26:34 +00:00
commit
30ad753ff9
23
README.md
23
README.md
@ -25,15 +25,14 @@ XDevice consists of the following sub-modules:
|
||||
|
||||
```
|
||||
xdevice
|
||||
├── config # XDevice configuration
|
||||
│ ├── user_config.xml # XDevice environment configuration
|
||||
├── resource # XDevice resources
|
||||
│ ├── tools # Burning tools
|
||||
├── src # Source code
|
||||
├── config # XDevice configuration
|
||||
│ ├── user_config.xml # XDevice environment configuration
|
||||
├── src # Source code
|
||||
│ ├── xdevice
|
||||
├── extension # XDevice extension
|
||||
│ ├── src # Source code of the extension
|
||||
│ └── setup.py # Installation script of the extension
|
||||
├── plugins # XDevice plugins
|
||||
│ ├── ohos # OpenHarmony plugins
|
||||
| ├── src # OpenHarmony plugins source code
|
||||
│ └── setup.py # Installation script of the plugins
|
||||
```
|
||||
|
||||
## Constraints<a name="section118067583303"></a>
|
||||
@ -86,15 +85,15 @@ The environment requirements for using this module are as follows:
|
||||
>- **serial/com**: serial port for local connection, for example, **COM20**
|
||||
>- **serial/type**: serial port type. The value can be **cmd** \(serial port for test case execution\) or **deploy** \(serial port for system upgrade\).
|
||||
> For the open-source project, the **cmd** and **deploy** serial ports are the same, and their **com** values are the same too.
|
||||
>**serial/baud\_rate, data\_bits, stop\_bits** and **timeout**: serial port parameters. You can use the default values.
|
||||
> **serial/baud\_rate, data\_bits, stop\_bits** and **timeout**: serial port parameters. You can use the default values.
|
||||
|
||||
|
||||
**2. Set the test case directory.**
|
||||
|
||||
|
||||
**dir**: test case directory
|
||||
|
||||
|
||||
**3. Mount the NFS.**
|
||||
|
||||
|
||||
> **NOTE:**
|
||||
>**server**: NFS mounting configuration. Set the value to **NfsServer**.
|
||||
>**server/ip**: IP address of the mounting environment
|
||||
|
17
README_zh.md
17
README_zh.md
@ -26,14 +26,13 @@ xdevice主要包括以下几个主要模块:
|
||||
```
|
||||
xdevice
|
||||
├── config # xdevice组件配置
|
||||
│ ├── user_config.xml # xdevice环境配置
|
||||
├── resource # xdevice组件资源
|
||||
│ ├── tools # 版本烧录工具
|
||||
│ ├── user_config.xml # xdevice环境配置
|
||||
├── src # 组件源码目录
|
||||
│ ├── xdevice
|
||||
├── extension # xdevice扩展模块
|
||||
│ ├── src # 扩展模块源码
|
||||
│ └── setup.py # xdevice扩展模块安装脚本
|
||||
├── plugins # xdevice扩展模块
|
||||
| |—— ohos # openharmony测试驱动插件
|
||||
│ ├── src # 扩展模块源码
|
||||
│ └── setup.py # ohos扩展模块安装脚本
|
||||
```
|
||||
|
||||
## 约束<a name="section118067583303"></a>
|
||||
@ -88,11 +87,11 @@ xdevice
|
||||
|
||||
|
||||
**2、测试用例目录设置**
|
||||
|
||||
|
||||
dir: 指定测试用例目录。
|
||||
|
||||
|
||||
**3、nfs挂载**
|
||||
|
||||
|
||||
> **说明:**
|
||||
>server: nfs挂载配置,label取值为NfsServer。
|
||||
>server/ip: 挂载环境IP地址。
|
||||
|
Loading…
x
Reference in New Issue
Block a user