Test the java native api of iotdb. This project is developed by java, maven and TestNG.
jdk: >= 17 maven: >= 3.9.8 iotdb: = 2.0.6-SNAPSHOT
- The iotdb connection(default is localhost):
common/src/resources/config.properties- The iotdb-session dependency: the pom.xml of project
- Configure running test cases:
details/src/resources/testng.xml (Note: Running in Linux and Windows environments requires modifying the corresponding configuration in org/Apache/iotdb/API/test/utls/Customs Data Provider. java)
Modify the config.propertiesconfiguration file,configure the iotdb connection,and use the default configuration for the rest.
# 1. compile jar
mvn clean package -DskipTests
# 2. run tests and generate html report
mvn surefire-report:reportRunning time is approximately 30 minutes
After running, here is the reports:
details/target/site/surefire-report.htmlModify the config.propertiesconfiguration file,configure the iotdb connection,and make is_coverage=true,finally,run the run_coverage.xx script file.
After running, here is the reports:
jacoco/report/index.html
