Skip to main content
beginner

Git for Test Engineers: From Basics to Team Collaboration

The Git a test engineer actually needs: commit test code cleanly, work on branches, resolve conflicts in test code, review tests in pull requests, run them on every push, and recover when something goes wrong.

💡 Why this course

Test code is code. It lives in the same repository as the product, changes with every feature, and breaks when two people edit the same page object. This course teaches the part of Git you use every week as a test engineer, with test automation examples throughout, and leaves out what you will never need.

🎯 What you will learn

  • Module 1, Git basics for test code: why test code belongs in Git, the three areas, and commits that contain one change each.
  • Module 2, Branches and merging: feature branches for new tests, merge types, when to merge and when to rebase, and resolving conflicts in test code, configuration and test data.
  • Module 3, Working in a team: remotes, pull requests and code review for test code, and tests that run on every push.
  • Module 4, Recover and release: undoing changes, rescuing lost work with the reflog and cherry-pick, and tagging test suite versions with the product.

⏱️ Time

About 6 hours.

📋 Prerequisites

  • Basic command line familiarity
  • Git installed and a free GitHub account
  • An editor such as VS Code

➡️ Next

Continue with Testing Salesforce if you test a Salesforce org, or with Python for Testers on the learning path.

Course Info

Level
beginner
Modules
4
Lessons
13

Skills

version control git collaboration

Tools

Git GitHub GitLab