Python Testing: Beginner's Guide: An easy and convenient approach to testing your powerful Python projects
Lingua: inglese
Editore: Packt Publishing Limited, 2010
- Brossura
- Usato

Da: World of Books (was SecondSale), Montgomery, IL, U.S.A.World of Books (was SecondSale)
Venditore AbeBooks dal 20 dicembre 2007
Condizione: Usato - Buono
EUR 9,44
Quantità: 1 disponibile
Aggiungi al carrelloDescrizione dell’articolo da parte del venditore
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.…
Codice articolo 00106781999
- Titolo
- Python Testing: Beginner's Guide: An easy and convenient approach to testing your powerful Python projects
- Autore
- Daniel Arbuckle
- Editore
- Packt Publishing Limited
- Anno di pubblicazione
- 2010
- Condizione
- Good
- Rilegatura
- Paperback
- Lingua
- inglese
- ISBN 10
- 1847198848
- ISBN 13
- 9781847198846
"Riassunto" può appartenere a un’altra edizione di questo titolo.
Sinossi
"Descrizione articolo" può appartenere a un’altra edizione di questo titolo.
World of Books (was SecondSale)
Montgomery, IL, U.S.A.
Venditore AbeBooks dal 20 dicembre 2007
Tariffe di spedizione nazionale per U.S.A.
| Articolo | Da 4 a 12 giorni lavorativi | Da 3 a 6 giorni lavorativi |
|---|---|---|
| Primo articolo | EUR 0,00 | EUR 9,77 |
Metodi di pagamento
Descrizione dello Store
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 …
Informazioni sull’azienda del venditore
SBYB, Inc.
900 Knell Rd
Montgomery, IL U.S.A. 60538
Condizioni di vendita
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.
Diritto di recesso
Se sei un consumatore puoi recedere dal contratto in conformità con quanto segue. Per Consumatore si intende qualsiasi persona fisica che agisce per scopi estranei alla propria attività commerciale, imprenditoriale, artigianale o professionale.
Informazioni sul diritto di recesso
Diritto legale di recesso
Hai il diritto di recedere dal presente contratto entro 14 giorni senza fornire alcuna motivazione.
Il periodo di recesso scade dopo 14 giorni dal giorno in cui tu o una terza parte, diversa dal vettore e da te indicata, acquisisce il possesso fisico dell'ultimo bene o dell'ultimo lotto o pezzo.
Per esercitare il diritto di recesso, compila e invia elettronicamente una dichiarazione esplicita sul nostro sito Web, alla voce “I miei acquisti” nella sezione “Mio account”. Ti comunicheremo senza indugio una conferma di ricezione di tale recesso su un supporto durevole (ad es. via e-mail).
Per rispettare il termine di recesso, è sufficiente inviare la comunicazione relativa all'esercizio del diritto di recesso prima della scadenza del periodo di recesso stesso.
Effetti del recesso
In caso di recesso dal presente contratto, ti rimborseremo tutti i pagamenti ricevuti, compresi i costi di spedizione (ad eccezione dei costi supplementari derivanti dalla tua eventuale scelta di un tipo di spedizione diverso dal tipo meno costoso di consegna standard da noi offerto).
Potremo effettuare una detrazione dal rimborso per la perdita di valore dei beni forniti, qualora tale perdita sia il risultato di una manipolazione non necessaria da parte tua.
Eseguiremo il rimborso senza indebito ritardo e non oltre 14 giorni dal giorno in cui saremo informati della tua decisione di recedere dal presente contratto.
Il rimborso sarà effettuato utilizzando lo stesso mezzo di pagamento da te usato per la transazione iniziale, salvo che tu non abbia espressamente concordato altrimenti; in ogni caso, non dovrai sostenere alcun costo quale conseguenza di tale rimborso.
Possiamo trattenere il rimborso finché non avremo ricevuto i beni oppure finché non avrai fornito la prova di averli rispediti, a seconda di quale condizione si verifichi per prima.
Dovrai rispedire i beni o consegnarli a World of Books (was SecondSale), Montgomery, Illinois, U.S.A., senza indebito ritardo e, in ogni caso, entro 14 giorni dal giorno in cui ci hai comunicato la tua volontà di recedere dal presente contratto. Il termine è rispettato se rispedisci i beni prima della scadenza del periodo di 14 giorni. I costi diretti della restituzione dei beni saranno a tuo carico. Sei responsabile solo della diminuzione del valore dei beni risultante da una manipolazione diversa da quella necessaria per stabilire la natura, le caratteristiche e il funzionamento dei beni stessi.
Eccezioni al diritto di recesso
Il diritto di recesso non si applica a:
- La fornitura di giornali, periodici o riviste ad eccezione dei contratti di abbonamento; e
- La fornitura di contenuto digitale non fornito su un supporto materiale (ad es. su un CD o DVD), se al momento dell'invio dell'ordine hai accettato l'inizio dell'esecuzione e hai riconosciuto che non avresti potuto recedere una volta iniziata l'esecuzione.
Condizioni di spedizione
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.