Test_Cases

Generates structured CSV test plans for Express and Nunjucks frontend features.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/kainos-academy-2026/team4-frontend --skill test-cases-kainos-academy-2026
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Test_Cases
Source: https://github.com/kainos-academy-2026/team4-frontend/tree/main/.github/skills/test-cases
Command: npx skills add https://github.com/kainos-academy-2026/team4-frontend --skill test-cases-kainos-academy-2026

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing comprehensive, consistent test plans for a TypeScript Express frontend is time-consuming, and ad-hoc test cases often miss edge cases, error handling, and traceability to design techniques. This Skill produces standardized 9-column CSV test plans aligned with the project's route -> controller -> service -> mapper -> view architecture. ## Core Features & Use Cases - Structured CSV Output: Generates test cases with a strict 9-column schema (ID, Title, Test Type, Test Suite Type, Preconditions, Test Steps, Expected Results, Actual Results, Test Data) ready for import into test management tools. - Suite-Type Alignment: Scopes coverage to Sanity, Smoke, Feature, or Full Regression suites, with mandatory design techniques (Equivalence Partitioning, Boundary Value Analysis, Decision Tables, Error Guessing, Risk Based Testing, Use Case Testing) recorded per row. - Re-Evaluation Workflow: Re-assesses existing test plans when routes, services, templates, fallback mocks, or config flags change, producing a delta report of added, updated, and removed tests. - Use Case: After adding a new job role detail route, ask for a Feature-suite test plan and receive a CSV covering happy path rendering, closed-role filtering, fallback mock behavior, and friendly not-found handling. ## Quick Start Generate a Feature-suite CSV test plan for the job role list route in src/routes, split by category.

Frequently Asked Questions about Test_Cases

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a test plan CSV for an Express route?

Provide the route, controller, or feature name plus a suite type (Sanity, Smoke, Feature, or Full Regression), and the Skill outputs a 9-column CSV with preconditions, steps, expected results, and test data. It inspects the relevant src/ and test/ areas to identify existing coverage gaps first.

What test design techniques should a test plan include?

This Skill applies Equivalence Partitioning, Boundary Value Analysis, Decision Tables, Error Guessing, Risk Based Testing, and Use Case Testing. Feature and Full Regression suites require at least one case per technique, recorded in the Test Data field as Technique: <name>.

Can I split test cases into multiple CSV files by category?

Yes, split output produces separate files such as job-roles-test-cases.csv or login-test-cases.csv, each using the identical 9-column schema with globally unique IDs. If you do not specify a preference, the Skill asks before generating.

Does this work with Vitest and Supertest projects?

Yes, the Skill is designed around a Vitest and Supertest stack for a Node 22 Express server rendering Nunjucks templates. Generated cases map to test areas like controllers, services, mappers, routes, views, and static asset behavior.

How do I update test cases after code changes?

Use the re-evaluation workflow: it maps changed files to impacted modules, rebuilds an impact matrix with risk levels, re-applies all design techniques, and updates CSV rows while preserving existing IDs. It finishes with a delta report of added, updated, and removed tests.