Testing a REST API with Mocha & Chai - 05 - Test DB routes

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 มี.ค. 2021
  • Welcome!
    In this video series, I test a MongoDB-ExpressJS-NodeJS REST API with Mocha and Chai.
    The videos will cover: introduction, setting up dependencies in VS Code, creating simple end2end tests and API route tests etc.
    GitHub: github.com/sspangsberg/mongo_...
    Mocha: mochajs.org/
    Chai: www.chaijs.com/
    Chai-http: www.chaijs.com/plugins/chai-h...
    NodeJS: nodejs.org/en/
    MongoDB Atlas: www.mongodb.com/cloud/atlas
    Postman API testing: www.postman.com/
  • แนวปฏิบัติและการใช้ชีวิต

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

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

    this was excellent!!!

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

    sir, you are amazing, keep going

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

    Hi, How to write test case with VerifyToken Middleware in post '/' of Product

  • @user-xw9xo5nr5w
    @user-xw9xo5nr5w ปีที่แล้ว

    hey first of all thanks a lot, 2 questions: 1. can you share your example code? 2. how can i contact you for specific question related mocah for testing express node.js ?