testing-conventions

Standardize unit and integration test conventions across BIM project packages.

6|2|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/bitcoin-is-money/bim-app --skill testing-conventions-bitcoin-is-money
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-conventions
Source: https://github.com/bitcoin-is-money/bim-app/tree/main/.claude/skills/testing-conventions
Command: npx skills add https://github.com/bitcoin-is-money/bim-app --skill testing-conventions-bitcoin-is-money

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

BIM projects often lack consistent testing practices, leading to flaky tests, duplicated effort, and gaps in test coverage. This skill provides a unified set of testing conventions to align teams on patterns, locations, and tooling.

Core Features & Use Cases

  • Centralizes test tiers and patterns for unit and integration tests across domain, lib, API, and frontend packages.
  • Guides file placement, test fixture creation, and mock usage to accelerate onboarding and maintain quality.
  • Use Case: When adding a new feature, follow these conventions to create aligned tests and run the full suite to validate changes.

Quick Start

Follow the Domain Unit Test Pattern to add tests under packages/domain/test and run npm test -w @bim/domain to validate changes.

Frequently Asked Questions about testing-conventions

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

FAQPage Schema
How do I standardize testing conventions across BIM projects?

To standardize testing conventions across BIM projects, apply unified test tiers, file placement rules, and tooling guidelines for unit, integration, and fixture workflows.

What is the Domain Unit Test Pattern for BIM packages?

The Domain Unit Test Pattern defines how to structure and place tests under packages/domain/test, guiding mock usage and setup to ensure consistent domain-level test coverage.

How do I structure unit and integration tests for BIM apps?

Structure unit and integration tests by placing them in specific test directories across domain, lib, API, and frontend packages, following centralized test tier patterns and fixture creation guidelines.

What's the best way to organize test fixtures and mocks in BIM?

The best way to organize test fixtures and mocks in BIM is to follow centralized conventions for file placement and setup guidelines, accelerating onboarding and reducing duplicated effort.

What causes flaky tests and coverage gaps in BIM projects?

Flaky tests and coverage gaps in BIM projects are typically caused by a lack of consistent testing practices, which can be resolved by applying unified conventions for test locations, patterns, and tooling.