For details, see [https://gitee.com/openharmony/docs/blob/master/en/device-dev/quick-start/Readme-EN.md](https://gitee.com/openharmony/docs/blob/master/en/device-dev/quick-start/Readme-EN.md).
For details, see [device-dev/quick-start/Readme-EN.md](device-dev/quick-start/Readme-EN.md).
This test framework supports test cases written in multiple programming languages and provides different templates for different languages.
This test framework supports test cases written in multiple programming languages and provides different templates for different languages.
**C++ Test Case Example**
#### C++ Test Case Example
- Naming rules for source files
- Naming rules for source files
...
@@ -243,7 +243,7 @@ Example:
...
@@ -243,7 +243,7 @@ Example:
|Fuzz test |FUZZ|
|Fuzz test |FUZZ|
**JavaScript Test Case Example**
#### JavaScript Test Case Example
- Naming rules for source files
- Naming rules for source files
...
@@ -612,7 +612,7 @@ The following provides templates for different languages for your reference.
...
@@ -612,7 +612,7 @@ The following provides templates for different languages for your reference.
}
}
```
```
> **Note**: Grouping test cases by test type allows you to execute a specific type of test cases when required.
> **Note**: Grouping test cases by test type allows you to execute a specific type of test cases when required.
#### Configuring ohos.build
#### Configuring ohos.build
Configure the part build file to associate with specific test cases.
Configure the part build file to associate with specific test cases.
...
@@ -731,7 +731,7 @@ When the build is complete, the test cases are automatically saved in the **out/
...
@@ -731,7 +731,7 @@ When the build is complete, the test cases are automatically saved in the **out/
1. On Windows, create the **Test** directory in the test framework and then create the **testcase** directory in the **Test** directory.
1. On Windows, create the **Test** directory in the test framework and then create the **testcase** directory in the **Test** directory.
2. Copy **developertest** and **xdevice** from the Linux environment to the **Test** directory on Windows, and copy the test cases to the **testcase** directory.
2. Copy **developertest** and **xdevice** from the Linux environment to the **Test** directory on Windows, and copy the test cases to the **testcase** directory.
>**Note**: Port the test framework and test cases from the Linux environment to the Windows environment for subsequent execution.
>**Note**: Port the test framework and test cases from the Linux environment to the Windows environment for subsequent execution.