• Sunday , 19 November 2017

Tutorial: Write a simple API test with Mocha in JavaScript

Code Canyon

Source code on github:


Original source

3d Ocean

Related Posts


  1. TC Just TC
    August 25, 2017 at 19:41

    Elegant tutorial. Easy to listen to and understand. Great work!

  2. Sourav Chatterjee
    August 25, 2017 at 19:41

    Hi Viktor. First of all awesome tutorial. Can you please give an example of a post request? I am working on a script which follows the same method as yours but I need to use a post request. I need to add new data. Appreciate it

  3. Maria S
    August 25, 2017 at 19:41

    This works fine, but sometimes the test fails for no reason, no change to code, or anything. Not sure why.

  4. googleplussucks
    August 25, 2017 at 19:41

    Hey nice one and thanks for sharing. Though i think u didn't need to require should since u didnt use it

  5. Sawan Kumar
    August 25, 2017 at 19:41

    Pretty nice explanation. I will really appreciate if you can share CRUD operations using MongoDB. Will Look forward for that.

  6. aditya chary
    August 25, 2017 at 19:41

    hi vicktor..this video was very helpful but ..could you please give example for POST method as well…im unable to get it..Thank you.

  7. Niyati Shah
    August 25, 2017 at 19:41

    it says:
    'mocha' is not recognized as an internal or external command,
    operable program or batch file.
    i have also added it to the PATH in environment variables . Please help.

  8. gxvigo
    August 25, 2017 at 19:41

    Hey Viktor, good stuff, to improve your work, you should spend a little more time explaining the pasted code. What's 'describe'? What's 'it'?

  9. Todor Gabrovski
    August 25, 2017 at 19:41

    Nice video buddy, your voice sounds cool, good luck hope you will make more 🙂

Leave A Comment

You must be logged in to post a comment.