The Testing Academy · Masterclass

GitHub Copilot for QA.

A practical Session 1, Part 1 learning page for QA engineers and SDETs: install Copilot, learn the core commands, map SDLC and STLC workflows, and create reusable skills for test plans, test cases, Jira-ready bug reports, and MCP-assisted context.

Host
Pramod Dutta
Track
QA + AI Workflow
Audience
QA / SDET
Project
STLC Skills Pack

The 30-minute pitch

Four things students walk away able to do today.

Setup

Install and verify Copilot

Set up Copilot in VS Code, sign in, open a test repository, and confirm chat plus inline suggestions work.

Commands

Use the right command surface

Pick between slash commands, context variables, participants, CLI commands, skills, and MCP based on the QA task.

Workflow

Apply Copilot across SDLC and STLC

Keep the tester in control while Copilot drafts, explains, compares, and checks artifacts across each stage.

Skills

Create reusable QA skills

Build three copy-ready skills for test planning, test case design, and Jira-ready defect reporting.

Setup

Installation cheat sheet

StepWhat to doVerification
AccountConfirm GitHub account and paid Copilot access.Copilot is enabled for the user or organization.
VS CodeInstall the GitHub Copilot extension and sign in.Copilot icon and chat are visible in VS Code.
WorkspaceOpen a repository with source, docs, tests, or a sample app.Copilot can reference active files and selected text.
First promptAsk Copilot to explain a feature and suggest test areas.The response uses current project context.
Optional CLIInstall the official Copilot CLI, then run copilot login.copilot version returns installed version information.
GovernanceCheck organization policies, MCP approvals, and classroom data rules.Students know what can and cannot be shared.

Surfaces

Where Copilot fits in the QA workflow

Inline

Inline suggestions

Small edits while writing assertions, fixtures, helpers, page objects, or test data builders.

Chat

Copilot Chat

Explain behavior, brainstorm coverage, create artifact drafts, and compare test approaches.

Agent

Edit or agent mode

Make multi-file changes, add tests, update fixtures, and iterate on local failures.

CLI

Terminal workflow

Use commands when working from repos, diffs, test output, MCP, permissions, or skill loading.

Skills

Reusable instructions

Package repeated QA jobs such as test plans, test cases, and bug reports.

MCP

Jira context

Bring issue descriptions, acceptance criteria, comments, fields, links, and labels into the task.

Animated Concepts

Explain each concept one step at a time

Use this walkthrough while teaching. Each step highlights the input, Copilot surface, human review point, artifact, and classroom action for the concept.

InputStory, repo, issue, failure, or resume.
CopilotPrompt, command, skill, or MCP context.
ReviewTester checks risk, traceability, and evidence.
ArtifactPlan, cases, bug, spec, or roadmap.
ActionTeach, run, publish, or improve safely.
Verify Context First prompt

Copilot setup and first context

Students first verify access, extension, repository context, and a small prompt before asking Copilot to create bigger QA artifacts.

  • Confirm account, extension, and workspace access.
  • Open a real repo or sample app before asking for QA help.
  • Use one small explain or risk prompt to confirm context.
Teaching prompt
Explain this selected login requirement and list the top QA risks before creating any test cases.

Commands

VS Code slash command cheat sheet

CommandOne-line useQA or STLC example
/clearStart a fresh chat session.Begin a new module or requirement.
/explainExplain selected code or active editor logic.Understand validation before testing it.
/fixSuggest a fix for selected code problems.Repair a failing assertion or helper.
/fixTestFailureFind and fix a failing test.Diagnose CI or local test failure.
/helpShow quick reference and Copilot basics.Reset the classroom when lost.
/newCreate a new project scaffold.Build a tiny demo app for testing.
/testsGenerate tests for selected code.Draft unit or API test coverage.

Context

Variables and participants

VariableOne-line use
#fileCurrent file contents.
#selectionSelected text.
#functionCurrent function or method.
#classCurrent class.
#projectProject context.
#pathFile path.
ParticipantOne-line use
@workspaceUse repository structure and project context.
@terminalUse terminal shell and output context.
@vscodeAsk about VS Code commands and features.
@githubUse GitHub-specific Copilot skills.
@azureUse Azure service context when available.
Prompt pattern
@workspace using #selection, identify test scenarios and missing edge cases for this story.

Terminal

Copilot CLI command cheat sheet

CommandOne-line use
copilotLaunch the interactive Copilot CLI.
copilot loginAuthenticate with Copilot.
copilot initInitialize Copilot instructions for the repository.
copilot mcpManage MCP server configurations.
copilot pluginManage plugins and plugin marketplaces.
copilot completion SHELLGenerate shell completion for bash, zsh, or fish.
copilot help [TOPIC]Display CLI help or topic help.
copilot updateDownload and install the latest version.
copilot versionShow version information and check updates.

Skills

Skill and MCP command cheat sheet

GitHub CLI skill commandOne-line use
gh skill search TOPICFind skills by topic.
gh skill preview OWNER/REPO SKILLInspect a skill before installing.
gh skill install OWNER/REPOBrowse and install from a repository.
gh skill install OWNER/REPO SKILLInstall one specific skill.
gh skill updateCheck or update installed skills.
gh skill publishValidate and publish skills.
CLI session commandOne-line use
/skills listShow loaded skills.
/skills info NAMEInspect a loaded skill.
/skills add PATHAdd a skill directory.
/skills reloadReload skills after edits.
/mcp showShow configured MCP servers.
/mcp auth NAMEAuthenticate an MCP server.
/envShow instructions, MCP, skills, and plugins.

SDLC

Where QA uses Copilot without losing ownership

1

Requirements

Summarize stories, detect ambiguity, ask acceptance criteria questions.

2

Design

Review flows, data rules, API contracts, and dependency risks.

3

Development

Explain code, suggest unit tests, generate mocks, flag edge cases.

4

Testing

Create test plan, cases, data, automation drafts, and regression notes.

5

Release

Summarize risk, prepare test report, verify defects, review release notes.

6

Maintenance

Analyze production defects, improve regression pack, update skills.

STLC

Turn every testing stage into an artifact

STLC 1

Requirement analysis

Ambiguities, assumptions, acceptance gaps.

STLC 2

Test planning

Scope, strategy, risks, entry and exit criteria.

STLC 3

Test case design

Scenarios, cases, data, automation candidates.

STLC 4

Environment setup

Config, users, browsers, data readiness.

STLC 5

Execution

Run log, evidence, pass/fail, blockers.

STLC 6

Defect reporting

Bug report, impact, severity, Jira fields.

STLC 7

Closure

Summary, coverage, residual risk, lessons learned.

Traceability thread: requirement → scenario → test case → execution evidence → Jira defect → closure report.

Example

Login story to STLC artifacts

User story

Registered user login

As a registered user, I want to log in with email and password so I can access my dashboard.

Acceptance criteria: valid login works; invalid password fails; locked user is blocked; session expires after inactivity.

1

Ask for risk review

Identify missing acceptance criteria, edge cases, and security risks.

2

Generate test plan

Create scope, test types, environment, data, and entry/exit criteria.

3

Generate test cases

Positive, negative, boundary, role-based, session, accessibility, and regression.

4

Draft bug report

Turn failed evidence into Jira-ready defect fields.

Copy prompt
Using this story, create the STLC artifacts: assumptions, test plan, test cases, execution notes, and Jira-ready bug report format. Keep each artifact traceable to acceptance criteria.

Skill anatomy

How to create a GitHub Copilot skill

.github/skills/qa-test-plan/
  SKILL.md
  examples/
  templates/

~/.copilot/skills/qa-test-plan/
  SKILL.md
PartWhat it controls
DirectoryWhere Copilot discovers the skill.
SKILL.mdRequired Markdown instruction file.
nameLowercase unique skill identifier.
descriptionWhen Copilot should use the skill.
Markdown bodyProcess, rules, output format, examples.
ResourcesOptional templates, examples, or scripts.

Skill 1

QA test plan skill

Skill file

workshop-assets/skills/qa-test-plan/SKILL.md

Ask for scope, risks, platforms, timelines, and owners. Create objective, scope, strategy, environment, data, entry criteria, exit criteria, risks, and approvals.

Prompt
Create a QA test plan for Jira story PROJ-142. Use linked epic, acceptance criteria, comments, and attachments if available. Highlight assumptions and risks.

Skill 2

QA test cases skill

ColumnMeaning
IDUnique case identifier.
ScenarioBehavior under test.
PreconditionRequired state before steps.
StepsActions a tester follows.
Test DataInputs, users, roles, records.
Expected ResultObservable expected outcome.
Priority / TypeRisk and coverage category.
Automation CandidateYes, No, or Later with reason.
Prompt
Create manual and automation-ready test cases for Jira story PROJ-142. Include positive, negative, boundary, and regression cases.

Skill 3

QA bug report skill with Jira MCP

Bug fields

Jira-ready structure

Title, summary, environment, preconditions, steps to reproduce, actual result, expected result, evidence, impact, severity, priority, workaround, suspected area, regression notes, and Jira fields.

MCP-aware rule

Use Jira context before drafting

Check duplicates, linked stories, components, labels, comments, release fields, and related issues before preparing the report.

Prompt
Create a Jira-ready bug report from these notes and check duplicates before drafting: checkout accepts an expired card and shows success.

Jira MCP

Jira MCP workflow for QA artifacts

1

Connect

Install or configure approved Jira/MCP access.

2

Read issue

Pull title, description, acceptance criteria, comments, labels, and fields.

3

Use skill

Invoke test plan, test cases, or bug report instructions.

4

Review

Validate assumptions, severity, priority, and traceability.

5

Publish

Create or update Jira only after human approval.

{
  "mcpServers": {
    "atlassian": {
      "type": "http",
      "url": "https://mcp.atlassian.com/v1/sse"
    }
  }
}
Teaching guardrail: Do not let students blindly submit issues. First ask Copilot to summarize the Jira fields it would populate, then review duplicates, evidence, and severity with the class.

Governance

Classroom guardrails

Data

Keep sensitive data out

Use synthetic stories, test data, screenshots, and logs unless sharing is explicitly approved.

Review

Human approves output

Students review assumptions, severity, priority, and traceability before using artifacts.

Install

Trust skills and MCP tools

Preview skills and approve only trusted MCP servers or shell tools.

Lab

Build the full STLC pack with skills

A

Requirement review

Use project and Jira context to list ambiguity, assumptions, and acceptance gaps.

B

Test plan

Run qa-test-plan and produce scope, approach, risks, criteria, and deliverables.

C

Test cases

Run qa-test-cases and produce executable cases plus automation candidates.

D

Defect workflow

Use qa-bug-report on a seeded failure and prepare Jira fields.

E

Closure

Summarize coverage, blocked areas, residual risk, and lessons learned.

Deliverable

One STLC pack

Assumptions, test plan, test case table, bug report draft, and closure summary.

Sources

Official references used

ReferenceURL
GitHub Copilot Docshttps://docs.github.com/en/copilot
Copilot Chat cheat sheethttps://docs.github.com/en/copilot/reference/chat-cheat-sheet
Install Copilot extensionhttps://docs.github.com/en/copilot/how-tos/set-up/installing-github-copilot-in-your-environment
VS Code Copilot overviewhttps://code.visualstudio.com/docs/copilot/overview
Copilot CLI command referencehttps://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-command-reference
Adding agent skillshttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-cloud-agent/add-skills
Copilot cloud agent with Jirahttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/cloud-agent/integrate-cloud-agent-with-jira

Practice MCQs

10 important questions for live recap

Use these as the closing check. Answers stay hidden during teaching and open only when you expand each item.

01
Before asking GitHub Copilot to generate QA artifacts, what should students verify first?
A. Copilot is installed, signed in, and the correct workspace/context is open.
B. The browser cache has been cleared.
C. The Jira board has at least ten bugs.
D. The test cases are already automated.
Show answer

Answer: A. Copilot needs the right extension, account, repository, files, and context before it can produce useful QA output.

02
Which Copilot context variable is most useful when you want Copilot to work only on highlighted text?
A. #terminalLastCommand
B. #selection
C. #changes
D. #codebase
Show answer

Answer: B. #selection tells Copilot to use the currently selected text as the main context.

03
In STLC, which activity usually follows requirement analysis?
A. Test planning
B. Production deployment
C. Performance tuning
D. Resume screening
Show answer

Answer: A. After understanding requirements, QA defines scope, approach, risks, resources, entry criteria, and exit criteria in the test plan.

04
Why should a bug report separate severity and priority?
A. Severity explains business impact; priority explains scheduling urgency.
B. Severity is only for UI bugs; priority is only for API bugs.
C. Both fields always have the same value.
D. Priority replaces steps to reproduce.
Show answer

Answer: A. A defect can be severe but low priority, or less severe but urgent for a release, so both dimensions matter.

05
What is a GitHub Copilot skill in this workshop context?
A. A reusable instruction package that guides Copilot for a specific task.
B. A new programming language for writing tests.
C. A Jira workflow status.
D. A browser plugin for screenshots only.
Show answer

Answer: A. A skill gives Copilot repeatable role, context, output format, checks, and constraints for tasks such as test plans or bug reports.

06
What is the safest way to use Jira MCP while creating QA artifacts?
A. Read Jira context, draft the artifact, review it, then publish only after approval.
B. Let Copilot submit all bugs without review.
C. Ignore acceptance criteria and use only the issue title.
D. Replace Jira fields with free-form notes.
Show answer

Answer: A. MCP is powerful for context, but students should still validate assumptions, duplicates, evidence, fields, and impact before publishing.

07
When generating Playwright test cases, which locator style should be preferred first?
A. User-facing locators such as role, label, text, and test id when agreed.
B. Random CSS chains copied from DevTools.
C. Screenshot coordinates.
D. Any locator that passes once locally.
Show answer

Answer: A. Accessible, user-facing locators make tests easier to read and less brittle than long CSS or XPath selectors.

08
What should a Playwright healer skill do before changing test code?
A. Diagnose the failure and classify whether it is app, data, timing, selector, or assertion related.
B. Delete the failing test.
C. Increase every timeout to five minutes.
D. Replace all checks with screenshots.
Show answer

Answer: A. Healing should start with evidence and root-cause classification so the fix improves reliability instead of hiding a real issue.

09
In a Copilot-generated test case table, what does the automation candidate field help decide?
A. Whether the case should be automated now, later, or kept manual, with a reason.
B. Which developer owns the feature.
C. Which color should appear in the dashboard.
D. Whether the bug is already fixed.
Show answer

Answer: A. It helps QA prioritize automation based on stability, repeatability, risk, test data, and business value.

10
Which type of information should students avoid inventing when using Copilot?
A. Requirements, evidence, Jira fields, user impact, resume experience, and production facts.
B. Formatting choices for a table.
C. Suggested edge cases clearly marked for review.
D. Draft wording that a human will review.
Show answer

Answer: A. Copilot can draft and organize, but factual claims must come from real requirements, evidence, logs, Jira data, or the student's true experience.