module-integration-test-generator

Generate integration, unit, and architecture tests for Evently modular monolith modules.

3|Updated Apr 24, 2025
One-click install
npx skills add https://github.com/wibu009/evently --skill module-integration-test-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: module-integration-test-generator
Source: https://github.com/wibu009/evently/tree/main/.github/skills/module-integration-test-generator
Command: npx skills add https://github.com/wibu009/evently --skill module-integration-test-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of comprehensive tests for Evently's modular monolith, reducing boilerplate and accelerating test coverage across integration, domain, and architecture layers.

Core Features & Use Cases

  • Generates module-level integration tests using Testcontainers to exercise real dependencies.
  • Produces domain unit tests with Bogus data and FluentAssertions for deterministic validation.
  • Validates architecture constraints with NetArchTest to enforce layering and isolation.
  • Provides consistent testing patterns across modules to speed up onboarding and maintenance.
  • Use cases include scaffolding tests when adding a new module or refactoring existing modules.

Quick Start

Run the generator from the repository root to scaffold tests for the selected module.

Frequently Asked Questions about module-integration-test-generator

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

FAQPage Schema
How do I generate integration tests for a modular monolith automatically?

To generate integration tests for a modular monolith, you can use a generator that scaffolds module-level tests using Testcontainers to exercise real dependencies and enforces consistent test project structures. It automates boilerplate creation across integration, domain, and architecture test layers.

How do I write architecture tests with NetArchTest to enforce modular monolith isolation?

Writing architecture tests with NetArchTest enforces modular monolith isolation by validating layering constraints across modules. A test generator automates this by scaffolding NetArchTest rules that verify dependencies and prevent architectural violations, ensuring strict module boundaries.

Can I use FluentAssertions and Bogus for deterministic domain unit testing?

Yes, you can use FluentAssertions and Bogus for deterministic domain unit testing. The generator produces domain unit tests utilizing Bogus for realistic fake data generation and FluentAssertions for clear assertion syntax, ensuring deterministic validation outcomes for modular monolith modules.

Does Testcontainers work with modular monolith integration testing for real dependencies?

Yes, Testcontainers works effectively for modular monolith integration testing by spinning up lightweight, real dependencies in Docker. The generator applies Testcontainers-based integration tests to exercise actual database or messaging components, ensuring modules behave correctly under realistic conditions.

What is the best way to scaffold tests when adding a new module to a modular monolith?

The best way to scaffold tests when adding a new module to a modular monolith is running an automated generator. It creates integration, domain, and architecture tests simultaneously, applying consistent naming, data generation, and isolation patterns per established project testing standards.

What are the limitations of auto-generating integration tests for modular monoliths?

A limitation of auto-generating integration tests for modular monoliths is that the generator enforces specific test project structures, naming, and isolation conventions. Projects deviating from these established Evently testing standards or using different frameworks may require manual adjustments to the generated test code.