Skip to Content
훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우
book

훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우

by 최원재, 강전희, 안재덕, 남윤화, 피트 구들리프
May 2016
Beginner to intermediate
438 pages
8h 46m
Korean
Hanbit Media, Inc.
Content preview from 훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우
132
1
부
you.write(code) ;
을 줄일 수 있다. 즉 더 서둘러야 하는 상황에서는 오히려 더 천천히 가라는 것이다. 실제로 여
러 연구에 따르면, 적절한 테스트 전략이야말로 불량 발생률을 줄일 수 있는 것으로 증명되었
다.
2
물론 테스트로 인해 속도가 더뎌질 수도 있다. 테스트를 제대로 이해하지 못하여 코드 작성 중
에 테스트로 인한 오류가 마구 발생하거나, 또는 코드 구조가 경직되어 하나의 함수 일부를 고
치는 데 수백만 개의 테스트를 재작성해야 하는 경우가 그렇다. 그러나 이는 잘못된 테스트 코
드들을 작성하면 안 되는 이유일 뿐, 테스트를 하지 말아야 하는 이유는 될 수 없다. 나쁜 코드
가 프로그래밍 자체를 금지해야 하는 이유가 되지 못한다는 것과 같은 이치이다.
11.1.3
누가 테스트 코드를 짜야 할까
과거에 어떤 이들은 원 저자의 코드를 검증하는 데 특화되고 유닛 테스트 작성에 전념하는 별
도의 역할이 필요하다고 여겼다. 하지만 가장 적절한 방법은 코더 자신이 자신의 코드에 대한
테스트 코드를 작성하는 것이다. 즉 코드를 작성하면서 자신이 그 코드를 테스트하는 것이다.
TIP
모든 단계의 소프트웨어 스택과 개발 프로세스에 대해 테스트를 수행해야 한다. 특히 가장 작은 범위에서 테
스트해야 한다. 그래야만 피드백 과정을 줄이고, 가능한 한
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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’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
QuotationMarkI 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
QuotationMarkI’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
QuotationMarkI'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.
Mark W.
Embedded Software Engineer

You might also like

클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드

클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드

정원천, 보리스 숄, 트렌트 스완슨, 피터 야우쇼베츠

Publisher Resources

ISBN: 9788968482304