Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
pytest Quick Start Guide

You're reading from   pytest Quick Start Guide Write better Python code with simple and maintainable tests

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781789347562
Length 160 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Bruno Oliveira Bruno Oliveira
Author Profile Icon Bruno Oliveira
Bruno Oliveira
Arrow right icon
View More author details
Toc

Summary

In this chapter, we looked at how easy it is to find and install plugins. We also have been shown some plugins that I use daily and find interesting. I hope this has given you a taste of what's possible in pytest, but please explore the vast number of plugins to see whether you can find any that are useful.

Creating your own plugins is not a topic that is covered in this book, but if you are interested, here are some resources to get you started:

  • The pytest documentation: writing plugins (https://docs.pytest.org/en/latest/writing_plugins.html).
  • Brian Okken's wonderful book about pytest Python testing with pytest, which delves deeper than this book does, has an excellent chapter on how to write your own plugins.

In the next chapter, we will learn how to use pytest with existing unittest-based test suites, including tips and suggestions on how to migrate them...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image