Chapter 6: Testing Applications

We’ve come quite a long way. We started by looking at Svelte’s history, as well as the first steps of writing an application with it. The tools for building such an application were then introduced in more detail. We took a deep dive into the template syntax of Svelte, which is an extension of HTML. We saw how to use reactive statements to react to variable changes—for example, in order to create computed variables. We then looked at Svelte stores, which can be used to share state across multiple components, and we learned about various ways to integrate components with each other.

All this empowers us to create Svelte applications that scale. But how do we test those applications? This is what we’ll look at ...

Get Svelte: A Beginner's Guide 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.