SpringBootTest, Transactional in test file

탱귤생귤·2023년 6월 25일

Spring

목록 보기
3/14

@SpringBootTest : runs test with Spring Container
@Transactional : If the test file has this annotation, it runs transaction before the test starts and rollbacks after the test finishes. This makes no datas left in DB.

0개의 댓글