Django Testing Tutorial - Testing Models #4

  Рет қаралды 33,392

The Dumbfounds

The Dumbfounds

Күн бұрын

Пікірлер: 16
@thedumbfounds767
@thedumbfounds767 6 жыл бұрын
Happy Christmas to y'all! Who has some goals/plans ready for the next year? P.S.: Check me out on twitter: twitter.com/gabrimarcan Will be posting something there once in a while.
@victoradukwu2719
@victoradukwu2719 6 жыл бұрын
Great videos. Really explanatory. Waiting for the video on testing templates.
@thedumbfounds767
@thedumbfounds767 6 жыл бұрын
Thanks, Victor! We'll mostly be testing templates through the selenium tests.
@ProSimples
@ProSimples 4 жыл бұрын
I'd love if you have tests for standard models and many-to-many ones such as ForeignKey. There are almost no video about them.
@arekkarczewski8228
@arekkarczewski8228 3 жыл бұрын
very good tut.
@karthik7688
@karthik7688 Жыл бұрын
Though I did the same as mentioned. I'm getting Ran 0 test cases. What should I do?
@thetruereality2
@thetruereality2 4 жыл бұрын
Is there no video on how to do this on a windows machina?
@ehsanahmadi8976
@ehsanahmadi8976 2 жыл бұрын
Thanks👏
@about_python
@about_python Жыл бұрын
it's the best test-tutorial. it's video>Russians video
@mattcarter6453
@mattcarter6453 4 жыл бұрын
does anyone know why when I do this I get a django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. Error?
@AdityaSingh-fk5vu
@AdityaSingh-fk5vu 5 жыл бұрын
The code is not there on your github. The repo doesn't have the test cases.
@saicharan4532
@saicharan4532 3 жыл бұрын
Hi,it is a nice explanation, could anyone help me how to test a model field which has unique= true in test.py file
@TariqAhmed_
@TariqAhmed_ 2 жыл бұрын
def test_get_absolute_url(self): response = Project.objects.create( name = "project 2", budget = 1000 ) self.assertEquals(response.slug, response.name.replace(" ", "-")) #Correct me if i am wrong..
@malikrumi1206
@malikrumi1206 3 жыл бұрын
Testing for gau is 'overboard'? Seriously?
@xushnudbekjumayev
@xushnudbekjumayev Жыл бұрын
i write a little bit code for absolute_url function def test_absolute_slug(self): expected_url = f'/{self.project1.slug}' actual_url = self.project1.get_absolute_url() self.assertEquals(actual_url, expected_url, True) if something went wrong write comment
@melvinkimathi8924
@melvinkimathi8924 2 жыл бұрын
def test_get_absolute_url(self): self.assertEquals(self.project1.get_absolute_url(), "/project-1")
Django Testing Tutorial - Testing Forms #5
3:05
The Dumbfounds
Рет қаралды 19 М.
Django Testing Tutorial - Testing Views #3
16:28
The Dumbfounds
Рет қаралды 81 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Django Testing Tutorial - How To Set Up Tests And Testing URLs #2
11:20
Testing in Django Tutorial #15 - Optmizing Test Performance
10:27
Django Testing Tutorial - What Is Testing? #1
4:35
The Dumbfounds
Рет қаралды 100 М.
Как я СТРОИЛ ОБОРОНУ - Thronefall
25:30
Obsidian Time
Рет қаралды 211 М.
Django Interview Questions (Junior Developer)
30:26
Dennis Ivy
Рет қаралды 131 М.
Learn the Basics of Django Signals
22:37
Matt Freire
Рет қаралды 50 М.
Pytest | Django | Gentle Introduction, Setup and Start Testing
19:13
Бекенд на Django, Урок 2: Unit Tests
44:15
Senior Pomidor Developer
Рет қаралды 49 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН