Alessandro Molina - Crafting Test-Driven Software with Python
Here you can read online Alessandro Molina - Crafting Test-Driven Software with Python full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: Packt Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:
Romance novel
Science fiction
Adventure
Detective
Science
History
Home and family
Prose
Art
Politics
Computer
Non-fiction
Religion
Business
Children
Humor
Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.
- Book:Crafting Test-Driven Software with Python
- Author:
- Publisher:Packt Publishing
- Genre:
- Year:2021
- Rating:5 / 5
- Favourites:Add to favourites
- Your mark:
- 100
- 1
- 2
- 3
- 4
- 5
Crafting Test-Driven Software with Python: summary, description and annotation
We offer to read an annotation, description, summary or preface (depends on what the author of the book "Crafting Test-Driven Software with Python" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.
Crafting Test-Driven Software with Python — read online for free the complete book (whole text) full work
Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Crafting Test-Driven Software with Python" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.
Font size:
Interval:
Bookmark:
Copyright 2021 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Group Product Manager: Ashwin Nair
Publishing Product Manager: Ashitosh Gupta
Content Development Editor: Divya Vijayan
Senior Editor: Hayden Edwards
Technical Editor: Saurabh Kadave
Copy Editor: Safis Editing
Project Coordinator: Kinjal Bari
Proofreader: Safis Editing
Indexer: Rekha Nair
Production Designer: Prashant Ghare
First published: February 2021
Production reference: 1170221
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-83864-265-5
www.packt.com
To my family, Stefania, Stefano, and Cecilia, for dealing with me when I was working on this book during the evenings and weekends. To all open source contributors, for maintaining the libraries and frameworks that make our lives easier by providing us with the foundations for our daily projects.
Alessandro Molina has been a Python developer since 2001, and has always been interested in Python as a web development platform. He has worked as a CTO and a team leader of Python teams for the past 10 years and is currently the core developer of the TurboGears2 web framework and the maintainer of the Beaker caching/session framework. He authored the DEPOT file storage framework and the DukPy JavaScript interpreter for Python and has collaborated on various Python projects related to web development, such as FormEncode, ToscaWidgets, and the Ming MongoDB ORM.
Michael Burrows has worked for 20 years across a number of programming languages, market verticals, and software delivery roles. His main focus for the last 10 years or so has been using Python to make teams more efficient and effective.
PrefaceThis book cover s testing and test-driven development practices, introducing you to the most widespread tools and concepts that are common in the software testing community, using both the Python native unittest module and the pytest framework.
This book is aimed at any Python developers that want to learn how they can test their applications and integrate testing into their development model, as well as for developers who know how to test software in other languages but are just turning to Python and thus don't yet know which tools are available to them.
, Getting Started with Software Testing , provides an i ntroduction to the core concepts of automated testing and to the unittest P ython module.
, Test Doubles with a Chat Application , p resents the most common kinds of test doubles while building a real-time chat application.
, Test-Driven Development while Creating a TODO List , covers w riting a todo list application adhering to the test-driven development best practices.
, Scaling the Test Suite , e xplores the complexities of maintaining a test suite as the software and the suite grow in size and complexity.
, Introduction to PyTest , presents the pytest framework and explores how it differs from the unittest module.
, Dynamic and Parametric Tests and Fixtures , d ives into more advanced features of pytest , such as parametric tests and dynamic fixtures.
, Fitness Function with a Contact Book Application , d ives into more advanced concepts related to acceptance tests and Acceptance Test Driven Development (ATDD) building a real application.
, PyTest Essential Plugins , s howcases the most widespread pytest plugins that can be helpful in most projects.
, Managing Test Environments with Tox , p resents how to manage test suites across different Python environments.
, Test Documentation and Property-Based Testing, introduces the concept of testing documentation and auto-generating tests based on the properties of the system under test .
, Testing for the Web: WSGI versus HTTP, covers h ow to test client-server applications based on the HTTP and WSGI protocols.
, End-to-End Testing with the Robot Framework, covers h ow to write tests that drive a real browser acting on a web application .
You will need a recent version of Python 3 and pip (the package installer for Python).
All code examples in this book have been tested using Python 3.7, 3.8, and 3.9 on Linux. However, they should work on other systems too. PyTest 6.0.2 was used by the examples that rely on PyTest.
Software/hardware covered in the book | OS requirements |
Python 3.7, 3.8, or 3.9 | Windows, Mac OSX , or Linux (any) |
pip 18+ | |
PyTest 6.0.2+ |
Additional packages and libraries will be installed from the Python Package Index ( PyPI ) using pip over the course of the chapters.
If you are using the digital version of this book, we advise you to type the code yourself or access the code via the GitHub repository (link available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code .
You can download the example code files for this book from GitHub at https://github.com/PacktPublishing/Crafting-Test-Driven-Software-with-Python . In case there's an update to the code, it will be updated on the existing GitHub repository.
We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/ . Check them out!
There are a number of text conventions used throughout this book.
Next pageFont size:
Interval:
Bookmark:
Similar books «Crafting Test-Driven Software with Python»
Look at similar books to Crafting Test-Driven Software with Python. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.
Discussion, reviews of the book Crafting Test-Driven Software with Python and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.