diff --git a/README.md b/README.md index 2979fcc..c120250 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,6 @@ ## Table of Contents -[1. 오브젝트와 의존관계](chapter1/README.md) \ No newline at end of file +[1. 오브젝트와 의존관계](chapter1/README.md) + +[2. 테스트](chapter2/README.md) \ No newline at end of file diff --git a/chapter2/README.md b/chapter2/README.md new file mode 100644 index 0000000..44a3893 --- /dev/null +++ b/chapter2/README.md @@ -0,0 +1,37 @@ +# 2장 테스트 + +## 테스트 + +![표지](images/_1.png) + +![2장 테스트 내용](images/_2.png) + +![지금까지 테스트 코드의 상황](images/_3.png) + +## 테스트 코드 개선하기 + +![테스트 코드 개선하기 - 설정 정보](images/_4.png) + +![테스트 코드 개선하기 - 성공하는 테스트](images/_5.png) + +![테스트 코드 개선하기 - 성공하는 테스트](images/_6.png) + +![테스트 코드 개선하기 - 중복 코드의 제거](images/_7.png) + +![테스트 코드 개선하기 - 픽스처](images/_8.png) + +## 스프링 테스트 적용 + +![스프링 테스트 적용 - 스프링 테스트 컨텍스트 프레임워크 적용](images/_9.png) + +![스프링 테스트 적용 - 직접적으로 빈을 DI 받아 사용하기](images/_10.png) + +![스프링 테스트 적용 - 직접적으로 빈을 DI 받아 사용하기](images/_11.png) + +![스프링 테스트 적용 - 테스트를 위한 수동 DI 적용하기](images/_11.png) + +![스프링 테스트 적용 - 컨테이너 없는 DI 적용하기](images/_12.png) + +## 학습 테스트로 배우는 스프링 + +![학습 테스트로 배우는 스프링](images/_13.png) \ No newline at end of file diff --git a/chapter2/images/_1.png b/chapter2/images/_1.png new file mode 100644 index 0000000..64c5553 Binary files /dev/null and b/chapter2/images/_1.png differ diff --git a/chapter2/images/_10.png b/chapter2/images/_10.png new file mode 100644 index 0000000..c103cd5 Binary files /dev/null and b/chapter2/images/_10.png differ diff --git a/chapter2/images/_11.png b/chapter2/images/_11.png new file mode 100644 index 0000000..81461d5 Binary files /dev/null and b/chapter2/images/_11.png differ diff --git a/chapter2/images/_12.png b/chapter2/images/_12.png new file mode 100644 index 0000000..c18b48f Binary files /dev/null and b/chapter2/images/_12.png differ diff --git a/chapter2/images/_13.png b/chapter2/images/_13.png new file mode 100644 index 0000000..a0e5c9a Binary files /dev/null and b/chapter2/images/_13.png differ diff --git a/chapter2/images/_2.png b/chapter2/images/_2.png new file mode 100644 index 0000000..f18f753 Binary files /dev/null and b/chapter2/images/_2.png differ diff --git a/chapter2/images/_3.png b/chapter2/images/_3.png new file mode 100644 index 0000000..48b734d Binary files /dev/null and b/chapter2/images/_3.png differ diff --git a/chapter2/images/_4.png b/chapter2/images/_4.png new file mode 100644 index 0000000..0c1c394 Binary files /dev/null and b/chapter2/images/_4.png differ diff --git a/chapter2/images/_5.png b/chapter2/images/_5.png new file mode 100644 index 0000000..a3078f3 Binary files /dev/null and b/chapter2/images/_5.png differ diff --git a/chapter2/images/_6.png b/chapter2/images/_6.png new file mode 100644 index 0000000..b73efe3 Binary files /dev/null and b/chapter2/images/_6.png differ diff --git a/chapter2/images/_7.png b/chapter2/images/_7.png new file mode 100644 index 0000000..86cd83c Binary files /dev/null and b/chapter2/images/_7.png differ diff --git a/chapter2/images/_8.png b/chapter2/images/_8.png new file mode 100644 index 0000000..9fb02b4 Binary files /dev/null and b/chapter2/images/_8.png differ diff --git a/chapter2/images/_9.png b/chapter2/images/_9.png new file mode 100644 index 0000000..1eee417 Binary files /dev/null and b/chapter2/images/_9.png differ