Articles
Latest
More
Newsletter Sponsorship Discord About
Sign up for our Newsletter
The video for this lesson is currently being updated, please read the transcript instead.
Vue Fullstack > Lesson 26

Unit testing an API

Now that we've got a basic understanding about using Mocha for testing, we're going to create some unit tests for our API endpoints.

What is a unit test?

Before we begin, let's discuss an important concept, which is the idea of a "unit" in unit testing.

So, a unit, is a small, testable part of our application. Typically, this will be a function, like it was in the demo test that we wrote.


Back to course page

Click to load comments...

Articles
  • Latest
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom