Chapter 8: Testing – Unit and Integration

Code isn't created until the respective tests have been written. Since you're reading this chapter, I'll assume we can agree on that statement. However, you might wondering, why haven't we written any tests? Fair enough.

We chose not to do this because we believe it would make the content harder to absorb. Since we wanted to keep you focused on learning Deno while building an application, we decided not to do this. The second reason is that we truly wanted a full chapter focused on testing; that is, this one.

Testing is a very important part of the software life cycle. It can be used to save time, to clearly state requirements, or just because you want to feel confident in rewriting and refactoring ...

Get Deno Web Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.