Python Unittesting: Parameterized Testing With Parameterized lib

Publicado em: 26 Abril 2020
no canal de: Kumar'S
1,376
19

Python Unittesting: Parameterized Testing, Or Data Driven Unit testing with Python Parameterized lib.

Sometimes we have multiple data sets or values which we need to use on the same tests. We can do this by creating an individual test for each data, which is ofcourse a time-consuming process.
For example, we want to test the login page or process, with multiple input values for e.g. say 1000 different username and password conditions.
To test this, we can take following different approaches:
Option 1) Create 1000 scripts one for each dataset and runs each test separately.
Option 2) Use Parameterized testing - this is what we will see in this session.
We will be using parameterized pkg from:
https://pypi.org/project/parameterized/

Using Parameterized pkg we can also do data driven testing.
Thanks and happy learning!

--- The full Python Unit Testing videos:
   • Python Unittest  

--- Python Testing Course in Udemy:
https://bit.ly/3fpK05F


Nesta página do site você pode assistir ao vídeo on-line Python Unittesting: Parameterized Testing With Parameterized lib duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Kumar'S 26 Abril 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,376 vezes e gostou 19 espectadores. Boa visualização!