Introduction This is the third tutorial in our series on testing a React and Redux application with AVA. In this tutorial, we will build the actual UI for our todo application using React. We’ll connect our React components to the Redux store, test them using AVA and Airbnb’s Enzyme, and see how React makes it […]
Matija Marohnić

Testing Common Redux Patterns in React Using AVA
Introduction This is the second tutorial in our series on testing React and Redux applications. If you haven’t read the first part, we encourage you to do so. Redux is a library for managing state in React applications. Since the code using Redux is composed of many small pieces, it’s very easy to test it. […]
Getting Started with Create React App and AVA
Introduction In React codebases, you can cover a lot of ground using just unit tests because the code is mostly universal. In this tutorial, you will learn how to unit test a simple todo application built with React and Redux using AVA. We will use AVA’s modern design to write tests using the latest JavaScript […]
Setting Up an End-to-End Testing Workflow with Gulp, Mocha, and WebdriverIO
Introduction Manual testing is usually slow, tedious and error-prone, which is why end-to-end testing is important — we need a way to automate testing across different browsers and platforms. In this tutorial, we will learn how to set up end-to-end testing with Selenium and write a simple test checking if the page title of our […]