Traditional workflow
Before generative AI assistance- 1
Clarify the goal using a price calculation function and its specification
- 2
Identify equivalence classes
- 3
Write assertions and boundary cases
- 4
Run tests and inspect failures
- 5
Check the result against the agreed criteria
- 6
Communicate the outcome and record the decision
AI-assisted workflow
AI contributes. You guide and verify.- 1
Define the goal, constraints, and permitted information
- 2
Provide relevant, sanitized context from a price calculation function and its specification
- 3
Ask AI to draft unit tests and propose missing cases
AI + YOU - 4
Inspect suggestions against original evidence and domain rules
- 5
Revise the output and independently validate the result
YOU - 6
A responsible professional approves and communicates the outcome
Do the tests assert the specification rather than repeat the implementation?
The shift: Reviewing, validating, and integrating AI-generated code. Foundational skills still matter.
A practical learning path for Software Engineering.
What changes — and what doesn’tSkills & responsibilities
Draft unit tests and propose missing cases. The output is a starting point to inspect, not a decision to accept automatically.
Validate correctness, choose tradeoffs, protect users, and approve changes.
FoundationsProgramming, algorithms, system design, and security.
AI collaborationProviding task-specific context and requesting explicit assumptions.
VerificationChecking a price calculation function and its specification against independent evidence.
Professional skillsCommunicating tradeoffs and taking responsibility.
Where AI can go wrong3 things to check
A plausible but wrong answer
AI-generated tests may encode the same bug as the code. It can fail the underlying goal even when it sounds convincing.
Your checkAdd exactly £100 to check the boundary rule.
Missing or invented context
AI may fill gaps with unsupported assumptions, which can send the work in the wrong direction.
Your checkTrace claims to original evidence and ask the relevant person about unknowns.
Information shared in the wrong place
Sensitive records or code can cross confidentiality boundaries if supplied to an unsuitable tool.
Your checkUse approved tools, share the minimum context needed, and follow your organization’s rules.
Try a quick exerciseA practical scenario
The discount applies only above £100; generated tests cover £80 and £120.
Sources & contextEvidence behind this example
These are illustrative workflows, not claims that AI is always better or that every organization works this way. The scenarios and checkpoints are editorial teaching examples.
Reviewed September 2026 · Growing PracticeO*NET — Software DevelopersSupports the role and task baseline; it does not validate our AI workflow sequences.GitHub — Responsible use of inline suggestionsDocuments review and security responsibilities for generated code; capabilities vary by tool and configuration.GitHub — About Copilot code reviewEvidence of an available assisted-review capability, not proof of universal adoption or correctness.How we build these examples