반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- java version
- aws
- java 버전 변경
- java 1.8 11
- Java 1.8
- LeetCode
- java 11
- Medium
- OpenFeign
- springboot
- springbatch error
- java
- parse
- 스프링부트테스트
- error
- no sources given
- property or field 'jobparameters' cannot be found on object of type
- querydsl no sources given
- No tests found for given includes
- java 여러개 버전
- AWS CLI
- yum install java
- log error
- el1008e
- springboottest
- JUnit
- mac os git error
- easy
- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- maybe not public or not valid?
Archives
- Today
- Total
목록assert (1)
쩨이엠 개발 블로그
[ Spring ] Springboot test - mockito (Mapper 접근)
이번 테스트를 하기 위해서는 initialize 때 필요한 데이터들을 DB에서 가져와야한다 DB 접근은 하기 싫을 때(못할때) 그치만 한 것처럼 데이터 리스트를 세팅하려 할 때 쓸 수 있는 Mockito의 함수에 대해서 정리한다 실제 Service 코드 DataService.java @Service @Slf4j public class DataService { @Autowired private DataMapper dataMapper; static Map targetDataMap; static Map stepConfigMap; static List cycleList; @PostConstruct private void init() { initMap(); initStepItem(); } void initMap(..
개발/Spring
2020. 5. 19. 12:00