원클릭으로
add-e2e-test
Create an End-to-End (E2E) test for a REST controller or GraphQL resolver using Fastify injection.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create an End-to-End (E2E) test for a REST controller or GraphQL resolver using Fastify injection.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Add a new BullMQ job queue to the project — processor, producer injection, module registration, Bull Board integration, and unit tests.
Write unit tests for an existing NestJS service, resolver, or controller in the project following its Vitest + NestJS Testing conventions.
Run the full code quality pipeline (TypeScript + Biome + Knip), fix all issues, and clean up comments in changed code.
Create a git commit with all unstaged changes. Use this skill whenever the user asks to commit, make a commit, save changes to git, or says something like "commit this", "commit all changes". Always runs npm run check before committing and fixes any errors found.
Use this workflow to implement ANY new feature following Test-Driven Development strictly.
Guide through a full Prisma schema change workflow — edit schema, create migration, regenerate client, update affected services.
| name | add-e2e-test |
| description | Create an End-to-End (E2E) test for a REST controller or GraphQL resolver using Fastify injection. |
supertest.E2EClient and createTestingApp from test/utils/testing-app.ts.describe, it, expect, beforeAll, etc. from 'vitest', as they are globally available.import { E2EClient } from '../../test/utils/e2e-client';
import { createTestingApp } from '../../test/utils/testing-app';
describe('FeatureName (e2e)', () => {
let client: E2EClient;
beforeAll(async () => {
const { fastify } = await createTestingApp();
client = new E2EClient(fastify);
});
it('should process request and return 200', async () => {
// Arrange
// Act
const response = await client.request({ method: 'GET', url: '/api/path' });
// Assert
expect(response.statusCode).toBe(200);
});
});