Unit Testing In Django REST Framework | Learn Django REST Framework #15

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024

ความคิดเห็น • 20

  • @orlandoalmario
    @orlandoalmario ปีที่แล้ว +1

    Hey! I was reading the docs for testing and wanted to see a quick tutorial as well, found this. Really good video and content! thank you for making it!

    • @SsaliJonathan
      @SsaliJonathan  ปีที่แล้ว

      Glad it helped. Thanks for watching

  • @rolandonunez1893
    @rolandonunez1893 6 หลายเดือนก่อน

    Everything fine and dandy, however... what's the point of those tests if we've been testing everything with Insomnia? Just asking with all respect that you deserve!. Thank you!!

    • @SsaliJonathan
      @SsaliJonathan  6 หลายเดือนก่อน +2

      Good point! Sometimes unit tests help test the quality of code, And can be a sure metric for how maintainable a code base is, if you make changes to a codebase you tested, it is easy to know how your changes affect you codebase.

    • @rolandonunez1893
      @rolandonunez1893 6 หลายเดือนก่อน +1

      @@SsaliJonathan Thank you!

  • @chetty1212
    @chetty1212 2 ปีที่แล้ว +2

    this testing video is such a bonus to an already amazing series.

    • @SsaliJonathan
      @SsaliJonathan  2 ปีที่แล้ว

      Thanks for the positive comments. I really appreciate.

  • @richardbalfour
    @richardbalfour ปีที่แล้ว +1

    Really great video! Very clear and easy to follow.

    • @SsaliJonathan
      @SsaliJonathan  ปีที่แล้ว

      Glad it helped you. Thanks for watching

  • @rossli8621
    @rossli8621 10 หลายเดือนก่อน

    I think you should use `create_user()` function to create a testuser instead of using the `create()` method.

    • @SsaliJonathan
      @SsaliJonathan  10 หลายเดือนก่อน

      Exactly. This is what will work if you attempt to save a user object.

  • @abhishekkannur6658
    @abhishekkannur6658 ปีที่แล้ว

    Hed Jonathan I have tried you method i am getting the data of access token and all after that the authorization part is not working for me

    • @SsaliJonathan
      @SsaliJonathan  ปีที่แล้ว

      Hey man. I am taking a break right now. But I will make a video thats detailed about the topic. Thanks for watching.

  • @정훈-h4f
    @정훈-h4f 10 หลายเดือนก่อน

    thank you making video

  • @mahdifarahmandsafa6342
    @mahdifarahmandsafa6342 ปีที่แล้ว

    This is what i needed !
    Thanks 🙏

    • @SsaliJonathan
      @SsaliJonathan  ปีที่แล้ว

      Glad it helped. Thanks for watching

  • @AbdelrahmanSameeh
    @AbdelrahmanSameeh 7 หลายเดือนก่อน

    nice work

    • @SsaliJonathan
      @SsaliJonathan  6 หลายเดือนก่อน

      Thank you! Cheers!