run-tests

Execute and debug JVM unit and integration tests across Gradle modules.

219|41|Updated Feb 21, 2024
One-click install
npx skills add https://github.com/proto-at-block/bitkey --skill run-tests-proto-at-block
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-tests
Source: https://github.com/proto-at-block/bitkey/tree/main/app/ai-rules/skills/run-tests
Command: npx skills add https://github.com/proto-at-block/bitkey --skill run-tests-proto-at-block

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Run-tests automates running and debugging test suites across a multi-module Gradle project, reducing manual coordination and speeding feedback loops.

Core Features & Use Cases

  • Run unit and integration tests across modules with Gradle.
  • Filter tests by module, class, or test name to focus on specific areas.
  • Debug failures with diagnostic options and clear failure reports.
  • Support for integration tests requiring a backend to be started first.

Quick Start

Start the backend if needed and run the full test suite across modules with the Gradle tasks shown above.

Frequently Asked Questions about run-tests

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

FAQPage Schema
How do I run unit tests across multiple modules in a Gradle project?

Yes, you can filter Gradle test execution by module, class, or test name. This allows you to target specific JVM-based unit tests and run only the relevant subsets, speeding up your feedback loop during development.

Do I need to start a backend before running integration tests in a multi-module Gradle project?

Yes, when running integration tests in a multi-module Gradle project, you must start a local backend first. This Skill automates test execution and provides diagnostic options for failures, but requires the backend to be running for integration test validation.

How do I debug failing JVM tests in a multi-module Gradle setup?

To debug failing JVM tests in a multi-module Gradle setup, this Skill provides diagnostic options and clear failure reports. It executes your targeted test classes across modules and isolates the failures so you can quickly identify and resolve code changes.

What is required to execute tests across modules using this Gradle testing approach?

Executing tests across modules requires Gradle and properly configured test tasks within your project. The Skill automates running and debugging JVM-based unit and integration tests, but relies entirely on your existing Gradle configuration to function correctly.