REST API Testing with Django REST Framework

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 50

  • @MrAfroboy94
    @MrAfroboy94 2 года назад +2

    Hai spiegato benissimo, era proprio quello che cercavo. Grazie mille!!!!!

  • @vinay__baliyan
    @vinay__baliyan 3 года назад +1

    I always ignored writing tests but for one of the certification assessment I have to. I am so glad I found this tutorial. Exactly what I was looking for. Super explanation 🙏🙏 Cheers

  • @orozking
    @orozking Год назад

    Great, wonderful, excellent, everything is amazing. Before that i never wrote tests, Thank you for the great tutorial video. I've been subscribed.

  • @klimm.2935
    @klimm.2935 2 года назад +1

    Thank you kind person!
    Thanks to you, I figured out why my put method didn't work.
    Because I need to use reverse

  • @iris9112
    @iris9112 4 года назад +4

    The tests have always been a conflict for me. You really made a good explanation. Thank you

    • @pymike00
      @pymike00  4 года назад

      Glad I could help :)

    • @oliverlandry8871
      @oliverlandry8871 3 года назад

      You all probably dont care at all but does anybody know of a way to get back into an Instagram account??
      I stupidly forgot my account password. I would love any tips you can give me.

    • @crosbytristen1153
      @crosbytristen1153 3 года назад

      @Oliver Landry instablaster ;)

    • @oliverlandry8871
      @oliverlandry8871 3 года назад +1

      @Crosby Tristen i really appreciate your reply. I found the site thru google and I'm waiting for the hacking stuff atm.
      Looks like it's gonna take a while so I will get back to you later with my results.

    • @oliverlandry8871
      @oliverlandry8871 3 года назад

      @Crosby Tristen It did the trick and I finally got access to my account again. I'm so happy:D
      Thank you so much, you saved my account!

  • @AdrianGonzalezBlogs
    @AdrianGonzalezBlogs 4 года назад

    Just what I was looking for. Thanks!

    • @pymike00
      @pymike00  4 года назад

      Glad to know so, you are very much welcome Adrian!

  • @sundar8032
    @sundar8032 4 года назад

    It was very useful for me to start with testing . thank you.

    • @pymike00
      @pymike00  4 года назад

      Glad to know so. You are welcome!

  • @KrishnaManohar8021
    @KrishnaManohar8021 4 года назад

    My suggestion: Caching, Redis, rabbitMQ, celery, in Django along with DRF & testing. Hope to this series in our channel. Thank you. 😄🙏

  • @rishiyadav2427
    @rishiyadav2427 2 года назад

    I don't only want to check the status codes but also the responses if it is relevant to parameters or not? what should be my logic? when I am getting multiple dictionaries in json

  • @jintubigtruck1297
    @jintubigtruck1297 2 года назад

    regration case shows status 400...data is not passing to that view ? why it happen like this?

  • @parrot785
    @parrot785 4 года назад

    I love you. This was very useful to start with testing

    • @pymike00
      @pymike00  4 года назад

      Thank you very much, glad it could help! :)

  • @dhruvinprajapati4463
    @dhruvinprajapati4463 2 года назад

    but what if the expected field value is foreign-key of other models' UUID, how can we grab the id from other models and use it as other models' field value?

  • @lorenzomotta6862
    @lorenzomotta6862 2 года назад

    Pymike sto seguendo il tuo corso su Udemy.. penso di aver capito questa parte.. volevo creare un prodotto (nel mio progetto) che voglio possano essere aggiunti solo da user admin.. come faccio ad implementare un test che faccia login con un account admin? Per ora ricevo solo 403 bad..
    Se riuscissi a rispondere te ne sarei grato (ah utilizzando apitestcase

  • @piyushdubey3393
    @piyushdubey3393 4 года назад

    How can I write testcases for microservice architecture . Any help is appreciated 😊

  • @akhils3561
    @akhils3561 2 года назад +1

    ** when defining method while writing test cases, method name should start with test_ otherwise this wont work. just telling if someone trying whilst watching.

  • @TheOlivarria
    @TheOlivarria 4 года назад

    What theme are you using?

  • @joepesci5845
    @joepesci5845 5 лет назад +1

    Thank you Sir.

    • @pymike00
      @pymike00  5 лет назад

      You are very much welcome Zaky, I am glad you found the video useful :)

  • @veeper
    @veeper 3 года назад

    Hey man, the discount link is not working for me. Would you mind changing it to a working one?

    • @pymike00
      @pymike00  3 года назад

      For everybody else reading this: links where updated, you can find them in the description

  • @philipmutua
    @philipmutua 3 года назад

    Thanks alot

  • @jayaraghavendra9025
    @jayaraghavendra9025 4 года назад

    I want to check if the record is saved in the db as well
    Can you guide me ?

    • @pymike00
      @pymike00  4 года назад

      Hi, the db used is a test db created specifically for the purpose of testing.

  • @aviyadeveloper4248
    @aviyadeveloper4248 4 года назад

    What extensions are you using to get all of that auto_completion and highlighting?

    • @pymike00
      @pymike00  4 года назад +2

      Python and Intellicode extensions only!

    • @aviyadeveloper4248
      @aviyadeveloper4248 4 года назад

      @@pymike00 viscualstudioexptteam.vscodeintellicode
      this one?

  • @therealgg13
    @therealgg13 4 года назад

    What terminal are you using?

    • @pymike00
      @pymike00  4 года назад

      It's Visual Studio Code. Here is a review + setup: ruclips.net/video/vg24wionhFg/видео.html

  • @raulba4
    @raulba4 3 года назад

    beautiful

  • @KrishnaManohar8021
    @KrishnaManohar8021 4 года назад

    can u make tutorial for DRF - Token ststem. like oAuth, Session Token, Refresh Token, etc

    • @pymike00
      @pymike00  4 года назад

      I will publish something else from my course soon. Until then, here is the repo: github.com/pymike00/The-Complete-Guide-To-DRF-and-VueJS

  • @leonardobarrios1509
    @leonardobarrios1509 4 года назад +1

    Could you share the code on github? Thank you.

    • @pymike00
      @pymike00  4 года назад +1

      Sure: github.com/pymike00/The-Complete-Guide-To-DRF-and-VueJS

    • @leonardobarrios1509
      @leonardobarrios1509 4 года назад

      @@pymike00 thank you men.

  • @hadoopwithcp
    @hadoopwithcp 4 года назад +2

    Aladin :D

  • @tommylu3649
    @tommylu3649 3 года назад

    I'm getting an assertion error, someone please help.
    AssertionError: 400 != 201

    • @kingmikey233
      @kingmikey233 3 года назад

      it means youre trying to fetch something from the database that does not exist

  • @nikhil8704
    @nikhil8704 2 года назад

    How to mock third party api called in my project and test my endpoints by your method