Svelte With Test-Driven Development
(eBook)

Book Cover
Your Rating: 0 stars
Star rating for

Contributors:
Published:
[United States] : Packt Publishing, 2023.
Format:
eBook
Content Description:
1 online resource (250 pages)
Status:

Description

Build robust and performant applications by developing SvelteKit applications using automated testing and TDD techniques, including unit and end-to-end testing, custom matchers, component mocking, and authentication Purchase of the print or Kindle book includes a free PDF eBook Key Features Understand and master the test-driven development (TDD) workflow Explore the principles of unit testing with Vitest and end-to-end testing using Playwright and C Leverage practical examples of unit tests covering a range of SvelteKit framework features Book Description 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. In the first part of the book, you'll find a guided walkthrough on building a SvelteKit application using the TDD workflow. You'll uncover the main concepts for writing effective unit test cases and practical advice for developing solid, maintainable test suites that can speed up application development while remaining effective as the application evolves. In the next part of the book, you'll focus on refactoring and advanced test techniques, such as using component mocks and writing BDD-style tests with the C framework. In the final part of the book, you'll explore how to test complex application and framework features, including authentication, Svelte stores, and service workers. By the end of this book, you'll be well-equipped to build test-driven Svelte applications by employing theoretical and practical knowledge. What you will learn Create clear and concise Vitest unit tests helping the implementation of Svelte components Use Playwright and C to develop end-to-end tests that simulate user interactions and test the functionality of your application Leverage component mocks to isolate and test individual components Write unit tests for a range of Svelte framework features Explore effective refactoring techniques to keep your Svelte application code and test suites clean Build high-quality Svelte applications that are well-tested, performant, and resilient to changes Who this book is for 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.

Also in This Series

More Like This

More Details

Language:
Unknown
ISBN:
9781837630950, 183763095X

Notes

Restrictions on Access
Instant title available through hoopla.
Description
Build robust and performant applications by developing SvelteKit applications using automated testing and TDD techniques, including unit and end-to-end testing, custom matchers, component mocking, and authentication Purchase of the print or Kindle book includes a free PDF eBook Key Features Understand and master the test-driven development (TDD) workflow Explore the principles of unit testing with Vitest and end-to-end testing using Playwright and C Leverage practical examples of unit tests covering a range of SvelteKit framework features Book Description 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. In the first part of the book, you'll find a guided walkthrough on building a SvelteKit application using the TDD workflow. You'll uncover the main concepts for writing effective unit test cases and practical advice for developing solid, maintainable test suites that can speed up application development while remaining effective as the application evolves. In the next part of the book, you'll focus on refactoring and advanced test techniques, such as using component mocks and writing BDD-style tests with the C framework. In the final part of the book, you'll explore how to test complex application and framework features, including authentication, Svelte stores, and service workers. By the end of this book, you'll be well-equipped to build test-driven Svelte applications by employing theoretical and practical knowledge. What you will learn Create clear and concise Vitest unit tests helping the implementation of Svelte components Use Playwright and C to develop end-to-end tests that simulate user interactions and test the functionality of your application Leverage component mocks to isolate and test individual components Write unit tests for a range of Svelte framework features Explore effective refactoring techniques to keep your Svelte application code and test suites clean Build high-quality Svelte applications that are well-tested, performant, and resilient to changes Who this book is for 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.
System Details
Mode of access: World Wide Web.

Reviews from GoodReads

Loading GoodReads Reviews.

Citations

APA Citation (style guide)

Irvine, D. (2023). Svelte With Test-Driven Development. Packt Publishing.

Chicago / Turabian - Author Date Citation (style guide)

Irvine, Daniel. 2023. Svelte With Test-Driven Development. Packt Publishing.

Chicago / Turabian - Humanities Citation (style guide)

Irvine, Daniel, Svelte With Test-Driven Development. Packt Publishing, 2023.

MLA Citation (style guide)

Irvine, Daniel. Svelte With Test-Driven Development. Packt Publishing, 2023.

Note! Citation formats are based on standards as of July 2022. Citations contain only title, author, edition, publisher, and year published. Citations should be used as a guideline and should be double checked for accuracy.

Staff View

Grouped Work ID:
72c9ad63-ec2c-64f1-4f79-9e82b3bebf2c
Go To Grouped Work

Hoopla Extract Information

hooplaId17017778
titleSvelte With Test-Driven Development
languageENGLISH
kindEBOOK
series
season
publisherPackt Publishing
price1.35
active1
pa
profanity
children
demo
duration
rating
abridged
fiction
purchaseModelINSTANT
dateLastUpdatedSep 27, 2024 12:41:54 AM

Record Information

Last File Modification TimeMay 02, 2025 11:36:07 PM
Last Grouped Work Modification TimeMay 02, 2025 10:24:25 PM

MARC Record

LEADER04407nam a22004455i 4500
001MWT17017778
003MWT
00520250419110817.1
006m     o  d        
007cr cn|||||||||
008250419s2023    xxu    eo     000 0 eng d
020 |a 9781837630950 |q (electronic bk.)
020 |a 183763095X |q (electronic bk.)
02842 |a MWT17017778
029 |a https://d2snwnmzyr8jue.cloudfront.net/dra_9781837630950_180.jpeg
037 |a 17017778 |b Midwest Tape, LLC |n http://www.midwesttapes.com
040 |a Midwest |e rda
099 |a eBook hoopla
1001 |a Irvine, Daniel, |e author.
24510 |a Svelte With Test-Driven Development |h [electronic resource] / |c Daniel Irvine.
2641 |a [United States] : |b Packt Publishing, |c 2023.
2642 |b Made available through hoopla
300 |a 1 online resource (250 pages)
336 |a text |b txt |2 rdacontent
337 |a computer |b c |2 rdamedia
338 |a online resource |b cr |2 rdacarrier
347 |a text file |2 rda
506 |a Instant title available through hoopla.
520 |a Build robust and performant applications by developing SvelteKit applications using automated testing and TDD techniques, including unit and end-to-end testing, custom matchers, component mocking, and authentication Purchase of the print or Kindle book includes a free PDF eBook Key Features Understand and master the test-driven development (TDD) workflow Explore the principles of unit testing with Vitest and end-to-end testing using Playwright and C Leverage practical examples of unit tests covering a range of SvelteKit framework features Book Description 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. In the first part of the book, you'll find a guided walkthrough on building a SvelteKit application using the TDD workflow. You'll uncover the main concepts for writing effective unit test cases and practical advice for developing solid, maintainable test suites that can speed up application development while remaining effective as the application evolves. In the next part of the book, you'll focus on refactoring and advanced test techniques, such as using component mocks and writing BDD-style tests with the C framework. In the final part of the book, you'll explore how to test complex application and framework features, including authentication, Svelte stores, and service workers. By the end of this book, you'll be well-equipped to build test-driven Svelte applications by employing theoretical and practical knowledge. What you will learn Create clear and concise Vitest unit tests helping the implementation of Svelte components Use Playwright and C to develop end-to-end tests that simulate user interactions and test the functionality of your application Leverage component mocks to isolate and test individual components Write unit tests for a range of Svelte framework features Explore effective refactoring techniques to keep your Svelte application code and test suites clean Build high-quality Svelte applications that are well-tested, performant, and resilient to changes Who this book is for 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.
538 |a Mode of access: World Wide Web.
6500 |a Computers.
6500 |a Internet.
6500 |a Internet programming.
6500 |a JavaScript (Computer program language).
6500 |a Languages.
6500 |a Web services.
6500 |a Electronic books.
7102 |a hoopla digital.
85640 |u https://www.hoopladigital.com/title/17017778?utm_source=MARC&Lid=hh4435 |z Instantly available on hoopla.
85642 |z Cover image |u https://d2snwnmzyr8jue.cloudfront.net/dra_9781837630950_180.jpeg