Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #2112 - Creates comparing testing frameworks outline #2129

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 90 additions & 0 deletions testing-and-tdd/compared-testing-frameworks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Comparing Testing Frameworks

**Projected Time**

Example: 30-45 minutes

- Lesson: ? min
- Guided Practice: ?-? min
- Independent Practice: ? min
- Check for Understanding: ?-? min

**Prerequisites**

Here are topics that should be understood before this topic:

- Example: [Git version control](https://github.com/Techtonica/curriculum/blob/efc365aba1bf1ea425060369751d2bc048174b22/git/git-version-control.md)

**Motivation**

Why it is worth learning this topic

- Older versions of section included companies using the tech - this is not helpful and tends to get laughably outdated
- Include links to future lessons/work this will help with - this will plant the seed later
- How does fit this tool fit into the ecosystem or full stack architecture? (if applicable)
- If a fellow engineer asked about this tool/technique, what would your succinct answer be?

**Objectives**

**Participants will be able to:**

- Differentiate between testing frameworks (e.g., RTL, Jest, Vitest, Supertest, etc.)
- Understand the various use cases for each testing framework

**Specific Things To Learn**

- What is the difference between unit and integration testing?
- What makes up a test suite?

**Materials**

- [Example video (10 min)](https://google.com/) - Write a very short description of this resource.
- [Other example article(20 min read)](https://google.com/) - Answer the 3 questions at the end. (Be sure to explain how to use these materials in directions in one of the sections below (ie: lesson, guided practice). If you are not assigning them somehow, they should be placed under Supplemental Materials at the bottom.)

**Lesson**

Here's text about introducing something and how it works.

- [Be sure to link the slideshow, video,](https://google.com/)
- [or other materials you expect them to follow as part of the lesson.](https://google.com/)

Build on the first information. Have participants make guesses, do an activity, etc.

Make sure to mention these things:

- Things - This is a sub-thing
- More things
- Even more things
- Even more things

**Common Mistakes & Misconceptions**

List things that learners might not realize, might assume at first, or should avoid.

- Example
- Example

**Guided Practice**

Have the participants work with you as you do something step-by-step. This can also be fulfilled by a detailed tutorial intended for beginners.

**Independent Practice**

Class does this thing themselves with specific additional items. This could be alone, with a partner, or small group; but the idea is that it's less guided, more independent.

**Challenge**

Participants can try to do this other thing. Ideally, they will be challenged to connect what they've learned to some previous knowledge or additional research.

**Check for Understanding**

Some ideas: have participants summarize to each other, make a cheat sheet, take a quiz, do an assignment, or something else that helps them self-assess their understanding. This exercise should help participants determine whether they've met the outline objectives, or if they need to review.ss

**Supplemental Materials**

- 🎦 [Intro to Jest: Object & API Testing](https://www.dropbox.com/scl/fi/anmkgxuntp8uvlyduzpic/IntroToJestObject-ApiTesting.mp4?rlkey=smzcsizwb1legmhml4xolc72h&dl=0)
- 🎦 [Jest Super Test Integration API Request Testing](https://www.dropbox.com/scl/fi/94h7u58t27zj55teusajo/JestSupertestIntegrationApiRequestTesting.mp4?rlkey=bap50gvtjsmxjt0gasczg3d7a&dl=0) with volunteer Cristina Rodriguez (she/her)

### Type of problem

It may not be clear to participants when to use the various testing frameworks.