Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Svelte with Test Driven Development
Rating: 4.3 out of 5(56 ratings)
762 students

Svelte with Test Driven Development

Learn Svelte by applying test driven development (using jest, testing-library/svelte)
Last updated 3/2024
English

What you'll learn

  • Build application with Svelte 3
  • Build an application with internationalization (i18n)
  • Build an application with client side routing
  • Store, actions, reactive declarations and many more features of Svelte
  • Practice Test Driven Development in a complete project from beginning to the end.
  • Learn the test runner, Jest and understand how to structure test modules
  • How to mock external dependencies in testing.
  • Feel how the test driven development is giving confidence when refactoring your application.

Course content

8 sections78 lectures15h 4m total length
  • Introduction4:48
  • Methodology1:09
  • Create Project3:32
  • Running the App3:08
  • Test Dependency Configuration Warning0:44
  • Test Environment Setup21:44
  • Development Environment Tools1:28
  • Project Source Code0:09
  • Resources4:31

    If you see an issue with npm install for backend.zip you can try backend-without-db.zip which requires minimal dependencies.

Requirements

  • Experience with javascript is required

Description

The frontend world is having very popular frameworks which are heavily used in most of the applications. Svelte is joining this competition by bringing lots of cool, developer friendly features. After practicing svelte, it will be hard to go back and work with other frameworks. You will be amazed when you see how much you can do with less code.

In this course we will be learning Svelte by creating a web application with it. Also we will apply test driven development (TDD) methodology from beginning to the end.

We will use one of the most popular test libraries of javascript. jest and testing-library

while building this application, we will learn

  • client-side routing. we will apply our custom implementation then we will use svelte-routing library

  • internationalization

  • global state management in a component based application

and we will see

  • how test driven development works.

  • how it's affecting our code quality, reusability

  • how it's giving us the confidence about refactoring our implementation

  • how to avoid implementation details while creating tests

This course is purely built on practice. Each code piece we write, will be for our actual application implementation.

In each section we will gradually build our application. We will not jump ahead and add functionality not needed for that moment. We will implement one requirement at a time. Each implementation will bring the next requirement to us.

And following this practice, will help you to get a solid foundation about overall web application requirements and how to implement one of them with Svelte by following test driven development methodology.

After completing the course, you will be able to use Svelte in your next project and you will experience the benefits of test driven development.

Who this course is for:

  • Developers who want to learn Svelte
  • Developers who want to see Test Driven Development in action