alpha

Lays down QA engineering rules for test strategy, the test pyramid, naming, assertions, bug reports and automation, with a review checklist.
applyTo: '**'
description: 'Comprehensive QA engineering best practices covering test strategy, test pyramid, naming conventions, assertion patterns, bug reporting, and automation guidelines for modern software projects.'
A structured set of instructions for GitHub Copilot to assist with quality assurance engineering tasks including test design, automation, and defect management across any technology stack.
Follow the test pyramid to balance coverage, speed, and maintenance cost:
| Layer | Scope | Quantity | Speed |
|-------|-------|----------|-------|
| Unit | Single function / class | Many (60–70 %) | Milliseconds |
| Integration | Module boundaries, DB, API contracts | Moderate (20–30 %) | Seconds |
| End-to-End | Full user journey across UI + backend | Few (5–10 %) | Minutes |
Use the Given / When / Then (GWT) or should_doX_whenY pattern consistently.
// Good – describes scenario, action, expected result
test('should return 404 when product id does not exist')
test('given an expired token, when the user calls /me, then it returns 401')
// Bad – vague, implementation-focused
test('test1')
test('check user')
describe / context blocks named after the unit under test.it or test for individual cases.toContain, toBeGreaterThan, toMatchObject).expect(result).toBe(42) not expect(result).toBeTruthy()).// Good
expect(response.status).toBe(200);
expect(response.body.items).toHaveLength(3);
// Avoid
expect(response).toBeTruthy();
expect(response.body).not.toBeNull();
role → label → test-id → text.sleep / fixed waits; use explicit waits on element state (visible, enabled, network idle).A good bug report includes:
[Checkout] Order total is incorrect when coupon is applied).Before approving a PR that changes tests:
sleep, Thread.Sleep, or arbitrary timeouts.© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com


Woman stares blankly into open refrigerator
Generates a 30-second, 12-shot candid home-video montage of a woman in her messy apartment with her dog, with Korean dialogue, handheld drift and detailed ambient sound.
video-prompt, reference-image, face-reference, character-consistency, timed-beats, multi-shot, handheld, home-video, film-grain, candid, lip-sync, animals, pet-care, natural-light, camera-movement, humorous, casual, woman, korea, structured-output, long-form, vlog, cozy

Woman walks golden retriever in analog vlog
Generates a handheld analog-style morning vlog of a woman walking her golden retriever, with scripted spoken lines and camera placement notes.
video-prompt, seedance, vlog, handheld, film-grain, lip-sync, home-video, pov, selfie, camera-movement, animals, pet-care, cozy, candid, natural-light, golden-hour, woman, structured-output, for-content-creators, long-form, casual, character-design, short-film

Nine Christmas portraits of one fluffy dog
Makes a 3x3 grid of nine hyperrealistic Christmas portraits of the same dog from a reference photo, in trees, snow, studio and cozy indoor scenes.
image-prompt, nano-banana, reference-image, pet-portrait, christmas, holiday, animals, multi-panel, photorealistic, cinematic, soft-lighting, winter, cozy, social-media-graphic, invitation, vertical-format, vibrant-colors, dramatic-lighting, studio-lighting, for-families, pet-care, long-form, bokeh, food-photography
Loading reviews…
Loading comments…