stacks-testing

Run automated Stacks framework tests with Bun's native test runner.

2|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/bughq/bughq --skill stacks-testing-bughq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-testing
Source: https://github.com/bughq/bughq/tree/main/.claude/skills/stacks-testing
Command: npx skills add https://github.com/bughq/bughq --skill stacks-testing-bughq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the complex process of setting up, running, and managing tests within the Stacks framework, ensuring consistent environment configuration and reliable database state management.

Core Features & Use Cases

  • Test Environment Management: Automates the setup of test environments, including database initialization, refreshing, and truncation.
  • Infrastructure Testing: Provides utilities for testing DynamoDB local instances and queue job dispatching.
  • Use Case: When developing a new feature, use this Skill to quickly spin up a clean SQLite testing database, execute unit or feature tests, and verify queue job outcomes without manual setup overhead.

Quick Start

Use the stacks-testing skill to run all feature tests in the project after refreshing the database.

Frequently Asked Questions about stacks-testing

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

FAQPage Schema
How do I run automated tests in the Stacks framework using Bun?

Automated tests in the Stacks framework run through Bun's native test runner, which executes unit and feature tests while managing supporting infrastructure like local databases and queues.

How do I manage database lifecycle states for Stacks unit testing?

Database lifecycle management for Stacks unit testing is handled by automating database initialization, refreshing, and truncation to ensure a clean testing state before each run.

Can I test DynamoDB local instances and queue jobs with Bun?

Yes, Stacks testing supports DynamoDB local integration and provides utilities for verifying queue job dispatching outcomes during feature and unit test execution.

What is required to set up a clean SQLite testing database for feature development?

Setting up a clean SQLite testing database requires proper configuration of test environments and adherence to Stacks-specific test file conventions to automate initialization.

Why are my Stacks framework tests failing due to environment configuration?

Stacks framework tests fail when test environments are not properly configured, requiring strict adherence to Stacks-specific test file conventions and correct database initialization states.