generating-tests-from-code

Community

Auto-generate k6 tests from code.

AuthorKimDoubleB
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of k6 load test scripts by analyzing existing API codebases, saving significant manual effort and ensuring tests accurately reflect the application's structure.

Core Features & Use Cases

  • Codebase Analysis: Scans route definitions, controllers, and middleware in frameworks like Express, NestJS, Spring Boot, FastAPI, and Django.
  • Authentication Detection: Identifies and configures authentication flows (JWT, sessions, API keys) for secure test generation.
  • Endpoint Mapping: Extracts all endpoints, HTTP methods, parameters, and request/response shapes.
  • Use Case: You have a new Express.js API with several protected endpoints. Use this Skill to automatically generate a k6 script that logs in, performs CRUD operations on your resources, and includes necessary checks and thresholds.

Quick Start

Use the generating-tests-from-code skill to analyze my NestJS API codebase and generate a k6 load test script.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: generating-tests-from-code
Download link: https://github.com/KimDoubleB/grafana-k6-skills/archive/main.zip#generating-tests-from-code

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.