
테스트코드는 메인 코드의 경로를 맞춰줘야 한다. 1. Test Life Cycle import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; public class TestLifeCycle { @BeforeAll static void beforeAll() { System.out..
Backend/Spring & Spring Boot
2023. 7. 4. 22:30