Skip to content

Commit 1b81a41

Browse files
committed
[Spring] Spring TDD 실습하기(1)
1 parent f72cc91 commit 1b81a41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Spring/Spring TDD 실습하기(1).md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public class Bags {
8585
```java
8686
@DataJpaTest
8787
@AutoConfigureTestDatabase
88+
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
8889
public class BagsRepositoryTest {
8990

9091
@Autowired
@@ -94,6 +95,7 @@ public class BagsRepositoryTest {
9495
BagsRepository bagsRepository;
9596

9697
@BeforeAll
98+
@Test
9799
@DisplayName("Users 저장 이후 Bags 저장 테스트")
98100
void 테스트전_users저장_그리고_Bags저장_테스트() {
99101
Users users = Users.builder()

0 commit comments

Comments
 (0)