Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Write Tests for Your Gatsby Sites and Apps With Kent C. Dodds - Learn With Jason

Learn With Jason via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to implement a robust testing strategy for Gatsby sites and apps in this comprehensive 1 hour 32 minute tutorial featuring Kent C. Dodds. Explore essential testing concepts, including the Gatsby Testing Trophy, precommit hooks, and local testing setup. Install and configure Cypress for end-to-end testing, write effective tests that adapt to changes, and create smoke tests. Dive into React Testing Library for component testing, and learn to test subscribed forms and import React elements. Master the process of adding lint rules, configuring test scripts, and troubleshooting common errors to ensure your Gatsby projects are reliable and high-quality.

Syllabus

Intro
Welcome
About Kent
Workshops
Hooks
Gatsby Starter Kit
Gatsby Testing Trophy
Precommit Hook
Testing Locally
Installing Husky
Why is git get useful
Running the test
Running the test in prettier
Git Push
Testing Trophy
Installing Cypress
What is Cypress
Viewing test results
Gatsby project configuration
Deleting files
Dynamic variables
Adding commands
Importing commands
Writing tests early
Writing tests that dont have to change
Adding a smoke test
Testing framework
Test name
Run test
Verify about
Smoke testing
Get by text
Get text
Add lint
Add es
Commit
Add more pages
No JavaScript errors
React Testing Library
Testing a subscribed form
Importing React elements
Passing tests
Adding a test script
Changing the test directory
Running into an error

Taught by

Learn With Jason

Reviews

Start your review of How to Write Tests for Your Gatsby Sites and Apps With Kent C. Dodds - Learn With Jason

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.