curriculum
curriculum copied to clipboard
Create and add vitest to testing lessons
👉🏾 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.
Participants are learning to work with the react + vite version of spinning up an application. With that in mind, we should have a lesson that is inclusive of the new create-react-app replacement's testing as well.
Create and add a vitetest
lesson with a similar outline as the other test lessons. Include the following:
Week 8 Questions:
- How do you run vitest tests in the command line?
- How do you run test coverage with vitest in the command line, and what does the output mean?
- Give an example of a test assertion.
Prerequisites: Intro to Testing and TDD Motivation - give some context about why should participants learn vitest and where / when is vitest being used? Objectives Specific Things to Learn Application Lesson Supplemental Materials
Page where problem found?
Type of problem
Adding content about a new testing technology - vitest
Suggested Solution
Create a lesson with a small testing activity to help participants have exposure to the technology and apply it during week 8's testing curriculum.