Coding · Grade 10
Version Control, Tests and Collaboration
Learners work like a software team on a club-booking app: they use feature branches, pull requests and merges and resolve merge conflicts deliberately; write independent Arrange-Act-Assert unit tests and require tests before approving changes; give and respond to specific, kind and actionable code reviews; and use continuous integration to stop regressions reaching the main branch.
- 4 lessons
- About 90 minutes
- Check what you learned: 8 questions
- Ways to answer: choose an answer, trace code, highlight a text, match pairs, type a number and put in order
What learners will discover
- Use a feature-branch workflow and resolve merge conflicts by deciding the intended result.
- Write independent Arrange-Act-Assert unit tests and design test suites to require before approving changes.
- Give and respond to specific, kind and actionable code-review comments and decide what should block a merge.
- Explain continuous integration and use failing builds and regression tests to protect the main branch.
Lessons
-
Branches and merges 6 steps3 practiceabout 22 min
-
Unit tests a team can rely on 4 steps2 practiceabout 22 min
-
Code review 5 steps3 practiceabout 20 min
-
Continuous integration 4 steps3 practiceabout 18 min
-
Check what you learned 8 questions at the end
Keep exploring
More 10th grade coding
- 10th Grade Coding Worksheets11 printable worksheets
Guide for grown-ups
- How to start homeschooling: a step-by-step guide for familiesA guide for parents · 7 min read