dao层测试
- 目前支持mysql-connector-java.5.X.X
spring测试dao单侧 dbtest-spring
使用spring配置文件XML做dao层单侧,验证sql语句正确性
spring-boot测试dao单侧 dbtest-spring-boot
使用spring-boot做dao层单侧,验证sql语句正确性
| License |
License |
|---|---|
| GroupId | GroupIdcom.github.fartherp |
| ArtifactId | ArtifactIddbtest-spring |
| Last Version | Last Version1.0.5 |
| Release Date | Release Date |
| Type | Typejar |
| Description |
Descriptiondbtest
|
| Project Organization |
Project Organization |
| Filename | Size |
|---|---|
| dbtest-spring-1.0.5.pom | |
| dbtest-spring-1.0.5.jar | 17 KB |
| dbtest-spring-1.0.5-sources.jar | 16 KB |
| dbtest-spring-1.0.5-javadoc.jar | 65 KB |
| Browse |
<!-- https://jarcasting.com/artifacts/com.github.fartherp/dbtest-spring/ -->
<dependency>
<groupId>com.github.fartherp</groupId>
<artifactId>dbtest-spring</artifactId>
<version>1.0.5</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.fartherp/dbtest-spring/
implementation 'com.github.fartherp:dbtest-spring:1.0.5'
// https://jarcasting.com/artifacts/com.github.fartherp/dbtest-spring/
implementation ("com.github.fartherp:dbtest-spring:1.0.5")
'com.github.fartherp:dbtest-spring:jar:1.0.5'
<dependency org="com.github.fartherp" name="dbtest-spring" rev="1.0.5">
<artifact name="dbtest-spring" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.fartherp', module='dbtest-spring', version='1.0.5')
)
libraryDependencies += "com.github.fartherp" % "dbtest-spring" % "1.0.5"
[com.github.fartherp/dbtest-spring "1.0.5"]
| Group / Artifact | Type | Version |
|---|---|---|
| org.springframework : spring-jdbc | jar | 5.1.3.RELEASE |
| org.springframework : spring-test | jar | 5.1.3.RELEASE |
| org.springframework : spring-context | jar | 5.1.3.RELEASE |
| org.testng : testng | jar | 6.14.3 |
| org.dbunit : dbunit | jar | 2.6.0 |
| com.google.guava : guava | jar | 23.0 |
| commons-io : commons-io | jar | 2.4 |
| Group / Artifact | Type | Version |
|---|---|---|
| org.mybatis : mybatis Optional | jar | 3.4.6 |
| org.mybatis : mybatis-spring Optional | jar | 1.3.2 |
| ch.qos.logback : logback-core Optional | jar | 1.2.3 |
| ch.qos.logback : logback-classic Optional | jar | 1.2.3 |
| mysql : mysql-connector-java | jar | 5.1.40 |
使用spring配置文件XML做dao层单侧,验证sql语句正确性
使用spring-boot做dao层单侧,验证sql语句正确性