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

Panel:

  • Divya Sasidharan
  • Chris 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.js
  • Jest
  • Have you used other tools other than Jest?
  • Mocha
  • What attracted you to Jest?
  • Define TDD and unit tests
  • What are examples of not helpful uses for TDD and unit tests?
  • How to know when a test is being to be too specific
  • Trial and error is very important when it comes to writing tests
  • Try to stay away from really specific tests
  • Asking questions when writing tests
  • How likely is this going to break and change over time?
  • Write tests as a way to self-document your own code
  • Write tests for your future self
  • Vue Test Utils
  • Resources for people getting into Jest
  • Testing Vue course
  • Jest documentation
  • What is Vue Test Utils?
  • Have you worked with headless browsers?
  • When wouldn’t you want to do TDD?
  • And much, much more!

Links:

Picks:

Chris

Divya

Nick

Special Guest: Nick Basile.



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

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

2356 232

Suggested Podcasts

Clare Goodwin

LearnOutLoud.com

ALLCITY Network, PHLY Sports

My Cultura, Radio Ambulante and iHeartPodcasts

Dan Gheesling a Northernlion

Stereo Confidential

Auf die Ohren GmbH

Shubham Kumar Swaraj

Nikita