PyTest Tutorial | Unit Testing Framework In Python | How to use PyTest? | Great Learning

Pubblicato il: 22 dicembre 2021
sul canale di: Great Learning
5,798
94

🔥1000+ Free Courses With Free Certificates: https://www.mygreatlearning.com/acade...

Looking for a career upgrade & a better salary? We can help, Choose from our no 1 ranked top programmes. 25k+ career transitions with 400 + top corporate companies. Exclusive for working professionals: https://glacad.me/32nnTvw

Get your free certificate of completion for the Data Science with Python course, Register Now: https://glacad.me/30OEdVp

Pytest is a free and open-source software program that is a python-based testing framework for writing and running test programs. Even though we may use Pytest to write simple to complicated tests, i.eWe can write programs to test API, database, UI, and so on, in today's world of REST services, Pytest is primarily used for API testing. It reduces the test suite’s execution time. It is incredibly simple to get started with because of its simple syntax. Let's learn more about it in this video.

00:00:00 Introduction
00:01:39 Introduction to Pytest Agenda
00:03:20 What is pytest ?
00:07:46 Features of pytest
00:12:07 Advantages of pytest
00:16:04 Installing the pytest
00:18:08 Introduction to Pytest Summary
00:20:25 Tools in Pytest Agenda
00:21:58 Identifying test files and functions
00:26:09 A very basic test implementation
00:28:50 Practical Implementation Basic Test
00:42:33 Ways to run the subset of test suite
00:45:40 Grouping the tests
00:49:26 Practical Implementation - Subsets and Grouping
00:59:08 Fixtures in pytest
01:01:08 Practical Implementation - Fixtures
01:10:50 Parameterizing tests
01:13:24 Practical Implementation - Parametrical Test
01:18:11 Stopping the test suits after n test fails
01:20:26 Run tests in parallel
01:24:48 Practical Implementation Stop and Run Test
01:30:43 Tools in Pytest Summary

Visit Great Learning Academy, to get access to 300+ free courses with 1000+ hours of content on Data Science, Data Analytics, Artificial Intelligence, Big Data, Cloud, Management, Cybersecurity, Software Development and many more. These are supplemented with free projects, assignments, datasets, quizzes. You can earn a certificate of completion at the end of the course for free. https://glacad.me/3ssnkeO

Get the free Great Learning App for a seamless experience, enroll for free courses and watch them offline by downloading them. https://glacad.me/3cSKlNl

About Great Learning:
Great Learning is an online and hybrid learning company that offers high-quality, impactful, and industry-relevant programs to working professionals like you. These programs help you master data-driven decision-making regardless of the sector or function you work in and accelerate your career in high growth areas like Data Science, Big Data Analytics, Machine Learning, Artificial Intelligence & more.


In questa pagina del sito puoi guardare il video online PyTest Tutorial | Unit Testing Framework In Python | How to use PyTest? | Great Learning della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Great Learning 22 dicembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 5,798 volte e gli è piaciuto 94 spettatori. Buona visione!