Skip to main content

Prerequisites

⏱ 10 min🟢 Beginner

Before the workshop, make sure you have the tools below installed and a GitHub account with Copilot access enabled. The hands-on exercises assume you can run VS Code with GitHub Copilot active.

What You Need
🐙GitHub Account
activates▸
🤖Copilot Access
powers▸
💻VS Code
hosts▸
⚡Copilot Extension
▸
📦Git
▸
🟩Node.js 22+

Required Tools & Accounts​

Tool / AccountPurposeLink
GitHub AccountRequired to sign in to GitHub Copilot in VS CodeSign up
GitHub Copilot AccessCopilot Free or a paid Copilot plan for full usage in the workshopActivate Copilot
Visual Studio Code (latest)Primary IDE for all hands-on exercisesDownload VS Code
GitHub Copilot ExtensionPrimary VS Code integration for Copilot; Chat is available automatically in current VS Code setupInstall Extension
GitClone the starter repository and manage branchesInstall Git
Node.js 22+Runtime for the sample application and test tools (Jest, Supertest)Install Node.js

Verify Your Setup​

Run these commands to confirm everything is ready before the workshop:

# Git
git --version

# Node.js
node --version # must be 22+
npm --version

# VS Code — open from terminal
code --version
Expected output
git version 2.x.x
v22.x.x (or higher)
10.x.x
1.9x.x (or higher)

Verify GitHub Copilot is Active​

Open VS Code and check the status bar at the bottom. You should see the Copilot icon (a robot/star shape). If it shows a warning, sign in to GitHub via Accounts in the Activity Bar.

# Check Copilot is installed in VS Code
code --list-extensions | grep copilot
Expected output
GitHub.copilot
# Some installs also show GitHub.copilot-chat.
# In current VS Code setup, Copilot Chat access is provided automatically.
💡 Copilot Chat

Current GitHub guidance no longer requires a separate manual Copilot Chat install for VS Code setup. Sign in to GitHub Copilot in VS Code, then verify that chat is available from the Copilot UI before the workshop starts.

Get Your Own Copy of the Starter Repository​

The starter repository is a GitHub template, so you get your own writable copy instead of a fork — needed if an exercise has you push a branch or open a PR. Open github.com/moatazeldebsy/copilot-testing-workshop, click Use this template → Create a new repository, then clone your new copy:

git clone https://github.com/YOUR_USERNAME/copilot-testing-workshop.git
cd copilot-testing-workshop/workshop-exercises
npm install
Expected output
added 412 packages in 8s
📌 Note

The exercises live in the workshop-exercises/folder of the repo above. It contains a small TypeScript REST API with intentionally incomplete test coverage for the hands-on exercises. If you only plan to read along without pushing anything, a plain git clone of the original repo works too.

No Local Setup? Use GitHub Codespaces​

If Node.js, npm, or VS Code aren't cooperating on your machine, skip local setup entirely. On your own copy of the repo, click Code → Codespaces → Create codespace on master. The container builds in about 1–2 minutes, installs dependencies and the Playwright browser automatically, and opens VS Code in the browser with workshop-exercises/ as the working folder and GitHub Copilot pre-installed.

npm run dev:api # backend on port 4000
npm run dev # frontend on port 3006
📌 Note

Codespaces forwards ports 3006 and 4000 automatically; a notification will offer to open them in your browser.

Knowledge Prerequisites​

AreaExpected Familiarity
Unit, API & integration testingBasic understanding of what each test type does
TypeScript / JavaScriptComfortable reading and writing basic code
GitClone, branch, commit
CI/CD basicsAwareness of pipelines and automated checks
GitHub CopilotNo prior experience required — we start from scratch

🏋️ Pre-Workshop Check​

Open the starter repo in VS Code and create a new TypeScript file. Start typing a function — does Copilot suggest a completion? If yes, you are all set!

HintCopilot not suggesting anything?

Try these steps:

  1. Click the Copilot icon in the status bar and check it says Ready
  2. Sign out and sign back in via Accounts → GitHub
  3. Open the Command Palette (Cmd+Shift+P) and run GitHub Copilot: Enable
  4. Restart VS Code
Done with this step? Mark it to track your progress.