1-hour workshop: Add concrete validation scenarios for the filter feature
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 92/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- documentation, testing-qa
Research direction
Open content/1-hour/4-add-feature.md and review Step 4 and its existing Python test command. Add implementation-agnostic manual checks and API examples for each filter combination, refresh behavior, clearing filters, no results, and pagination. Done means all acceptance cases are documented and the existing Python tests still pass.
Written by the indexing model from the issue text.
Description
Problem
Step 4 tells learners to review the generated code, open the site, run the existing Python tests, and confirm that the functionality works. The current unit tests cover the original dog-list response but do not prove generated breed or availability filtering. The workshop does not give learners concrete expected cases, so an implementation can appear complete while filters are ignored, combined incorrectly, or break pagination.
Because generated solutions vary, behavior-based validation is especially important here.
Suggested change
Add a short manual acceptance checklist and API examples to content/1-hour/4-add-feature.md. Keep it implementation-agnostic.
Acceptance criteria
- Learners verify breed-only filtering.
- Learners verify available-only filtering.
- Learners verify both filters together.
- Changing a control automatically refreshes results as required.
- Clearing filters restores the unfiltered list.
- No-result behavior and pagination/filter interaction are checked.
- The documented Python test command continues to pass.
- Dominant language
- Python
- Stars
- 80
- Forks
- 161
- Avg merge
- 31m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github-samples/pets-workshop
-
priority: P0
Difficulty 2/5 1-2 days Newbie friendliness 78/100
github-samples/pets-workshop#268 · 1 comment ·
-
priority: P0
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
github-samples/pets-workshop#267 · 1 comment ·
-
priority: P1
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
github-samples/pets-workshop#257 · 1 comment ·
-
priority: deferred
Difficulty 4/5 3-5 days Newbie friendliness 45/100
github-samples/pets-workshop#278 · 1 comment ·
-
priority: deferred
Difficulty 4/5 3-5 days Newbie friendliness 68/100
github-samples/pets-workshop#277 · 1 comment ·
All issues in github-samples/pets-workshop
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100