Posts 2022년 02월 15일 읽을거리 정리하기
Post
Cancel

2022년 02월 15일 읽을거리 정리하기

NHN에 입사하게 된지 어느덧 1년 1개월이 지났다.

이 일지에서는 그동안 읽어왔던 것들을 모으고 정리하는 시간을 가지고자 한다.

  • YAML에서 빈 배열을 만들고 싶다면?

-> empty_array: []

만약 empty_array: 이렇게 빈 값으로 남겨두게 되면, null로 처리되니 주의가 필요하다!

  • 열거형 (Enum Types)

https://sgcomputer.tistory.com/295

  • 랜덤 문자열 생성하기 (RandomStringUtils 라이브러리 사용법)

https://hahaha2016.tistory.com/3

  • CQRS란 무엇인가?

https://justhackem.wordpress.com/2016/09/17/what-is-cqrs/

  • 의존 역전 원칙(DIP)이란?

https://steady-coding.tistory.com/388

  • iTerm 단축키 유용하게 쓰는 방법 - 단어 기준으로 움직이기

https://apple.stackexchange.com/questions/154292/iterm-going-one-word-backwards-and-forwards

  • List 객체의 isEmpty 검사 시 유의 사항

https://blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=phrack&logNo=80209640793

CollectionUtils를 사용하자 / xxxList.isEmpty()는 null체크를 해주지 않아 문제가 될 수 있다.

  • Path Variable과 Query Parameter는 언제 사용해야 할까?

https://ryan-han.com/post/translated/pathvariable_queryparam/

  • JUnit 테스트 중 No tests were found가 뜬다면…

https://stackoverflow.com/questions/53179735/no-tests-were-found-empty-test-suite-when-running-junit-5-testcase-on-bare-bon

혹시 JUnit4와 JUnit5를 혼용하여 쓰고 있는 건 아닌지 확인이 필요하다! 이 둘을 혼용할 경우 테스트시 error가 발생할 수 있으니, 되도록이면 JUnit5만 사용하도록 하자.

  • @Valid와 @NotBlank가 동작하기 위해서는..

  • Bean Validation 2.0 / JSR 380이 필요하다!!

https://www.popit.kr/javabean-validation%EA%B3%BC-hibernate-validator-%EA%B7%B8%EB%A6%AC%EA%B3%A0-spring-boot/

  • Bean Vaildation 1.0 공식문서에는 NotBlank가 있지 않다.

https://docs.jboss.org/hibernate/beanvalidation/spec/1.1/api/

  • 기타 유용한 정보들도 찾아보자

https://stackoverflow.com/questions/48614773/spring-boot-validation-annotations-valid-and-notblank-not-working

https://bepoz-study-diary.tistory.com/242

https://meetup.toast.com/posts/223

https://jyami.tistory.com/55

  • JUnit 5 테스트 어노테이션 정리!

https://gracelove91.tistory.com/107

  • JUnit 단위테스트 정리

https://goddaehee.tistory.com/212

This post is licensed under CC BY 4.0 by the author.

2021년 10월 25일 읽을거리 정리하기

-

Comments powered by Disqus.

Trending Tags