일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- URN
- di
- tcp
- 2024-08-21
- Android Studio
- 어노테이션
- 채용확정형
- datepicker
- http method
- 코드업
- OOP
- Kotlin
- Python
- FACTORY
- reflection
- 객체지향프로그래밍
- 기초100제
- url
- menutab
- AndroidStudio
- 현대 IT&E
- swagger
- Factory Method Pattern
- IOC
- Dialog
- udp
- uri
- fontstyle
- OpenAPI
- 2024-08-20
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