Téléchargez l'application Kindle gratuite et commencez à lire des livres Kindle instantanément sur votre smartphone, tablette ou ordinateur - aucun appareil Kindle n'est requis.
Lisez instantanément sur votre navigateur avec Kindle pour le Web.
Utilisation de l'appareil photo de votre téléphone portable - scannez le code ci-dessous et téléchargez l'application Kindle.
Image indisponible
couleur :
-
-
-
- Pour voir cette vidéo, téléchargez Flash Player
Suivre l'auteur
OK
pytest Quick Start Guide Broché – 30 août 2018
Options d'achat et paniers Plus
Learn the pytest way to write simple tests which can also be used to write complex tests
Key Features
- Become proficient with pytest from day one by solving real-world testing problems
- Use pytest to write tests more efficiently
- Scale from simple to complex and functional testing
Book Description
Python's standard unittest module is based on the xUnit family of frameworks, which has its origins in Smalltalk and Java, and tends to be verbose to use and not easily extensible.The pytest framework on the other hand is very simple to get started, but powerful enough to cover complex testing integration scenarios, being considered by many the true Pythonic approach to testing in Python.
In this book, you will learn how to get started right away and get the most out of pytest in your daily workflow, exploring powerful mechanisms and plugins to facilitate many common testing tasks. You will also see how to use pytest in existing unittest-based test suites and will learn some tricks to make the jump to a pytest-style test suite quickly and easily.
What you will learn
- Write and run simple and complex tests
- Organize tests in fles and directories
- Find out how to be more productive on the command line
- Markers and how to skip, xfail and parametrize tests
- Explore fxtures and techniques to use them effectively, such as tmpdir, pytestconfg, and monkeypatch
- Convert unittest suites to pytest using little-known techniques
- Use third-party plugins
Who this book is for
This book is for Python programmers that want to learn more about testing. This book is also for QA testers, and those who already benefit from programming with tests daily but want to improve their existing testing tools.
Table of Contents
- Introducing pytest
- Writing and running tests
- Markers and parametrization
- Fixtures
- Plugins
- Converting unittest suites to pytest
- Wrappin up
- Nombre de pages de l'édition imprimée160 pages
- LangueAnglais
- ÉditeurPackt Publishing
- Date de publication30 août 2018
- Dimensions23.5 x 19.1 x 0.88 cm
- ISBN-101789347564
- ISBN-13978-1789347562
Produits fréquemment achetés ensemble

Ressources sur la sécurité et les produits
Problème lors du chargement des informations
- Images relatives à la sécurité des produitsInformations sur le fabricantPersonne responsable
Problème lors du chargement des informations
Problème lors du chargement des informations
Problème lors du chargement des informations
Description du produit
Biographie de l'auteur
Bruno Oliveira is a software developer with 18 years experience working at ESSS, developing desktop and web applications for simulation and numerical analysis for several industry sectors including oil and gas, aerospace, automotive, and chemical processes. Having taken part in the development of an internal testing framework to attend to the various needs of the applications he worked with, and having always been interested in testing and software quality, in 2012, Bruno took note of pytest and immediately fell in love with the project. He started contributing whenever he could and has been a pytest core contributor since 2014.
Détails sur le produit
- Éditeur : Packt Publishing (30 août 2018)
- Langue : Anglais
- Broché : 160 pages
- ISBN-10 : 1789347564
- ISBN-13 : 978-1789347562
- Poids de l'article : 290 g
- Dimensions : 23.5 x 19.1 x 0.88 cm
- Classement des meilleures ventes d'Amazon : 2 469 en Python
- 2 900 en Ingénierie informatique et génie logiciel
- 4 661 en Guides de l'Internet (Livres)
- Commentaires client :
À propos de l'auteur

Découvrez d'autres livres de l'auteur et des auteurs similaires, lisez des recommandations de livres et plus encore.
Commentaires client
- 5 étoiles4 étoiles3 étoiles2 étoiles1 étoile5 étoiles52%25%15%9%0%52%
- 5 étoiles4 étoiles3 étoiles2 étoiles1 étoile4 étoiles52%25%15%9%0%25%
- 5 étoiles4 étoiles3 étoiles2 étoiles1 étoile3 étoiles52%25%15%9%0%15%
- 5 étoiles4 étoiles3 étoiles2 étoiles1 étoile2 étoiles52%25%15%9%0%9%
- 5 étoiles4 étoiles3 étoiles2 étoiles1 étoile1 étoile52%25%15%9%0%0%
Les avis clients, y compris le nombre d’étoiles du produit, aident les clients à en savoir plus sur le produit et à décider s'il leur convient.
Pour calculer le nombre global d’étoiles et la ventilation en pourcentage par étoile, nous n'utilisons pas une simple moyenne. Au lieu de cela, notre système prend en compte des éléments tels que la date récente d'un commentaire et si l'auteur de l'avis a acheté l'article sur Amazon. Les avis sont également analysés pour vérifier leur fiabilité.
En savoir plus sur le fonctionnement des avis clients sur AmazonMeilleurs commentaires provenant d’autres pays
The book itself has a very near-the-user language and is very enjoyable to read! No issues found in the Kindle version.

