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 a way to self-document your own codeWrite tests for your future selfVue Test UtilsResources for people getting into JestTesting Vue course Jest documentationWhat is Vue Test Utils?Have you worked with headless browsers?When wouldn’t you want to do TDD?And much, much more! Links: Vue.jsJestMochaVue Test UtilsTesting Vue courseJest documentationVue Enterprise BoilerplateNick’s GitHubNick-Basile.com@NickJBasile Picks: Chris Bobiverse Book SeriesMarble Olympics Divya Sarah Drasner PostRick Bayless's Mexican Granola Mix Nick Refactoring UIToast of LondonVue Fundamentals course coming soon on VueSchoolSpecial Guest: Nick Basile.

Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Twitter Mentions