In this video, we explore Deno's built-in test runner. We'll write a simple test, run it with VSCode, measure our test coverage, and output test reports in various formats.
00:00 Intro
00:17 Testing with Deno Standard Library `assert`
00:48 Run tests with VSCode
01:06 Re-run tests with `deno test --watch`
01:20 Measuring test coverage with `deno test --coverage`
01:28 Type checking commented code with `deno test --doc`
01:53 Changing your test reporter format
02:14 Deno.test.only() and Deno.test.ignore()
Read more about testing with Deno
- https://docs.deno.com/runtime/fundamentals/testing/
Deno is an all-in-one batteries included JavaScript and TypeScript toolchain.
Website: https://deno.com
GitHub: https://github.com/denoland
Discord: https://discord.gg/deno
Bluesky: https://bsky.app/profile/deno.land
Mastodon: https://fosstodon.org/@deno_land
Twitter: https:/twitter.com/deno_land