Testing Strategies
Skill AktivTesting patterns for Micronaut/Kotlin backend including repository tests, integration tests, and test data builders. Use when writing tests, setting up test infrastructure, or improving coverage.
To offer robust testing patterns and setup guidance for Micronaut/Kotlin backend development, ensuring code quality and coverage.
Funktionen
- Integration test patterns for Micronaut endpoints
- Repository test structure and examples
- Test data builder utilities
- Clear naming conventions for tests
- Guidance on required test coverage
Anwendungsfälle
- Writing integration tests for Micronaut controllers
- Setting up repository tests with a database
- Improving test coverage with specific strategies
- Establishing consistent test naming conventions
Nicht-Ziele
- Providing general Kotlin or Java programming advice
- Covering frontend testing frameworks
- Automating test execution beyond standard build commands
Workflow
- Understand required test coverage per endpoint
- Implement integration tests using Retrofit clients
- Write repository tests extending AbstractRepositoryTest
- Utilize MockK for unit testing services and managers
- Follow naming conventions for test methods
Praktiken
- Test-Driven Development
- Code Quality
- Backend Testing
Documentation
- info:Configuration & parameter referenceWhile the SKILL.md outlines testing strategies and provides code examples, explicit documentation of all options, parameters, or default configurations for any underlying tools is missing.
- warning:READMEThe README.md file is overly long and appears to be for a different project ('Spartan AI Toolkit'), not this specific 'testing-strategies' skill.
Practical Utility
- info:Edge casesThe SKILL.md mentions connection pool exhaustion and MockK + coroutines gotchas with recovery steps, but other potential failure modes like malformed input or expired credentials are not explicitly documented.
Installation
npx skills add spartan-stratos/spartan-ai-toolkitFührt das Vercel skills CLI (skills.sh) via npx aus — benötigt Node.js lokal und mindestens einen installierten skills-kompatiblen Agent (Claude Code, Cursor, Codex, …). Setzt voraus, dass das Repo dem agentskills.io-Format folgt.
Qualitätspunktzahl
Vertrauenssignale
Ähnliche Erweiterungen
Backend Api Design
99Design RPC-style APIs with layered architecture (Controller → Manager → Repository). Use when creating new API endpoints, designing API contracts, or reviewing API patterns.
Security Checklist
98Security best practices for Micronaut/Kotlin backend including authentication, authorization, input validation, and OWASP prevention. Use when implementing auth, validating inputs, or reviewing security.
Senior Backend Engineer
100Designs and implements backend systems including REST APIs, microservices, database architectures, authentication flows, and security hardening. Use when the user asks to "design REST APIs", "optimize database queries", "implement authentication", "build microservices", "review backend code", "set up GraphQL", "handle database migrations", or "load test APIs". Covers Node.js/Express/Fastify development, PostgreSQL optimization, API security, and backend architecture patterns.
Definition Of Done
100Mandatory checks to run before completing any task that touches md files or dart code in this repository.
API Endpoint Creator
97Creates RPC-style endpoint following layered architecture (Controller → Manager → Repository). Use when creating new API endpoints or CRUD operations.
Migrate Validate
100Validate pending migrations for foreign key consistency, rollback safety, and best practices