
If you're interested in getting started with Unit Testing in Vue I have something that is really going to help you out. I have been working on a 3 part series for my friends over at VueMastery In part 1 of the series we talked about what to test and more importantly what not to test.
I am happy to announce that part 2 of this series was released yesterday. Now that you know what to test in your Vue components it's time to write some code. In this article, we dive into writing and running your first tests. In this article you will learn:
- How to add Unit Testing to your project using the Vue CLI
- What are the different libraries you will be using
- Writing your first test
- What is Jest?
- Understanding assertions
- Introduction to Vue Test Utils
- Running your first test
I hope you enjoy this article and if you do please let me know on Twitter and let the team over at VueMastery know that you want me to keep writing for them π
Related Articles
Spring One 2021 Presentation
I'm so honored to be speaking at this year's SpringOne Conference. This article will give you a look ahead to the presentation by explaining what you can expect and the resources from my talk.
Full Stack Java development with Spring Boot and VueJS
In this tutorial, you are going to learn how to build a full-stack application that uses Vue for the frontend and Spring Boot for the backend.
How to force a delay in a web app
In this tutorial, I will show you can force a delay in a web application for testing purposes.