mybatis-flex / mybatis-flex

mybatis-flex is an elegant Mybatis Enhancement Framework
https://mybatis-flex.com
Apache License 2.0
1.89k stars 182 forks source link

[Feature] Using Testcontainers to do integration tests #246

Closed Martin7-1 closed 9 months ago

Martin7-1 commented 10 months ago

Hi! It seems that in mybatis-flex there are many tests need local MySQL deployment (such as QueryChainTest in mybatis-flex-spring-boot-test). I think we can use Testcontainers to do these integration tests. Using Testcontainers will improve test quality and efficiency of test execution.

What do you think about it? I will PR for it if you think is ok. Waiting for you resposne!

lcxw commented 9 months ago

you can try it, pull request are welcome.⛳