목차
코드가 잘 돌아갈지 머리 속으로 고민하지 말고 그냥 단위 테스트 를 돌려보기:
“
Rather than apply minutes of suspect reasoning, we can just ask the computer by making the change and running the tests. In teaching TDD, I see this situation all the time—excellent software engineers spending 5 to 10 minutes reasoning about a question that the computer could answer in 15 seconds. Without the tests you have no choice, you have to reason. With the tests you can decide whether an experiment would answer the question faster. Sometimes you should just ask the computer. —Chapter 10, Test-driven development: by example
목차 관련 글 TDD와 XP “When you can’t get that next test to work, or those two tests to work together, it’s time for a break.” 격리된 테스트 “We aren’t striving for perfection. --Chapter 4, Test-driven development: by example” 의존과 중복 “By eliminating duplication before we go on to the next test, we maximize our chance of being able to get the ne…” 테스트를 언제 지울까 “Never delete a test if it reduces your confidence in the behavior of the system.” 두려움을 깨진 테스트로 “Test-driven development is a way of managing fear during programming.” 테스트 악취 “Long running tests: TDD tests that run a long time won’t be run often, and often haven’t been run for a while, …” TDD와 설계 관련 절: Be prepared to apply good design 테스트 주도 개발 관련 절: Definitions 앎에서 모름으로 “Known-to-unknown implies that we have some knowledge and experience on which to draw, and that we expect to lea…” 작동하는 깔끔한 코드 “론 제프리즈가 처음 소개하였고, Test-driven development: by example에서 켄트 벡이 인용한 기준.” 테스트 커버리지 “플립의 말을 빌자면 "모든 입력의 경우를 따져서 테스트 커버리지를 높이는 대신에, 우리는 테스트는 그대로 두고 코드를 줄여서 동일한 테스트가 다양한 경우를 다루게 한다." --p157, Test-dr…” 컴퓨터과학 “Computer programming or Software development is the act of writing program code.” The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexity “We also investigate the reasoning traces in more depth, studying the patterns of explored solutions and analyzi…” The cognitive benefits of learning computer programming: A meta-analysis of transfer effects “Does computer programming teach students how to think?” Wastes of software development “Do you ever ask, Is all that paperwork really necessary?” Type-driven development “The name "type-driven development" suggests an analogy to test-driven development.” Man-computer symbiosis “Man-computer symbiosis is an expected development in cooperative interaction between men and electronic compute…” Some evidence on the cognitive benefits of learning to code “Computer coding—an activity that involves the creation, modification, and implementation of computer code and e…” TDD 주기의 보폭 관련 절: Awareness and control The Humane Environment “Problem: A computer has many ways to disrupt your concentration.”