testing-standards

Define unit and integration testing conventions for the AI Donor Matcher backend.

1|3|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/rizwan2004cs/AI-Donor-Matcher-Backend --skill testing-standards-rizwan2004cs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-standards
Source: https://github.com/rizwan2004cs/AI-Donor-Matcher-Backend/tree/main/docs/skills/testing-standards
Command: npx skills add https://github.com/rizwan2004cs/AI-Donor-Matcher-Backend --skill testing-standards-rizwan2004cs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unit and integration testing conventions for the AI Donor Matcher backend. Use when writing new tests, updating existing tests, or reviewing test quality. Covers Mockito patterns, assertion style, and test structure used across all 11 service test files.

Core Features & Use Cases

  • JUnit 5, Mockito, AssertJ, Spring Boot Test for integration tests
  • Test File Structure guidance, naming conventions, section dividers
  • Clear guidance on "What to Test" across services, controllers, and data layers

Quick Start

Adhere to these standards when writing or reviewing unit and integration tests for the AI Donor Matcher backend.

Frequently Asked Questions about testing-standards

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

FAQPage Schema
How do I standardize backend testing conventions for unit and integration tests?

Backend testing conventions are standardized by defining framework usage, file structure, naming conventions, and documentation expectations. This ensures service-layer tests remain reliable and maintainable across multiple test files.

What should I test in a Spring Boot backend service layer?

Spring Boot backend testing should cover services, controllers, and data layers. Guidance specifies what to test across these components to enforce consistent quality and reliability standards throughout the application.

How do I structure JUnit 5 test files with Mockito and AssertJ?

JUnit 5 test files using Mockito and AssertJ should follow defined file structure guidance, naming conventions, and section dividers. These standards enforce consistent organization and assertion style across service test files.

When do I need Spring Boot Test for integration testing versus Mockito for unit testing?

Spring Boot Test is needed for integration tests, while Mockito applies to unit testing. Standards specify framework usage patterns for each, ensuring correct isolation and integration coverage across the backend.

Can I use these testing standards to review existing backend test quality?

These testing standards can be used to review existing backend test quality. They apply when writing new tests, updating existing tests, or evaluating test quality across service-layer test files.