The Types of Testing
Explore different testing approaches in functional TypeScript programming, including unit, component, integration, and end-to-end tests. Understand the testing pyramid concept, the importance of automation, and practical considerations for testing serverless applications with AWS.
We'll cover the following...
Overview
There are several types of testing in programming, each on a different level of complexity and size. Unit tests stand on one side of the spectrum. They check one isolated piece of code, a class, or a function. They’re very fast and almost always automated. On the other side of the spectrum, end-to-end tests run against entire applications. They’re slow and, more often, manual. Between these two levels, we have component and integration tests, which are a level up from the isolated unit tests but still only verify part of the system, mocking some ...