Chapter 15Building Plugins

In the last chapter, we talked about the wealth of plugins available. As you progress with using pytest, you will undoubtedly create fixtures and new command-line flags and all sorts of new cool things that you will want to use on more than one project. You may even want to share the modifications with others and publish your changes. This chapter is exactly about how to share pytest modifications by building your own plugins.

Get Python Testing with pytest now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.