|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/vue-with-test-driven-development/
课程评论:没有评论
课程名称:Vue与测试驱动开发 课程概览:前端世界中,流行框架在大多数应用程序中得到广泛使用。在本课程中,我们将通过创建一个Web应用程序来学习Vue 3。同时,我们将从头到尾应用测试驱动开发(TDD)方法论,使用JavaScript中最受欢迎的测试库之一vitest和testing-library。在构建应用程序的过程中,我们将学习选项API和组合API的使用,客户端路由,以及如何应用自定义实现。同时,我们将使用vue-router库进行国际化(i18n),使用pinia进行基于组件的全局状态管理,并深入了解测试驱动开发的工作原理,包括集成测试和单元测试的区别,以及它们如何影响代码质量和可重用性。此外,课程还将阐释如何通过测试构建信心,避免实现细节。 本课程完全基于实践,我们编写的每一段代码都是为了实现我们的实际应用。在每个章节中,我们将逐步构建应用程序,而不是提前添加不必要的功能。我们将一次实现一个需求,每个实现都将引出下一个需求。通过这种实践,您将建立扎实的基础,理解Web应用程序的整体需求,并学习如何使用Vue实现这些需求,遵循测试驱动开发的方法。 课程结束后,您将能够在下一个项目中使用Vue,并体验到测试驱动开发带来的好处。
The frontend world is having very popular frameworks which are heavily used in most of the applications.In this course we will be learning Vue 3 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. vitest and testing-librarywhile building this application, we will learnboth options api and composition apiclient-side routing. we will apply our custom implementation then we will use vue-router libraryinternationalization with vue-i18nglobal state management in a component based application by using piniaand we will seehow test driven development works.diff of integration and unit testshow 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 Vue by following test driven development methodology.After completing the course, you will be able to use Vue in your next project and you will experience the benefits of test driven development.