Packt Python Testing: Beginner 's Guide 256pages software manual

Packt Python Testing: Beginner 's Guide 256pages software manual

EAN: 9781847198846
MPN: 978-1-847198-84-6
发送方式:
交货来源:
德国
更新价格... 📣 询问价格 Не поставляется
运输成本:
От

凡购买和价格 (Advertising *)

顶部
в наличии
* Alle Preise inkl. der jeweils geltenden gesetzlichen Mehrwertsteuer, ggfs. zzgl. Versandkosten. Alle Angaben ohne Gewähr. Preisänderungen sind in der Zwischenzeit möglich.

技术特点

顶部

技术细节

作者 Daniel Arbuckle
发行人 Packt
分类 Development software
页数 256 pages

另外

发布日期 01/2010
Python Testing: Beginner's Guide - Covers everything you need to test your code in Python
- Easiest and enjoyable approach to learn Python testing
- Write, execute, and understand the result of tests in the unit test framework
- Packed with step-by-step examples and clear explanations

Automated testing moves much of the labor of testing off the developer and makes it easier as well as quicker to find bugs and fix them. Automated tests run faster, increase test coverage, and lower costs. However, testing is neither an easy process nor remotely exciting for most developers. But with the right techniques and tools, testing can become a simple and gratifying part of the development process.

With this helpful guide – from an expert – in your hand, testing will not be a tiresome topic for you anymore. You will learn how to test your Python projects in the easiest way, making other parts of the development process easier and more enjoyable.

This book covers the tools and techniques of automated testing and test-driven development. Starting from the very basics, the chapters introduce new tools and techniques in simple, accessible language with step-by-step examples. You will explore how to make testing easier and more accurate with Python's doctest module and learn test-driven development using the unittest framework. You will also learn how to keep your units separate from each other and discover a simple and easy way to integrate Mocker and unittest. Next, we cover integration testing and web application testing.

Automated testing gives developers better feedback, faster and more often. Bugs get found sooner and fixed better, with less effort. By the end of this book, you will have all of the skills needed to benefit from automated testing.

Test-driven development of Python software—make development easier using some of the best testing tools out there

What you will learn from this book :
- Make testing easy and convenient with Python's doctest module, which lets you put your tests right into your doc strings
- Drive development using unit testing and learn how it can make the process quicker
- Explore the assorted features Mocker provides to help you keep units separate from each other and customize it to suit your needs
- Embed your tests in a controlled and temporary environment using test fixtures
- Simplify the integration of unittest and Mocker using Python Mocker's MockerTestCase
- Automatically find and execute tests using Nose – a unittest-based testing framework for Python that makes writing and running tests easier
- Write tests for web applications using Twill and integrate it's capabilities as a library into Python testing code
- Create integration tests and run them to see if your programs work correctly in concert with each other
- Run Nose automatically when your version control software detects changes in the source code
- Set up the Buildbot automated continuous integration system to run your tests repeatedly over many different environments

Who this book is written for
If you are a Python developer and want to write tests for your applications, this book will get you started and show you the easiest way to learn testing.

You need to have sound Python programming knowledge to follow along. An awareness of software testing would be good, but no formal knowledge of testing is expected nor do you need to have any knowledge of the libraries discussed in the book.
Фотографии

    密码恢复
    要恢复您的密码,请在下面您的电子邮件地址框与您已注册请输入:
    The password reset code has been sent to your Email.
    Код уже был отправлен Вам ранее.
    Вы можете ввести его в поле выше, или получить новый код через сек.
    发生了错误。请检查您的电子邮件地址,然后再试一次。
    Ваш новый пароль:

    名称为空


    Выберите страну доставки

    您还没有写消息

    By clicking on the "Send" button, you agree that your data will be used to process your request. Further information and revocation instructions can be found in the data protection declaration.

    已发送您的消息!

    親密

    1
    产品目录
    取消
    Бренды:
      Выберите бренды
        查看更多
          地區搜索
          全球
          Категории
            产品名称