...

/

Using the test Command

Using the test Command

Learn to run and filter tests in Deno and to fail fast while running tests.

We'll cover the following...

So far, we’ve learned how to run, install, and cache modules, as well as how to use permissions. As we write and run more complex programs, the need to test them starts to arise. We can do this with the test command.

Test runner

Included as part of the main binary, Deno also provides a test runner. The command for it, not surprisingly, is called test.

In this lesson, we’ll mainly explore the test command itself and not the test syntax. We’ll look at the syntax and best practices for it in more depth later in the course.

The test command ...