태그 목록
전체보기 (187)TIL(86)Java(20)python(9)aws(8)git(7)OOP(5)codesquad(4)library(3)static(3)docker(3)회고(3)http(3)project(3)코드스쿼드(2)Shortcuts(2)array(2)Enum(2)print(2)test(2)List(2)네이버웹툰(2)lambda(2)linux(2)package(1)pass(1)final(1)checkout(1)itertools(1)flush(1)shell(1)Polymorphism(1)merge(1)지역변수(1)rds(1)DNS(1)Thread(1)2021(1)Pull Request(1)process(1)heap(1)CMC(1)Interceptor(1)throws(1)oAuth(1)PORT(1)user data(1)collections(1)input(1)combinations(1)scoup(1)max heap(1)Spring Data JDBC(1)Modifier(1)stdout(1)abstract class(1)throw(1)composition(1)counter(1)abstract(1)SOLID(1)branch(1)JavaScript(1)마스터즈 코스(1)entity(1)Deque(1)dictionary(1)스터디(1)ip(1)tcp(1)socket(1)stage(1)method(1)Algorithms(1)CLASSPATH(1)eclipse(1)eval(1)file(1)inheritance(1)조건문(1)ec2(1)functional programming(1)UDP(1)반복문(1)Nginx(1)filter(1)default(1)reference variable(1)interface(1)config(1)commit(1)permutations(1)heapq(1)함수(1)global(1)mysql(1)CSS(1)html(1)Design Pattern(1)fork(1)Heap Sort(1)script(1)내장 함수(1)전역변수(1)abstract method(1)개발자(1)overloading(1)CDN(1)Overriding(1)socket programming(1)svn(1)super(1)Fetch(1)Inflearn(1)local(1)pull(1)comprehension(1)readline(1)신입(1)신입개발자(1)sorted(1)OSIV(1)Casting(1)VO(1)Database(1)Token(1)IO(1)round(1)inner class(1)remote(1)product(1)calendar(1)vpc(1)Factory Method(1)closure(1)hackathon(1)sys(1)JPA(1)Spring(1)tuple(1)set(1)DTO(1)exception(1)min heap(1)review(1)IntelliJ(1)math(1)bisect(1)import(1)
post-thumbnail

210726-TIL

오늘 한 일 ✔️ 더 자바, 애플리케이션을 테스트하는 다양한 방법 Mockito Mock 객체는 진짜 객체와 비슷하게 동작하지만 프로그래머가 직접 행동을 관리한다. Mockito는 Mock 객체를 생성, 관리, 검증할 수 있는 방법을 제공하는 프레임워크이다. 단위 테스트 https://martinfowler.com/bliki/UnitTest.html 모든 의존성을 끊어야(mocking) 단위테스트라고 주장하는 사람들도 있다. 그러나 단위를 클래스나 객체가 아닌 행동의 단위라고 생각하고, 그 행동과 연관되어 있는 모든 객체들은 하나의 단위라고 생각할 수도 있다. 이미 구현되어 있는 클래스는 Mocking할 필요가 없지만, 외부서비스는 Mocking하는게 좋지 않을까. bang.com 등의 payment 서비스는 테스트 환경을 제공한다. 구현체 없고 인터페이스만 있는 경우 인터페

2021년 7월 23일
·
0개의 댓글
·
post-thumbnail

210708-TIL

오늘 한 일 ✔️ 이슈트레커 프로젝트 Test 코드 작성 중 failed to lazily initialize a collection of role 에러 발생 lazy처리된 entity가 영속성 컨텍스트에 존재하지 않아 발생 @Transactional을 붙여 해결 Gson LocalDateTime 처리 ✔️ 알고리즘 프로그래머스 level 1&2 https://github.com/janeljs/janeljs.github.io/issues/6 파이썬 문법 [리스트 2칸 건너 돌기](https://www.delftstack.com/howto/python/python-for-loop-incre

2021년 7월 8일
·
0개의 댓글
·