Unit tests
6 listings
Agents
AI Modernization Toolkit
AI-assisted toolkit for migrating legacy software and modernizing its code, interfaces, and tests.
Prompts
Unit Tests for a TypeScript Module
Generate unit tests matching existing style for a TypeScript module.
Write unit tests for a chosen function with a Copilot prompt file
A prompt file from GitHub's Copilot customization library that studies the function or method you have selected and writes focused unit tests. It covers normal behaviour, invalid and boundary inputs, error handling and side effects, asking which function and test framework to use and aiming for 5 to 8 independent tests.