Testing with Jest in WebStorm

Jest, the testing platform developed by Facebook, is becoming more and more popular with each day, especially for testing React applications. Jest is fast, easy to get started with, and has lots of features (such as snapshot testing and test coverage) available out of the box…. Source: https://blog.jetbrains.com/webstorm/2018/10/testing-with-jest-in-webstorm/

How to Test React Components using Jest and Enzyme

I’ve made a simple search app which calls to the Guardian API to retrieve articles and display the results to the user. First I will show you the functional app code, followed by unit tests and then followed by integration tests…. Source: https://blog.bitsrc.io/how-to-test-react-components-using-jest-and-enzyme-fab851a43875

Testing vue-apollo Components with Jest

Recently I’ve been working on some tests for Vue single-file components with vue-apollo queries and mutations. Unfortunately, there are not so many guides on the topic so I decided to share my experience…. Source: https://dev.to/vuevixens/testing-vue-apollo-components-with-jest-3gj3

Testing Components in React Using Jest and Enzyme

This is the second part of the series on Testing Components in React. If you have prior experience with Jest, you can skip ahead and use the GitHub code as a starting point.  In the previous article, we covered the basic principles and ideas behind test-driven development…. Source: https://code.tutsplus.com/articles/testing-components-in-react-using-jest-and-enzyme–cms-31602

Test Driven Development 101 and JS testing

Test Driven Development Cycle TDD Cycle: Write a test case which will obviously fail in the beginning. Do not have more than one failing test case at a time. Implement the simplest algorithm first, then generalise it when you identify some patterns…. Source: https://dev.to/leanminmachine/test-driven-development-101-and-js-testing-4clm

End-to-end testing React apps with Puppeteer and Jest

In this tutorial, we’ll see how to write tests for a React app using Jest and Puppeteer. Testing is an important part of modern web application development, it helps to check if the code you wrote is acceptable and works as accepted…. Source: https://blog.logrocket.com/end-to-end-testing-react-apps-with-puppeteer-and-jest-ce2f414b4fd7