Part 1Creating Automated Tests
The nature and complexity of code widely affects the ability to write and run automated tests. One piece of code may focus on business logic or computations. Another piece may use an asynchronous API, and yet another may mostly rely on interactions with external services. Since these concerns result in code that widely differs, the tests for them differ widely as well.
In this part, youâll learn to write automated tests and measure code coverage. Youâll also explore ways to write tests for code thatâs asynchronous and code with intricate dependencies.
Get Test-Driving JavaScript Applications 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.