일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- kafkastreams
- avo
- scala 2.10
- Elasticsearch
- Spring
- RabbitMQ
- kafka streams
- scala
- Elk
- spring-kafka
- aws
- 플레이 프레임워크
- springboot
- coursera
- Logstash
- spring-cloud-stream
- 한빛미디어
- spring-batch
- Slick
- gradle
- kafka interactive query
- Kafka
- confluent
- kafkastream
- enablekafkastreams
- schema registry
- statestore
- 카프카
- reactive
- play framework
- Today
- Total
목록2018/03/23 (2)
b
https://spring.io/blog/2018/03/07/testing-auto-configurations-with-spring-boot-2-0 지지난주 spring.io 에 올라온 글이다. 스프링부트 2.0에 ApplicationContextRunner 가 추가 되었고 이에 대한 사용법을 설명하는 내용인데, 실제로 활용해보니 기존의 static class 로 Spring 설정을 slicing 하는 것보다 가독성도 좋고, 사용도 편하다. 1. SolMailAutoConfiguration 빈을 생성할때 JSR380에 의해 validate한지 확인하는 테스트new ApplicationContextRunner() .withConfiguration(of(SolMailAutoConfiguration.class..
Working Effectively with Unit Tests #1 https://leanpub.com/wewut 를 읽고 정리한 내용 첫번째 단락 Unit Testing, a First Example * Replace Loop with individual Test- https://github.com/bistros/wewut-code#replace-loop-with-individual-tests- 읽기 쉬운 테스트를 위한 첫 번째 단계는 반복 테스트를 각각의 테스트로 변경하는 것이다.ex) for-each를 돌면서 여러값을 테스트 하는 것을 제거한다 * Expect Literals- https://github.com/bistros/wewut-code#expect-literals그 다음 가독성을 높이는 ..