것이다. 하지만 다른 누군가에게는 단지 적절한 개발 방법일 뿐이다. 또 누군가에게는 괜찮은
생각이기는 하되 작업에 제대로 적용하기 어려운 것일 수 있다. 또 다른 누군가에게는 노력 낭
비에 불과할 수도 있다. 과연
TDD
란 무엇일까?
TDD
는 더 나은 소프트웨어를 만들기 위한 중요한 기법 중 하나다. 그런데 테스트 주도와
유닛 테스트가 실제로 무엇을 의미하는가에 대해서는 명확하지 않은 점이 있다. 우선 이를
명확히 한 뒤 개발자 테스트에 대한 적절한 방법을 찾아본다면, 더 나은 코드를 짤 수 있을
것이다.
11.1
왜 테스트하는가
자신의 코드는 자신이 테스트해야 한다. 생각할 필요도 없는 당연한 일이다.
1
역주_ 『피플웨어(
3
판)』(인사이트,
2014
). 이 책의 원서는 『
Peopleware
Productive
Projects
and
Teams
(
3rd
Edition
)』(
Addison
-
Wesley
,
2013
)이다.
테스트하기
CHAPTER
11
훌륭한 프로그래머 5교 수정.indd ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.