Unit Testing

Unit Testing
内容简介:

Unit Testing: Principles, Practices and Patterns is a practical guide to modern unit testing best practices. Microsoft MVP Vladimir Khorikov takes you hands-on with examples of the ideal unit test and unit testing practices, building your skills step by step on a solid foundation. You’ll explore how to design and write tests that check the right aspects of your applications, develop effective and maintainable test suites, and automate your testing process safely. When you are done, you will have a best practice testing suite that ensures your projects are easier to maintain, easier to scale, and easier to adapt to changing needs.

what's inside

A universal frame of reference by which to assess any unit test

Common anti-patterns to identify and avoid

Guidelines on how to refactor a test suite along with the production code it covers

Using integration tests to verify the behavior of the system as a whole


Vladimir Khorikov is an author, blogger, and Microsoft MVP. He has been developing software professionally for over ten years, and has mentored numerous teams on the ins and outs of unit testing.

作者简介:
下载地址:
下载Unit Testing
标签:
文章链接:https://www.dushupai.com/book-content-36158.html(转载时请注明本文出处及文章链接)
读书评论: 更多
  • 林临
    04-17
    写的很好,如果在两年前在猿司写test double的时候读到了吵架时会更有战斗力。里面我觉得最有价值的是对伦敦式和经典式的比较,单元测试的单元指的是啥,这个问题会触发很多程序员的偏见,怎么处理依赖只不过是延伸开来的问题罢了,测什么或者测试重点也是DDD理所应当去决定的。在猿司和巨硬写测试碰到了很多问题,也阅读了很多文档,基本上这本书都做了很好的分析,总的来说这本书读晚了,后半部分读的时候作者的想法跟我不谋而合,很快的翻完了,这本书适合工作第二年或者第三年的时候读完。
  • fankai
    02-03
    非常棒,对于测试和设计都有极好的见解,测试进阶必读
  • 那人很像一条狗
    11-27
    非常推荐,将单元测试彻底讲清楚了。读是读完了,整理笔记可真不是件容易的事情。
猜你喜欢: