|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/svelte-with-test-driven-development/
课程评论:没有评论
课程名称:基于测试驱动开发的 Svelte 课程概述:前端开发领域涌现了许多流行框架,这些框架在大多数应用中得到了广泛使用。Svelte 作为新兴竞争者,带来了许多开发者友好的功能。学习 Svelte 后,您会发现很难再回到其他框架中。通过减少代码量,您将会惊讶于能够完成的工作量。在本课程中,我们将通过创建一个 web 应用程序来学习 Svelte,并从头到尾应用测试驱动开发(TDD)的方法论。我们将使用 JavaScript 中最流行的测试库之一:Jest 和 Testing Library。在构建应用程序的过程中,我们将学习客户端路由,首先实现我们的自定义实现,然后使用 svelte-routing 库。此外,我们还将探讨国际化、组件基础的全局状态管理,以及 TDD 如何影响我们的代码质量和可重用性,增强我们对重构实施的信心,以及在创建测试时如何避免实现细节。 本课程强调实践性。我们写的每一段代码都是为了实际应用实现。在每个部分中,我们将逐步构建应用程序,不会跳过前进或添加当时不需要的功能。我们将逐一实现需求,每次实现将引出下一个需求。这种实践方法将帮助您建立关于整体 Web 应用程序需求的扎实基础,并学习如何通过测试驱动开发的方法论,使用 Svelte 实现这些需求。 完成本课程后,您将能够在下一个项目中使用 Svelte,并体验测试驱动开发所带来的各项好处。
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-librarywhile building this application, we will learnclient-side routing. we will apply our custom implementation then we will use svelte-routing libraryinternationalizationglobal state management in a component based applicationand we will seehow test driven development works.how it's affecting our code quality, reusabilityhow it's giving us the confidence about refactoring our implementationhow to avoid implementation details while creating testsThis 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.