Python Testing: Beginner's Guide: An easy and convenient approach to testing your powerful Python projects
Langue : anglais
Edité par Packt Publishing Limited, 2010
- Livre broché
- Occasion

Vendeur : World of Books (was SecondSale), Montgomery, IL, Etats-UnisWorld of Books (was SecondSale)
Vendeur AbeBooks depuis 20 décembre 2007
Etat: Occasion - Satisfaisant
EUR 9,44
Quantité disponible : 1 disponible
Ajouter au panierA propos de cet article
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.…
N° de réf. du vendeur 00106781999
- Titre
- Python Testing: Beginner's Guide: An easy and convenient approach to testing your powerful Python projects
- Auteur
- Daniel Arbuckle
- Éditeur
- Packt Publishing Limited
- Année de publication
- 2010
- État de l'article
- Good
- Reliure
- Paperback
- Langue
- anglais
- ISBN à 10 chiffres
- 1847198848
- ISBN à 13 chiffres
- 9781847198846
« Synopsis » peut appartenir à une autre édition de cet ouvrage.
À propos de l’auteur
« A propos de ce titre » peut appartenir à une autre édition de cet ouvrage.
World of Books (was SecondSale)
Montgomery, IL, Etats-Unis
Vendeur AbeBooks depuis 20 décembre 2007
Frais d'expédition à l'intérieur de ce pays : Etats-Unis
| Article | 4 à 12 jours ouvrés | 3 à 6 jours ouvrés |
|---|---|---|
| Premier article | EUR 0,00 | EUR 9,77 |
Modes de paiement
Description de la boutique
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 …
Profil professionnel du vendeur
SBYB, Inc.
900 Knell Rd
Montgomery, IL Etats-Unis 60538
Conditions de vente
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.
Droit de rétractation
Si vous êtes un consommateur, vous pouvez exercer votre droit de rétractation sur le contrat conformément à ce qui suit. Le mot « consommateur » désigne toute personne physique agissant à des fins qui n'entrent pas dans le cadre de son activité commerciale, artisanale ou professionnelle.
Informations concernant le droit de rétractation
Droit statutaire de rétractation
Vous avez le droit d'exercer votre droit de rétractation sur ce contrat dans les 14 jours sans donner de raison.
Le délai de rétractation expirera au bout de 14 jours à compter du jour où vous-même, ou un tiers autre que le transporteur et désigné par vous, prendrez physiquement possession de la dernière marchandise, du dernier lot ou de la dernière pièce.
Pour exercer votre droit de rétractation, remplissez électroniquement et envoyez une déclaration claire sur notre site Web, sous « Vos achats » dans « Votre compte ». Nous vous communiquerons sans délai un accusé de réception de cette rétractation sur un support durable (par exemple, par e-mail).
Pour respecter le délai de rétractation, il vous suffit d'envoyer votre message concernant l'exercice de votre droit de rétractation avant l'expiration du délai de rétractation.
Effets de la rétractation
Si vous exercez votre droit de rétractation sur ce contrat, nous vous rembourserons tous les paiements que vous avez effectués, y compris les frais de livraison (à l'exception des frais supplémentaires résultant du choix d'un mode de livraison autre que le type de livraison standard le moins cher que nous proposons).
Nous pouvons déduire du remboursement la perte de valeur de toute marchandise livrée, si la perte est le résultat d'une manipulation inutile de votre part.
Nous effectuerons le remboursement dans les meilleurs délais, et au plus tard 14 jours après le jour où nous aurons été informés de votre décision d'exercer votre droit de rétractation sur ce contrat.
Nous effectuerons le remboursement en utilisant le même moyen de paiement que celui que vous avez utilisé pour la transaction initiale, sauf si vous en avez expressément convenu autrement ; en tout état de cause, aucuns frais ne vous seront facturés à la suite d'un tel remboursement.
Nous pouvons suspendre le remboursement jusqu'à ce que nous ayons reçu les marchandises ou que vous ayez fourni la preuve que vous avez renvoyé les marchandises, en fonction de la première éventualité.
Vous devez renvoyer les marchandises ou les remettre à World of Books (was SecondSale), Montgomery, Illinois, U.S.A., sans retard injustifié et, en tout état de cause, au plus tard 14 jours à compter du jour où vous nous avez communiqué votre décision de rétractation du présent contrat. Le délai est respecté si vous renvoyez les marchandises avant l'expiration du délai de 14 jours. Vous devrez prendre en charge les frais directs du renvoi des marchandises. Vous n'êtes responsable que de toute diminution de valeur des marchandises résultant d'une manipulation autre que celle nécessaire pour établir la nature, les caractéristiques et le fonctionnement des marchandises.
Exceptions au droit de rétractation
Le droit de rétractation ne s'applique pas à ce qui suit :
- Distribution de journaux, de revues ou de magazines, à l'exception des contrats d'abonnement ; et
- Fourniture d'un contenu numérique qui n'est pas fourni sur un support matériel (par exemple, sur un CD ou un DVD) si vous avez accepté, lors de votre commande, que nous puissions commencer à le livrer et que vous ne puissiez pas exercer votre droit de rétractation une fois la livraison commencée.
Conditions d'expédition
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.