Pytest | Django | Gentle Introduction, Setup and Start Testing

preview_player
Показать описание
Pytest is a popular python test automation framework. Here we look at getting started with Pytest and Django. In this tutorial we Start a new Django project then Setup Django-Pytest. At this point we take a look at some simple examples covering topics such as Assert Statements, Running tests
Testing outcomes and Report options. We also take a look at Pytest Marks and look at how to utilise Coverage to identify where tests are needed in our application.

Code Repository

🐱‍🏍Would you like to SUPPORT US FURTHER so that we can make even more great content - Please consider joining our members community.

👍SUBSCRIBE to get more free tutorials, courses and code snippets!
Рекомендации по теме
Комментарии
Автор

It's criminal how few views these videos have. The Quality of every one and each of your videos is insane. Thank you!

filipjukic
Автор

This place is a knowledge hub for django ... I have learnt so many stuff here, thanks sir you are great. I am very thankful to youtube algo god to recommend this channel.

rahulsaha
Автор

One of the best channels out there, thank you very much for the knowledge! i'm still new to testing so this helps out a lot.
Will you do any videos on GUI in the future?

timetosleep
Автор

Amazing video 1 from the series, just finished and going for the 2nd one.

ovidioe.cabeza
Автор

Going slightly off to the current video... Zander, will talk about frontend here.
But since a week I am going through the Vue Vutify and Nuxt.. I was quite confused while choosing a path between react-next-drf and vue-nuxt-drf..
After lots of research I concluded that the craze for React is more compare to Vue because it is been adopted widely. Most companies have built their projects upon React and that is why there are more job opportunities there.

But if there was no question about the job and just building a project with ease then Vue is equally capable of doing all the stuff what React can.

I am developing website for my own idea/business and therefore I chose Vue-Django. Also there is saying in Vue world that don't look for experienced Vue Developer, instead search for experienced JavaScript developer and give him a day to learn VueJs and he will be fit for the job.

So my decision was influenced based on get things done...
I would highly appreciate if you someday come up with DRF-Vue-Nuxt ecosystem... because a solo developer would love that.

aaklii
Автор

@veryacademy, Please add tutorials regarding how to write unit test of any third party API (authenticated) with the business logic involving database query.

AnkitKumar-uduv
Автор

you definitely have the most useful django videos on youtube . keep making videos

aliakhavan
Автор

Awesome. These tutorials are on point are not those regular django todo-like toys apps.

By the way first to comment ☺️☺️

sharhanalhassan
Автор

Thanks. Its very helpful and easy to understand.

jasmeetpabla
Автор

Very helpful video, much appreciated!

shashishekhar----
Автор

Thanks a lot for such a nice playlist. I am a subscriber and regular visitor of your YouTube channel. Just 1 doubt, what does that 100% show in test output. Even if some test cases fails I received 100% there, and as low as 10% even in passed test cases. Thanks again.

freeopensource
Автор

i have some doubts as a python developer what types of testing we should conduct will you give clarity. testers will conduct more testing but developer what test conduct please give clarity

srinisrinivasulu
Автор

There might be a need to set up a committee to investigate why this channel is not getting up to 1M views.

muhammedabdulganiyyishola
Автор

Can you tell me which theme you are using on VSCode?

udsc-srlab
Автор

Thanks, man :) Just quickly want to ask, you have another video in this playlist ) So which one is the gentlest intro? :D

ShahriyarRzayev
Автор

Hello my friend, will still this work with Django 4.0?

simaobonvalot
Автор

I am not able to load my environment variable when running pytest
raise KeyError(key) from None
KeyError: 'PG_PASSWORD'

anikhilsannat
Автор

03:30 Django setup
07:09 pytest-django setup
11:18 First test
17:01 Marking tests
17:57 Custom markers

staystealth
Автор

i wish django would just get rid of unittest

shirecoding