Coder Social home page Coder Social logo

zlarkisz / testing-vue.js-components Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 106 KB

Learn everything you need to know to test your Vue.js components like a pro!

JavaScript 11.95% CSS 4.59% HTML 79.03% Vue 4.43%
jest jest-dom jest-serializer jest-snapshot jest-snapshots vue-jest vue-jest-util vuejs

testing-vue.js-components's Introduction

Testing Vue.js Components

This repository contains the the starting point of the Testing Vue.js Components course.

Learn how to test your Vue.js components like a pro with Jest and the official unit testing library for Vue.js - Vue Test Utils

In this course, you’ll learn everything you need to know to write proper unit tests for your Vue components.

Not sure how to mount and render your component to perform assertions. Not sure what you should and shouldn't test? Or how to test a specific thing? This course is for you!

By the end of this testing course you will know

  • Which tools are required for an efficient testing workflow
  • How to mount and render your Vue components
  • How to programmatically interact with your components through Vue Test Utils
  • How to test computed properties and watchers
  • How to test Vue.js lifecycle methods
  • How to traverse the DOM and test …
  • How to stub child components
  • How to test that a Vuex Store is injected properly

You need a basic understanding of testing in JavaScript and Jest. We recommend watching JavaScript Testing Fundamentals and Test with Jest if you're not already familiar with the topics.

Click here to watch the testing course.

testing-vue.js-components's People

Contributors

codebryo avatar rahaug avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.