Step 9 - Pytest tutorial: Testing Exceptions

Pubblicato il: 15 giugno 2020
sul canale di: PyCharm, a JetBrains IDE
3,723
30

👉 Watch the updated video on how to test exceptions with pytest in PyCharm:    • How to test exceptions with pytest in PyCharm  

Write tests that ensure exceptions are raised when expected.

00:00 - Start
00:25 - Write a test that triggers an error and expects an exception
01:03 - Re-write test to anticipate a refactoring that fixes an exception
01:14 - Refactor around that problem by returning None

More on this tutorial step: https://www.jetbrains.com/pycharm/gui...
The full tutorial: https://www.jetbrains.com/pycharm/gui...
See tips, tutorials, and more in the PyCharm Guide: https://www.jetbrains.com/pycharm/guide/


In questa pagina del sito puoi guardare il video online Step 9 - Pytest tutorial: Testing Exceptions della durata di ore minuti seconda in buona qualità , che l'utente ha caricato PyCharm, a JetBrains IDE 15 giugno 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,723 volte e gli è piaciuto 30 spettatori. Buona visione!