Lamin Sanneh
  • Home
  • About
  • Recent Work
  • Recent Posts
  • Experiences
  • More
    Education
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
  • Categories
  • ASP .Net
  • Devops
  • GoLang
  • Javascript
  • Laravel
  • React.js
  • Self Improvement
  • Testing
Hero Image
Playwright and React.js Typescript Todo App Automated End to End Testing with Vite

Introduction In this tutorial, we’ll create a simple Todo app using React.js and TypeScript, initialized with Vite, and then we’ll write tests for it using Playwright. We will use playwright to do an end to end test which will simulate the user browser interaction with our todo app like adding new todos, deleting todos, upadtinhg todos e.t.c. By the end of this guide, you’ll have a solid understanding of how to use Playwright to test your React applications.

    Tuesday, July 9, 2024 | 7 minutes Read
    Hero Image
    React.js Typescript Todo App Testing with Jest and React Testing Library and Vite

    Introduction In this tutorial, we shall setup Jest and React Testing Library to perform integration test. We will be testing React.Js components, so this will not be an end to test, but we will be testing the individual coponents involved in the Todo App. At each stage, we will render the components invovled using the library functions provided by React Testing Library. We shall pass in properties to each component and test their behavious and visualisation by simulating clicks and text typing into textboxes using the appropriate functions.

      Sunday, June 30, 2024 | 8 minutes Read
      Navigation
      • About
      • Recent Work
      • Recent Posts
      • Experiences
      • Education
      Contact me:
      • lamin.evra@gmail.com

      Toha Theme Logo Toha
      © 2024 Copyright.
      Powered by Hugo Logo