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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.