Python Testing Tutorial for Beginners - Parametrization

Pubblicato il: 10 aprile 2023
sul canale di: Liam Gower
377
14

In this video you will learn how to parametrize your Python tests using pytest's parametrize fixture.

Parametrizing your tests is powerful because it quickly enables you to setup many different test cases for your functions. This will allow you to 'cover' all the different corner cases you can foresee your function needing to handle.

This video builds upon the first video in the Python Testing Tutorial series (   • Python Testing Tutorial for Beginners  ) but if you need to simply learn how to parametrize tests you can watch this in isolation.

▬▬▬▬▬▬▬▬▬▬ GITHUB CODE TO FOLLOW ALONG ▬▬▬▬▬▬▬▬▬▬
https://github.com/leej11/python-test...

00:00 Introduction
00:06 How to Parametrize Python Tests
05:20 Adding IDs/Labels to Python Tests
08:38 A Quick Request!

▬▬▬▬▬▬▬▬▬▬Follow me▬▬▬▬▬▬▬▬▬▬
📺 Youtube: https://www.youtube.com/liamgower?sub...
📚 Blog: https://www.liamgower.com/
✨ Instagram:   / leejghd  
🐦 Twitter:   / liamjgower  

#pythontesting #programming #pythontutorial


In questa pagina del sito puoi guardare il video online Python Testing Tutorial for Beginners - Parametrization della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Liam Gower 10 aprile 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 377 volte e gli è piaciuto 14 spettatori. Buona visione!