Coder Social home page Coder Social logo

testingreact.dev's Introduction

The React Testing Masterclass

Hi there 👋. My name is Kati Frantz and this is source material for The React Testing Masterclass. Thank you very much for visiting this repository. If you haven't joined the course yet, please visit Testing react to enrol for free.

System requirements

You should be able to verify all these are installed correctly using:

node --version
yarn --version
git --version

Setup

Please go through the following steps to run this project locally:

  • 1️⃣ Clone this repository with the command git clone https://github.com/bahdcoder/testingreact.dev
  • 2️⃣ Install all the dependencies using yarn install.
  • 3️⃣ Start the project in development mode using yarn dev.

Before you watch the first lesson

The lessons in this course are structured in cases. All tests are in the src/__tests__/ folder. The test cases are:

  • 1️⃣ case-1-Checkbox.test.tsx Tests for a custom checkbox component
  • 2️⃣ case-2-ProductTile.test.tsx Tests for the product tile component
  • 3️⃣ case-3-Header.test.tsx Tests for the page header
  • 4️⃣ case-4-ProductStream.test.tsx Tests for the product grid
  • 5️⃣ case-5-FiltersWrapper.test.tsx Tests for the context wrapper for filters
  • 6️⃣ case-6-useFilters.test.tsx Tests for the useFilters custom hook
  • 7️⃣ case-7-useOutsideClick.test.tsx Tests for the useOutsideClick custom hook

To follow along the course,

  • Start by watching the first lesson.
  • Before each lesson, have a look at the case file for that lesson, and attempt writing the test.
  • Proceed to watching the lesson to learn my solution

testingreact.dev's People

Contributors

bahdcoder 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.