https://github.com/ningenme/spring-boot-db-test-sample
https://github.com/ningenme/spring-boot-db-test-sample
dbunit docker junit5 mybatis mysql spock spring-boot
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ningenme/spring-boot-db-test-sample
- Owner: ningenMe
- Created: 2021-08-09T18:35:57.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-25T18:06:39.000Z (almost 5 years ago)
- Last Synced: 2026-03-12T03:47:15.702Z (3 months ago)
- Topics: dbunit, docker, junit5, mybatis, mysql, spock, spring-boot
- Language: Java
- Homepage:
- Size: 68.4 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-boot-db-test-sample
[](https://github.com/ningenMe/spring-boot-db-test-sample/actions/workflows/ci.yaml)
- `gradle test`実行時にテスト用のdbをdockerで立ち上げる
- dbunitを使ってdbのassertionを行う
- spock / junit でテストを行う
## テストの実行方法
```
gradle test
```