Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Preliminary Concepts #1047

@oldoc63

Description

@oldoc63

Testing is an essential part of development. When used properly, testing can catch and identify issues with your implementation code before you deploy it to users. Instead of testing every function manually, developers automate their tests with a test framework.
Developers use test frameworks to organize and automate tests that provide useful feedback when errors occur. We will use the Mocha test framework to write tests against JavaScript methods.
We'll learn:

  • To write a basic Mocha test suite
  • Use Node's assert.ok method to verify the expected output of your code
  • Understand and apply the four phases of a test to create an expressive testing suite
  • Evaluate the quality of your tests against the characteristics of a good test

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions