Test-Driven Development with Python - Harry J. W. Percival

Test-Driven Development with Python

Harry J. W. Percival

出版时间

2014-06-29

ISBN

9781449364823

评分

★★★★★
书籍介绍
"Test-Driven Development with Python" focuses on web development, with some coverage of JavaScript (inescapable for any web programmer). This book uses a concrete example - the development of a web site, from scratch - to teach the TDD metholology, and how it applies to web programming, from the basics of database integration and javascript, going via browser-automation tools like Selenium, to advanced (and trendy) topics like NoSQL, websockets and Async programming.
用户评论
实话实说,这本书只读了一半,真的没有耐心全部读完;写个总结吧: 1、TDD != QA,用尽量少的测试进行功能验证 2、迭代过程中的测试要足够快,才能保证频繁的运行! 3、全面的测试,需要使用CI系统调度,而不是出先在小的开发循环中 4、每个测试的失败原因都应该不同,确保正交性
值得一看。很全面地记录了作者是怎么用TDD写django,涉及到单元测试,功能测试,以及怎么进行回归测试。虽然TDD的方法很好,但是我觉得要实践起来,真的要有作者这样把测试写成书的耐心才可以吧。
Should have been named "Web Development with Django: A TDD Approach". Still doesn't convince me how TDD (the process, not the tests themselves) makes anyone's life better. I can't imagine a programmer writing code in the way which the author does in this book.
想了解TDD读前面几章就可以,后面跟Django结合太多
不错,需要多读几遍,推荐!
测试在python里设计的很人性化, 通过这本书会让你喜欢写单元测试, 功能测试的.
这本书可以作为一本工具书使用,我只看了第9章fabric部分。
收藏