Skip to main content

Unit Testing

Recommendation
Updated
Moved
USE
2021-09-15

What is it

Unit Testing is an automated way of testing that individual units/parts of a program conforms to it's design and behaves as intended. Use Vitest as a unit testing library.

When to use it

As soon as new business logic is added, tests should be added for this.

How to learn it

See the Wikipedia page to learn more about Unit Testing.