Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
休止状態の DAO の単体テストを作成しようとしています。postgres ダイアレクトで test-applicationContext を作成した場合、テストを実行するために postgres をインストールする必要がありますか? テストケースを実行するためだけに DB をインストールすることなく、これを行うより良い方法はありますか? ありがとう
インメモリ データベースとしても実行できるH2 データベースを使用できます。簡単な例については、このブログを確認してください。