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.
現在、テストスイートにあるすべてのテストの後に、以下を使用しています。ただし、H2 はテストごとにアプリケーション コンテキストをリロードする必要があるため、非常に遅くなります。テスト間で持ち越されないように、すべてのオブジェクトをより迅速にクリアする方法はありますか?
@org.junit.After public void tearDown() throws Exception { context.close(); }