 Apache ShardingSphere 5.0.0-alpha Documentenv‐native.properties – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/dataset.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/schema.xml • test integration‐test‐cases.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/cases/SQL-TYPE/dataset/FEATURE-TYPE/*.xml • sql‐case – /sharding‐sql‐test/src/main/resources/sql/sharding/SQL-TYPE/*.xml rc/test/ resources/env/SQL-TYPE/dataset.xml. Developer can set up metadata and expected data to start the data initialization in dataset.xml. For example: <dataset> Apache ShardingSphere 5.0.0-alpha Documentenv‐native.properties – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/dataset.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/schema.xml • test integration‐test‐cases.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/cases/SQL-TYPE/dataset/FEATURE-TYPE/*.xml • sql‐case – /sharding‐sql‐test/src/main/resources/sql/sharding/SQL-TYPE/*.xml rc/test/ resources/env/SQL-TYPE/dataset.xml. Developer can set up metadata and expected data to start the data initialization in dataset.xml. For example: <dataset>- 0 码力 | 311 页 | 2.09 MB | 1 年前 3
 Apache ShardingSphere 中文文档 5.0.0-alphaexpected-data-file="${dataset_file_1}.xml" /> Apache ShardingSphere 中文文档 5.0.0-alphaexpected-data-file="${dataset_file_1}.xml" />- 3.10. 测试引擎 的查找规则是:1. 查找同级目录中 dataset\${SCENARIO_NAME}\ ${DATABASE_TYPE}\${dataset_file}.xml 文 件;2. 查 找 同 级 目 录 中 dataset\ ${SCENARIO_NAME}\${dataset_file}.xml 文 件;3. 查 找 同 级 目 录 中 dataset\ ${dataset_file}.xml 文件;4 文件;4. 都找不到则报错。 断言文件格式如下: <dataset> 0 码力 | 301 页 | 3.44 MB | 1 年前3
 Apache ShardingSphere 5.1.1 Documentenv‐native.properties – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/dataset.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/schema.xml • test integration‐test‐cases.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/cases/SQL-TYPE/dataset/FEATURE-TYPE/*.xml • sql‐case – /sharding‐sql‐test/src/main/resources/sql/sharding/SQL-TYPE/*.xml rc/test/ resources/env/SQL-TYPE/dataset.xml. Developer can set up metadata and expected data to start the data initialization in dataset.xml. For example: <dataset> Apache ShardingSphere 5.1.1 Documentenv‐native.properties – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/dataset.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/schema.xml • test integration‐test‐cases.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/cases/SQL-TYPE/dataset/FEATURE-TYPE/*.xml • sql‐case – /sharding‐sql‐test/src/main/resources/sql/sharding/SQL-TYPE/*.xml rc/test/ resources/env/SQL-TYPE/dataset.xml. Developer can set up metadata and expected data to start the data initialization in dataset.xml. For example: <dataset>- 0 码力 | 458 页 | 3.43 MB | 1 年前 3
 Apache ShardingSphere 5.1.2 Documentenv‐native.properties – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/dataset.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/schema.xml • test integration‐test‐cases.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/cases/SQL-TYPE/dataset/FEATURE-TYPE/*.xml • sql‐case – /sharding‐sql‐test/src/main/resources/sql/sharding/SQL-TYPE/*.xml rc/test/ resources/env/SQL-TYPE/dataset.xml. Developer can set up metadata and expected data to start the data initialization in dataset.xml. For example: <dataset> Apache ShardingSphere 5.1.2 Documentenv‐native.properties – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/dataset.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/schema.xml • test integration‐test‐cases.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/cases/SQL-TYPE/dataset/FEATURE-TYPE/*.xml • sql‐case – /sharding‐sql‐test/src/main/resources/sql/sharding/SQL-TYPE/*.xml rc/test/ resources/env/SQL-TYPE/dataset.xml. Developer can set up metadata and expected data to start the data initialization in dataset.xml. For example: <dataset>- 0 码力 | 503 页 | 3.66 MB | 1 年前 3
 Apache ShardingSphere 5.4.1 Documentexpected-data-file="${dataset_file_1}.xml" /> Apache ShardingSphere 5.4.1 Documentexpected-data-file="${dataset_file_1}.xml" />- as follows: 1. Find the file dataset\ ${SCENARIO_NAME}\${DATABASE_TYPE}\${dataset_file}.xml in the same level directory; 2. Find the file dataset\${SCENARIO_NAME}\${dataset_file}.xml in the same level document 3. Find the file dataset\${dataset_file}.xml in the same level directory; 4. Report an error if none of them are found. The assertion file format is as follows: <dataset> 0 码力 | 572 页 | 3.73 MB | 1 年前3 Apache ShardingSphere 5.2.0 Documentexpected-data-file="${dataset_file_1}.xml" /> Apache ShardingSphere 5.2.0 Documentexpected-data-file="${dataset_file_1}.xml" />- the file dataset\ ${SCENARIO_NAME}\${DATABASE_TYPE}\${dataset_file}.xml in the same level directory; 2. 6.5. Integration Test 328 Apache ShardingSphere document, v5.2.0 Find the file dataset\${SCENA dataset\${SCENARIO_NAME}\${dataset_file}.xml in the same level directory; 3. Find the file dataset\${dataset_file}.xml in the same level directory; 4. Report an error if none of them are found. The assertion file 0 码力 | 483 页 | 4.27 MB | 1 年前3 Apache ShardingSphere 5.0.0 Documentenv‐native.properties – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/dataset.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/schema.xml • test integration‐test‐cases.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/cases/SQL-TYPE/dataset/FEATURE-TYPE/*.xml • sql‐case – /sharding‐sql‐test/src/main/resources/sql/sharding/SQL-TYPE/*.xml rc/test/ resources/env/SQL-TYPE/dataset.xml. Developer can set up metadata and expected data to start the data initialization in dataset.xml. For example: <dataset> Apache ShardingSphere 5.0.0 Documentenv‐native.properties – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/dataset.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/env/SQL-TYPE/schema.xml • test integration‐test‐cases.xml – /shardingsphere‐integration‐test‐suite/src/test/resources/cases/SQL-TYPE/dataset/FEATURE-TYPE/*.xml • sql‐case – /sharding‐sql‐test/src/main/resources/sql/sharding/SQL-TYPE/*.xml rc/test/ resources/env/SQL-TYPE/dataset.xml. Developer can set up metadata and expected data to start the data initialization in dataset.xml. For example: <dataset>- 0 码力 | 403 页 | 3.15 MB | 1 年前 3 Apache ShardingSphere v5.5.0 documentexpected-data-file="${dataset_file_1}.xml" /> Apache ShardingSphere v5.5.0 documentexpected-data-file="${dataset_file_1}.xml" />- as follows: 1. Find the file dataset\ ${SCENARIO_NAME}\${DATABASE_TYPE}\${dataset_file}.xml in the same level directory; 2. Find the file dataset\${SCENARIO_NAME}\${dataset_file}.xml in the same level document 3. Find the file dataset\${dataset_file}.xml in the same level directory; 4. Report an error if none of them are found. The assertion file format is as follows: <dataset> 0 码力 | 602 页 | 3.85 MB | 1 年前3 Apache ShardingSphere 中文文档 5.0.0expected-data-file="${dataset_file_1}.xml" /> Apache ShardingSphere 中文文档 5.0.0expected-data-file="${dataset_file_1}.xml" />- 的查找规则是:1. 查找同级目录中 dataset\${SCENARIO_NAME}\ ${DATABASE_TYPE}\${dataset_file}.xml 文 件;2. 查 找 同 级 目 录 中 dataset\ ${SCENARIO_NAME}\${dataset_file}.xml 文 件;3. 查 找 同 级 目 录 中 dataset\ ${dataset_file}.xml 文件;4 文件;4. 都找不到则报错。 断言文件格式如下: <dataset> 0 码力 | 385 页 | 4.26 MB | 1 年前3 Apache ShardingSphere 5.2.1 Documentexpected-data-file="${dataset_file_1}.xml" /> Apache ShardingSphere 5.2.1 Documentexpected-data-file="${dataset_file_1}.xml" />- the file dataset\ ${SCENARIO_NAME}\${DATABASE_TYPE}\${dataset_file}.xml in the same level directory; 2. 6.5. Integration Test 355 Apache ShardingSphere document, v5.2.1 Find the file dataset\${SCENA dataset\${SCENARIO_NAME}\${dataset_file}.xml in the same level directory; 3. Find the file dataset\${dataset_file}.xml in the same level directory; 4. Report an error if none of them are found. The assertion file 0 码力 | 523 页 | 4.51 MB | 1 年前3共 17 条- 1
- 2
 













