Django Testing Tutorial - How To Set Up Tests And Testing URLs #2

preview_player
Показать описание
In this video you will learn how to set up the folder structure and skeleton code for testing inside of Django using the unittest module. We'll also be exploring one way of testing the URLs in our project.

7 Tips For Getting Better At Django:

Get the starting point on GitHub:

If you enjoyed this video, make sure to subscribe and share it with anyone you think could enjoy it as well.

I hope to see you inside of the next episode,

Cheers.
Рекомендации по теме
Комментарии
Автор

By far the best tutorial I have found on this topic

stealthwolf
Автор

Exactly what I was looking for. Thank you.

rezakhalafi
Автор

what is this terminal, does it run in windows or linux ?, nice tutorial bro

kareemashrafYT
Автор

Seems like the urls testing with reserve isn't working with urls that has params. Any ideas? Thanks for great content tho! :-)

magnuslundstrm
Автор

Could you please make the video on how to work with the Docker+DjangoTests
I stuck on this error.
Got an error creating the test database: database "test_postgres" already exists.
And I think It is because of lack of knowledge in this district.

RuslanSkiraUkraine
Автор

Is there a way to test an int instead of slug in dynamic url?

oozi
Автор

Can't this be tested in the views testing?

heathergray
Автор

is there a difference between virtualenv and virtualenvwrapper ?

salimbo
Автор

Thank you. From where we get that 'list'. I am referring to => url = reverse('list')

AmitTiwari-wfxj
Автор

Got Best video about Unit Test in Django

wordpresswithusama
Автор

Still after adding __init__.py & following the same file structure I got this message 'Ran 0 tests in 0.000s'. Can anyone help me out?

arpanbagui
Автор

Thank You for the videos, but it still a while not clear

younesboukroun
Автор

Best explanation that I seeso far. Congrats!

FernandoPosserPinheiro
Автор

Exactly what I was looking for. Thank you.

sergey
Автор

very useful video. thanks and keep up the awesome work

varunrawat
Автор

check the repository

why there is no requirements.txt file?

RandalSitra
Автор

thx for the video
At 9:41 you have ran just one test because you did not change the name of second test function i think

NB
Автор

thanks bro for those topics
would you recommend any readable tutorial for Django testing ?

Salah-hhjq
Автор

Hi, How do I assert equal a function inside a class?

rohansingh
Автор

Would be nice to have a link to the github in the description.

cecilmonk