!193 更新readme

Merge pull request !193 from liguangjie/master
This commit is contained in:
openharmony_ci 2022-11-23 08:38:04 +00:00 committed by Gitee
commit 30ad753ff9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 19 additions and 21 deletions

View File

@ -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.**
>![](figures/icon-note.gif) **NOTE:**
>**server**: NFS mounting configuration. Set the value to **NfsServer**.
>**server/ip**: IP address of the mounting environment

View File

@ -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挂载**
>![](figures/icon-note.gif) **说明:**
>server: nfs挂载配置label取值为NfsServer。
>server/ip: 挂载环境IP地址。