How to programmatically set up an h2 database before a single junit test?

后端 未结 0 525
-上瘾入骨i
-上瘾入骨i 2021-01-05 07:44

I have a simple spring boot application with an h2 database.

I want to write unit tests to confirm that the annotations I choose behave as expected.

My code is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题