일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- FACTORY
- 기초100제
- 객체지향프로그래밍
- Factory Method Pattern
- 코드업
- Kotlin
- Dialog
- datepicker
- reflection
- Python
- 현대 IT&E
- fontstyle
- tcp
- IOC
- url
- URN
- Process
- udp
- OpenAPI
- menutab
- 어노테이션
- OOP
- http method
- di
- uri
- swagger
- Android Studio
- 채용확정형
- Thread
- AndroidStudio
Archives
목록🪄TEST Code (1)
dingdong coding
[ JUnit5 ] 예외 테스트
spring-boot-starter-web을 선택했다면 자동으로 spring-boot-starter-test 의존성이 추가되어있습니다. spring-boot-starter에 junit5가 있어 바로 junit5를 사용할 수 있습니다. build.gradle > dependecies testImplementation 'org.springframework.boot:spring-boot-starter-test' RuntimeException이 발생하는 메서드 public class DoSomething { public static void func() { throw new RuntimeException("some exception message..."); } } 1. assertThrows Assertions..
🪄TEST Code
2022. 6. 17. 11:39