Test driven development with Vue.js by Sarah Dayan
Testing a component can be counter-intuitive. It requires a mental shift to wrap your head around the differences between testing components and testing plain scripts, knowing what to test and understanding the line between unit and end-to-end tests.
TDD makes everything easier. Instead of writing tests by examining all bits and pieces of a finished project, and trying to guess what you should cover, you’re doing the opposite. You’re starting from actual specs, a list of things that the component should do, without caring about how it does it. This way, you’re ensuring that all you test is the public API of your component, but you’re also guaranteeing you don’t forget anything.
In this talk, we’ll cover why TDD is an ideal method for testing Vue components properly, and we’ll do it together live. We’ll deep dive into why TDD works the way it does, and how it can bring you full confidence over iterating on your Vue projects. At the end of the talk, you will know exactly what to test in your Vue components, and how to do it efficiently.
Видео Test driven development with Vue.js by Sarah Dayan канала VueConf Toronto
TDD makes everything easier. Instead of writing tests by examining all bits and pieces of a finished project, and trying to guess what you should cover, you’re doing the opposite. You’re starting from actual specs, a list of things that the component should do, without caring about how it does it. This way, you’re ensuring that all you test is the public API of your component, but you’re also guaranteeing you don’t forget anything.
In this talk, we’ll cover why TDD is an ideal method for testing Vue components properly, and we’ll do it together live. We’ll deep dive into why TDD works the way it does, and how it can bring you full confidence over iterating on your Vue projects. At the end of the talk, you will know exactly what to test in your Vue components, and how to do it efficiently.
Видео Test driven development with Vue.js by Sarah Dayan канала VueConf Toronto
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
End-to-End Testing Vue Apps with Cypress by Amir RustamzadehDesign Principles of Vue 3.0 by Evan YouHow to build customizable and reusable Vue components by Filip RakowskiIntroduction To Testing In JavaScript With JestJim Coplien and Bob Martin Debate TDDTDD vs BDD. Giants of Test Go Head-to-Head + FREE CHEAT SHEETWhy are TDD and BDD important for development?🚀 DevTernity 2017: Ian Cooper - TDD, Where Did It All Go Wrong7 Secret Patterns Vue Consultants Don’t Want You to KnowTDD for those who don't need it - GopherCon SG 2017Building sustainable enterprise apps with Vue.js - Chris FritzTDD: The Bad Parts — Matt ParkerAn Introduction To Vue Testing With Jest - (Realworld App)The State of Nuxt - Sébastien ChopinImproving your Test Driven Development in 45 minutes - Jakub NabrdalikJavaScript Testing Introduction Tutorial - Unit Tests, Integration Tests & e2e Tests7 Secret Patterns Vue Consultants Don’t Want You to Know - Chris FritzLearn Vuex in 30 MINUTES! (Vue JS 3)Spring Boot and Vue JS: Full Stack Java DevelopmentMobile apps with Vue and Ionic - Mike Hartington