Python Testing: Beginner's Guide: An easy and convenient approach to testing your powerful Python projects
Language: English
Published by Packt Publishing Limited, 2010
- Softcover
- Used

Seller: World of Books (was SecondSale), Montgomery, IL, U.S.A.World of Books (was SecondSale)
AbeBooks seller since December 20, 2007
Condition: Used - Good
£ 8.00
Quantity: 1 available
Add to basketItem description from seller
An easy and convenient approach to testing your powerful Python projects Key Features 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 Book DescriptionAutomated 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.What you will learn 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 Chapter 1 introduces Python test-driven development and various testing methods.Chapter 2 covers the doctest tool and teaches you how to use it.Chapter 3 introduces the ideas of unit testing and test-driven development, and applies doctest to create unit tests.Chapter 4 covers mock objects and the Python Mocker tool.Chapter 5 introduces the unittest framework and discusses when it is preferred over doctest.Chapter 6 introduces the Nose test runner, and discusses project organization.Chapter 7 walks through a complete test-driven development process.Chapter 8 applies the knowledge gained from previous chapters to web applications, and introduces the Twill tool.Chapter 9 teaches how to build up from unit tests to tests of a complete software system.Chapter 10 introduces code coverage and continuous integration, and teaches how to tie automated testing into version control systems. Who this book is forIf 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.…
Seller Inventory # 00106781999
- Title
- Python Testing: Beginner's Guide: An easy and convenient approach to testing your powerful Python projects
- Author
- Daniel Arbuckle
- Publisher
- Packt Publishing Limited
- Publication year
- 2010
- Condition
- Good
- Binding
- Paperback
- Language
- English
- ISBN 10
- 1847198848
- ISBN 13
- 9781847198846
"Synopsis" may belong to another edition of this title.
About the Author
"About the title" may belong to another edition of this title.
World of Books (was SecondSale)
Montgomery, IL, U.S.A.
AbeBooks seller since December 20, 2007
Shipping rates within U.S.A.
| Item | 4 to 12 business days | 3 to 6 business days |
|---|---|---|
| First item | £ 0.00 | £ 8.28 |
Payment methods
Store description
Founded in 2002, World of Books is a leading online destination for buying and selling both preloved and new books, committed to making sustainable reading accessible to all. With a mission to help people read more and waste less, World of Books offers a huge range of affordable, high-quality books — giving both new and preloved titles a second life. The company also operates World of Books – Sell Your Books, an easy-to-use platform that allows customers to trade in unwanted books for cash, helping to keep books in circulation while promoting sustainability. As a Certified B Corp, World of Books is driven by a vision to become the world’s largest and most sustainable dedicated online bookstore. The company measures its success through the positive environmental impact it creates, the value it provides to customers, and its ability to operate profitably while supporting its sustainable mission …
Seller's business information
SBYB, Inc.
900 Knell Rd
Montgomery, IL U.S.A. 60538
Terms of sale
We guarantee the condition of every book as it's described on the Abebooks web sites. If you're dissatisfied with your purchase (Incorrect Book/Not as Described/Damaged) or if the order hasn't arrived, you're eligible for a refund within 30 days of the estimated delivery date. If you've changed your mind about a book that you've ordered, please use the Ask bookseller a question link to contact us and we'll respond within 2 business days.
Right of withdrawal
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to World of Books (was SecondSale), Montgomery, Illinois, U.S.A., without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
- The delivery of newspapers, journals or magazines with the exception of subscription contracts; and
- The supply of digital content which is not supplied on a tangible medium (e.g. on a CD or DVD) if you accepted when you placed your order that we could start to deliver it, and that you could not withdraw once delivery had started.
Shipping terms
Shipping costs are based on books weighing 2.2 LB, or 1 KG. If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.