Skip to main content

WeAreDevelopers Berlin 2026, 120-minute hands-on workshop

GenAI in Testing

Using GitHub Copilot to accelerate quality without losing trust.

Generate unit, API, component and end-to-end tests with Copilot, then learn to spot the ones that pass for the wrong reasons, and build the guardrails that keep your team's suite honest.

calculateDiscount.test.ts
1import { calculateDiscount } from '../../src/services/calculateDiscount';
2
3describe('calculateDiscount', () => {
4  it('SAVE10 deducts exactly 10% of the subtotal', () => {
5    const result = calculateDiscount({ subtotal: 100, code: 'SAVE10' });
6    expect(result.finalTotal).toBe(90);
7  });
8});
Accepted: an exact value, not toBeTruthy()

One system under test, every exercise

  1. User
  2. Cart
  3. Discount
  4. Fraud
  5. Payment
  6. Notification

Your progress

Saved in this browser as you mark steps complete and answer quiz checks.

Who it's for

  • Software engineersSpeed up test creation with Copilot while keeping production-quality standards.
  • QA & test automation engineersSee where GenAI tooling fits into existing automation workflows and quality gates.
  • DevOps & platform engineersGovern AI-generated code and wire quality gates into CI/CD team-wide.

What you'll take away

  • Where Copilot adds value in testing, and where human judgment is still essential
  • Generate and refactor unit, API and integration tests responsibly
  • Review AI-generated tests for false confidence, flakiness and security risks
  • Define guardrails for quality, security and consistency across a team
  • Bring AI-assisted testing into CI/CD without lowering confidence
  • Roll out AI-assisted testing across engineering teams