
Test Generator
Generate comprehensive test suites including unit tests, integration tests, and E2E tests
Generate comprehensive test suites including unit tests, integration tests, and E2E tests
Test Generator
Generate comprehensive test suites that catch bugs before production. From unit tests to E2E scenarios, create tests that give you confidence to ship.
Core Workflows
Workflow 1: Unit Test Generation
- Analyze Code - Understand function inputs/outputs
- Happy Path - Test expected behavior
- Edge Cases - Test boundary conditions
- Error Cases - Test failure scenarios
- Mocking - Create mocks for dependencies
Workflow 2: E2E Test Generation
- User Flows - Identify critical paths
- Test Scenarios - Write step-by-step tests
- Selectors - Define robust element selectors
- Assertions - Verify expected outcomes
- Data Setup - Handle test data
Quick Reference
| Action | Command |
|---|---|
| Generate unit tests | "Generate tests for [function]" |
| E2E tests | "Create E2E tests for [flow]" |
| Coverage report | "Analyze test coverage" |
You Might Also Like
Related Skills

fix
Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.
facebook
frontend-testing
Generate Vitest + React Testing Library tests for Dify frontend components, hooks, and utilities. Triggers on testing, spec files, coverage, Vitest, RTL, unit tests, integration tests, or write/review test requests.
langgenius
frontend-code-review
Trigger when the user requests a review of frontend files (e.g., `.tsx`, `.ts`, `.js`). Support both pending-change reviews and focused file reviews while applying the checklist rules.
langgenius
code-reviewer
Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.
google-gemini
session-logs
Search and analyze your own session logs (older/parent conversations) using jq.
moltbot
