老虎机稳赢方法

Unit Testing Quotes

Quotes tagged as "unit-testing" Showing 1-3 of 3
Martin Fowler
“I write them to improve my productivity as a programmer. Making the quality assurance department happy is just a side effect. Unit tests are highly localized. Each test class works within a single package. It tests the interfaces to other packages, but beyond that it assumes the rest just works.

Functional tests are a different animal. They are written to ensure the software as a whole works. They provide quality assurance to the customer and don't care about programmer productivity. They should be developed by a different team, one who delights in finding bugs.”
Martin Fowler, Refactoring: Improving the Design of Existing Code

Jordan Ellenberg
“袧械写芯褋褌邪褌薪褜芯 褌芯谐芯, 褖芯斜 写邪薪褨 褍蟹谐芯写卸褍胁邪谢懈褋褟 蟹 胁邪褕芯褞 褌械芯褉褨褦褞; 胁芯薪懈 屑褍褋褟褌褜 薪械 褍蟹谐芯写卸褍胁邪褌懈褋褟 褨蟹 蟹邪锌械褉械褔械薪薪褟屑 胁邪褕芯褩 褌械芯褉褨褩”
Jordan Ellenberg, How Not to Be Wrong: The Power of Mathematical Thinking

Vladimir Khorikov
“Tests shouldn鈥檛 verify units of code. Instead they should verify units of behavior: something that is meaningful for the problem domain and ideally something that a business person can recognize as useful. The number of classes it takes to implement such a unit of behavior is irrelevant. The unit could span across multiple classes or only one class, or even take up just a tiny method. [...] A test should tell a story about the problem your code helps to share, and this story should be cohesive and meaningful to a non-programmer.”
Vladimir Khorikov, Unit Testing: Principles, Practices, and Patterns