curriculum icon indicating copy to clipboard operation
curriculum copied to clipboard

Test Eventonica with React Testing Library

Open alodahl opened this issue 4 years ago • 1 comments

👉🏾 First time contributing to this repo? START HERE 👈🏾

To be added as a curriculum contributor and be assigned the related issue, please kindly complete our contributor steps in order to have your PR addressing this issue merged.


Introduce testing with React Testing Library (RTL) in eventonica, then guide participants with how to introduce the testing into their project with a walkthrough example, similar to this (no longer used) legacy testing lesson and (no longer used) legacy testing set up instructions.

Page where problem found?

Eventonica Project

Type of problem

Week 9 is an ideal opportunity for participants to practice understanding how to implement testing into their project. The week before they were exposed to testing for the first time. Note that this would come after https://github.com/Techtonica/curriculum/blob/main/testing-and-tdd/jest.md, so they have already had an intro to Jest.

Suggested Solution

  • Add a file (or section) to the updated eventonica project (it may need its own directory)
  • Make changes so that this file’s directions make it easy to add Jest API testing to their eventonica project.
    • Help them understand when to use RTL instead of just Jest.
    • Give them a few examples of tests they could potentially use in their eventonica project, and then try to be explicit about what else they should cover on their own.

See https://github.com/Techtonica/curriculum/issues/1608 for historical context.

alodahl avatar Aug 19 '21 15:08 alodahl