2022-02-17-TIL

Today I Learned

Test Coverage

테스트 커버리지는 소프트웨어의 기능적인 품질을 보장하는 테스트 타입이다. 이는 요구사항 명세서나 다른 요구되는 문서들을 포함한다. 테스트 커버리지도 코드 커버리지와 마찬가지로 몇가지 테스팅 메커니즘이 있다. 그러나 어떤 테스트 적용 범위가 중요한지는 비즈니스 제안서를 기반으로 한다. 그 종류는 단위 테스트, 기능 테스트, 통합 테스트, 인수 테스트가 있다.

  • https://blog.jankosmala.eu/2021/01/12/unit-tests-code-coverage-line-coverage-vs-branch-coverage/
  • https://err0rcode7.github.io/backend/2021/05/11/%ED%85%8C%EC%8A%A4%ED%8A%B8%EC%BB%A4%EB%B2%84%EB%A6%AC%EC%A7%80.html
  • https://www.codegrip.tech/productivity/test-coverage-v-s-code-coverage/

Code Coverage

  • https://tecoble.techcourse.co.kr/post/2020-10-24-code-coverage/
  • https://linearb.io/blog/what-is-branch-coverage/
  • https://mapository.tistory.com/entry/%EC%BD%94%EB%93%9C-%EC%BB%A4%EB%B2%84%EB%A6%AC%EC%A7%80
  • https://www.atlassian.com/continuous-delivery/software-testing/code-coverage
  • https://blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=genycho&logNo=60068626587
  • https://blog.jankosmala.eu/2021/01/12/unit-tests-code-coverage-line-coverage-vs-branch-coverage/

Junit5

  • https://www.vogella.com/tutorials/JUnit/article.html

Jacoco

  • https://techblog.woowahan.com/2661/

REST tutorial with Spring

  • https://spring.io/guides/tutorials/rest/

Java Custom Exception vs Runtime Exception

  • https://stackify.com/java-custom-exceptions/
  • https://stackoverflow.com/questions/19857008/extending-exception-runtimeexception-in-java

Java Annotation

  • https://hirlawldo.tistory.com/43
  • https://honeyinfo7.tistory.com/56

Enum

  • https://docs.oracle.com/javase/tutorial/java/javaOO/enum.html

javax.persistaence.Entity vs org.hibernate.annotations.Entity

  • https://rutgo-letsgo.tistory.com/186
  • https://stackoverflow.com/questions/700558/org-hibernate-annotations-vs-javax-persistence

Java Transient

  • https://nesoy.github.io/articles/2018-06/Java-transient

ConcurrentHashMap, SynchronizedHashMap, HashTable

  • https://www.geeksforgeeks.org/difference-between-concurrenthashmap-and-synchronizedhashmap/
  • https://javaconceptoftheday.com/synchronized-hashmap-vs-hashtable-vs-concurrenthashmap-in-java/

@Async in Spring

  • https://www.baeldung.com/spring-async