This is an automated email from the ASF dual-hosted git repository. panjuan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push: new 215e809 Update doc (#9113) 215e809 is described below commit 215e80902d8ead0cad86abae5cfc3a4ca2f19bd5 Author: Liang Zhang <terrym...@163.com> AuthorDate: Thu Jan 21 12:34:49 2021 +0800 Update doc (#9113) --- .../content/features/test-engine/integration-test.cn.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/document/content/features/test-engine/integration-test.cn.md b/docs/document/content/features/test-engine/integration-test.cn.md index 785a215..a298b20 100644 --- a/docs/document/content/features/test-engine/integration-test.cn.md +++ b/docs/document/content/features/test-engine/integration-test.cn.md @@ -50,9 +50,11 @@ weight = 1 ## 使用指南 +模块路径:`shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite` + ### 测试用例配置 -SQL 用例在 `shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test/resources/cases/${SQL-TYPE}/${SQL-TYPE}-integration-test-cases.xml`。 +SQL 用例在 `resources/cases/${SQL-TYPE}/${SQL-TYPE}-integration-test-cases.xml`。 用例文件格式如下: @@ -96,7 +98,7 @@ SQL 用例在 `shardingsphere-test/shardingsphere-integration-test/shardingspher #### Native 环境配置 -目录:`shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test/resources/env/${SCENARIO-TYPE}` +目录:`src/test/resources/env/${SCENARIO-TYPE}` - `scenario-env.properties`: 数据源配置 - `rules.yaml`: 规则配置 @@ -107,7 +109,7 @@ SQL 用例在 `shardingsphere-test/shardingsphere-integration-test/shardingspher #### Docker 环境配置 -目录:`shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test/resources/docker/${SCENARIO-TYPE}` +目录:`src/test/resources/docker/${SCENARIO-TYPE}` - `docker-compose.yml`: Docker-Compose 配置文件,用于 Docker 环境启动 - `proxy/conf/config-${SCENARIO-TYPE}.yaml`: 规则配置 @@ -118,7 +120,7 @@ SQL 用例在 `shardingsphere-test/shardingsphere-integration-test/shardingspher #### 配置测试引擎运行环境 -通过配置 `shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/env/engine-env.properties` 控制测试引擎。 +通过配置 `src/test/resources/env/engine-env.properties` 控制测试引擎。 所有的属性值都可以通过 Maven 命令行 `-D` 的方式动态注入。