This is the code repository for Svelte with Test-Driven Development, published by Packt.
Advance your skills and write effective automated tests with Vitest, Playwright, and Cucumber.js
Svelte is a popular front-end framework used for its focus on performance and user-friendliness, and test-driven development (TDD) is a powerful approach that helps in creating automated tests before writing code. By combining them, you can create efficient, maintainable code for modern applications. Svelte with Test-Driven Development will help you learn effective automated testing practices to build and maintain Svelte applications.
This book covers the following exciting features:
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
import { describe, it, expect } from 'vitest';
import {
render,
screen
} from '@testing-library/svelte';
import Birthday from './Birthday.svelte';
Following is what you need for this book: This book is an essential guide for Svelte developers seeking to enhance their development process by learning the TDD workflow and its application. Whether you are an experienced developer or new to automated testing, this book helps you gain a practical approach to improving your workflow. The examples are written in JavaScript, making them accessible to all developers, including TypeScript developers.
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Mastering React Test-Driven Development - Second Edition [Packt] [Amazon]
A Frontend Web Developer’s Guide to Testing [Packt] [Amazon]
Daniel Irvine is a UK-based software consultant. He helps businesses simplify their existing codebases and assists dev teams in improving the quality of their software using eXtreme programming (XP) practices. He has been coaching developers for many years and co-founded the Queer Code London meetup.