Quickly Test your Apps with Vitest (Дата оригинальной публикации
This is the third lesson of Vue Mastery s Quick Tests with Vitest watch the full course here Testing is integral to many large web applications because software is dynamic with a lot of moving parts and requirements that evolve over time. Essentially, we write tests to identify potential bugs before shipping an application to its users and also to improve the maintainability of our codebase. In this Vue Mastery course taught by David Nwadiogbu, were taking a look at Vitest: a testing framework powered by the blazingfast build tool, Vite. The starting code for this lesson is here: The ending code is here: Ready to master With weekly Vue js tutorials on the latest topics, and exclusive content with Evan You (the creator of Vue), Vue Mastery is the ultimate learning resource for Vue developers to levelup their skills. Watch more free Vuejs tutorials 0:00 Intro 0:15 Building our component 1:33 Installing our testing dependencies 2:40 What should we test 3:11 Building our Unit Tests 9:40 Our complete test file
|
|