testing-integration

Generate deterministic integration tests for Drumr applications across backend and frontend workflows.

Updated Sep 16, 2025
One-click install
npx skills add https://github.com/slingr-stack/qa-test-drumr --skill testing-integration-slingr-stack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-integration
Source: https://github.com/slingr-stack/qa-test-drumr/tree/main/core/skills/testing-integration
Command: npx skills add https://github.com/slingr-stack/qa-test-drumr --skill testing-integration-slingr-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It eliminates guesswork in cross-layer testing by showing how to write deterministic integration tests for Drumr applications that verify real interactions between backend actions, services, data models, and frontend views.

Core Features & Use Cases

  • Backend integration patterns: Covers TestApp bootstrapping, dataset-backed fixtures, DI container resolution, GraphQL over HTTP, and controlled cleanup for stable server-side test suites.
  • Frontend integration patterns: Shows how to test real React views with React Testing Library, mock only service boundaries, and assert user-visible behavior instead of implementation details.
  • Test quality guidance: Defines file naming, folder layout, success and failure cases, cleanup discipline, warning handling, and clear boundaries between unit, integration, and end-to-end testing.
  • Use case: A Drumr team can use this Skill to generate or review integration tests for actions, services, forms, and views while keeping production code untouched.

Quick Start

Ask me to generate Drumr integration tests for a backend action, a frontend view, or both, and I will draft deterministic specs, choose the right test patterns, and respect the framework’s cleanup and validation rules.

Frequently Asked Questions about testing-integration

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

FAQPage Schema
How do I write integration tests for Drumr applications that validate both backend and frontend behavior?

Drumr integration tests validate cross-layer behavior between actions, services, data models, and rendered views using backend patterns like TestApp bootstrapping and frontend patterns with React Testing Library to assert user-visible behavior without testing implementation details.

What is the best way to test GraphQL request flows in Drumr integration tests?

Testing GraphQL request flows in Drumr integration tests uses GraphQL over HTTP within a bootstrapped TestApp, applying dataset-backed fixtures and DI container resolution to validate queries and mutations against real server-side interactions deterministically.

Can I use React Testing Library to test frontend views without modifying production code?

React Testing Library renders real React views to assert user-visible behavior while mocking only service boundaries, ensuring production code remains untouched and tests focus on actual interactions rather than implementation details.

Do I need Playwright for cross-layer testing of Drumr services and data models?

Playwright is not required for Drumr cross-layer testing. Integration tests rely on TestApp bootstrapping, dataset-backed fixtures, and DI-based resolution to validate backend actions and frontend views without end-to-end browser automation.

Why does my Drumr integration test suite fail due to inconsistent state between test runs?

Inconsistent test state typically arises from missing cleanup and reset discipline. Drumr integration tests require controlled cleanup after each spec, proper fixture teardown, and DI container resets to maintain deterministic cross-layer behavior validation.

When should I use integration tests versus unit tests for Drumr backend actions and services?

Integration tests apply when verifying real interactions across backend actions, services, data models, and frontend views, while unit tests isolate individual functions. Drumr integration tests use TestApp bootstrapping and dataset-backed fixtures for cross-layer coverage that unit tests cannot provide.