diff --git a/README.md b/README.md index 5910b1d..1911a80 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,12 @@ Automated testing framework for api services, http, gRPC * No program development is required, only configuration files need to be written * You can specify dependencies between testcases * Testcases without dependencies can be executed concurrently and execute faster -* Use xpath to extract variables for easy writing +* Use XPath to extract variables for easy writing * supports importing variables from files and extracting variables from response +## Something you need to know +[XPath Syntax](https://www.w3schools.com/xml/xpath_syntax.asp) + ## Install ### 1) use the compiled binary file [release](https://github.com/vearne/autotest/releases) @@ -96,6 +99,9 @@ autotest extract -x "//title" -j '[ ]' ``` ## Test Report +### Report in csv format +![report](https://github.com/vearne/autotest/raw/main/img/result_csv.jpg) +### Report in html format ![report](https://github.com/vearne/autotest/raw/main/img/result_html.jpg) ## TODO diff --git a/README_zh.md b/README_zh.md index 8ca5628..6a79521 100644 --- a/README_zh.md +++ b/README_zh.md @@ -9,9 +9,12 @@ * 无需进行程序开发,只需要编写配置文件 * 可以指定testcase之间的依赖关系 * 无依赖关系的testcase可以并发执行,执行速度更快 -* 使用xpath提取变量书写方便 +* 使用XPath提取变量,书写方便 * 支持从文件中导入变量,支持从response中提取变量 +## 你需要了解的知识 +[XPath Syntax](https://www.w3schools.com/xml/xpath_syntax.asp) + ## 安装 ### 1) 使用编译好的bin文件 [release](https://github.com/vearne/autotest/releases) @@ -93,6 +96,10 @@ autotest extract -x "//title" -j '[ ]' ``` ## 测试报告 +### CSV格式 +![report](https://github.com/vearne/autotest/raw/main/img/result_csv.jpg) + +### HTML格式 ![report](https://github.com/vearne/autotest/raw/main/img/result_html.jpg) ## TODO diff --git a/img/result_csv.jpg b/img/result_csv.jpg new file mode 100644 index 0000000..6842566 Binary files /dev/null and b/img/result_csv.jpg differ