跳到主要内容

Python Testing Cookbook (第1版) (Python Testing Cookbook, 1st edition)PDF英文文字版附源代码

大小:8MB       时间:2024-12-07

这本书是写成的代码包含有关如何安装或构建不同类型的Python测试工具解决不同的问题一步一步的指示配方集合。每个配方包含了它的工作原理与常见问题和其他相关食谱交叉引用答案解释。
易于理解的配方使之成为一个方便的名称测试参考书。 Python开发和使用Python和Python测试基本的了解程序员会发现这个食谱有利。这将建立在基本的知识装备要充分利用Python测试工具的中级和高级技巧。分解成许多小的代码的食谱,你可以按照自己的速度阅读这本书,无论你的经验。没有自动化测试的经验是必需的。

This cookbook is written as a collection of code recipes containing step-by-step directions on how to install or build different types of Python test tools to solve different problems. Each recipe contains explanations of how it works along with answers to common questions and cross references to other relevant recipes. The easy-to-understand recipe names make this a handy test reference book. Python developers and programmers with a basic understanding of Python and Python testing will find this cookbook beneficial. It will build on that basic knowledge equipping you with the intermediate and advanced skills required to fully utilize the Python testing tools. Broken up into lots of small code recipes, you can read this book at your own pace, whatever your experience. No prior experience of automated testing is required.

目录:

Preface
Chapter 1: Using Unittest To Develop Basic Tests
Chapter 2: Running Automated Test Suites with Nose
Chapter 3: Creating Testable Documentation with doctest
Chapter 4: Testing Customer Stories with Behavior Driven Development
Chapter 5: High Level Customer Scenarios with Acceptance Testing
Chapter 6: Integrating Automated Tests with Continuous Integration
Chapter 7: Measuring your Success with Test Coverage
Chapter 8: Smoke/Load Testing—Testing Major Parts
Chapter 9: Good Test Habits for New and Legacy Systems