Writing Tests

Learn how to write tests using the Jasmine framework.

Let’s write some tests for Adder.

To introduce some of the basics of testing, we’re going to take a look at what our tests for Adder would look like using the Jasmine framework. However, we won’t be running them because for now, our only concern is a baseline understanding of how the tests work. .

We group tests in Jasmine together using a test suite.

Test suite

Get hands-on with 1200+ tech skills courses.