AI Features

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. ...

Ask