Views On Vue

VoV 008: Getting Started with TDD on Vue.js with Nick Basile

Informações:

Synopsis

Panel: Divya SasidharanChris Fritz Special Guests: Nick Basile In this episode of Views on Vue, the panelists discuss getting started with TDD on Vue.js with Nick Basile. Nick defines what TDD and unit tests are and how you can use them to make your code better in the long run. They also discuss when using TDD wouldn’t be helpful and the importance of trial and error when it comes to tests. Nick then gives different resources newcomers to Jest can go to so that they can learn more and discusses Vue Test Utils. In particular, we dive pretty deep on: What does your setup look like?Vue.jsJestHave you used other tools other than Jest?MochaWhat attracted you to Jest?Define TDD and unit testsWhat are examples of not helpful uses for TDD and unit tests?How to know when a test is being to be too specificTrial and error is very important when it comes to writing testsTry to stay away from really specific testsAsking questions when writing testsHow likely is this going to break and change over time?Write tests as