testing

Run Dang test suites and update golden files with error reporting.

23|9|Updated Jul 13, 2025
One-click install
npx skills add https://github.com/vito/dang --skill testing-vito
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/vito/dang/tree/main/.agents/skills/testing
Command: npx skills add https://github.com/vito/dang --skill testing-vito

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dang developers need a reliable workflow to run tests, validate error messages, and keep golden files in sync to ensure consistent results across runs and environments.

Core Features & Use Cases

  • Run the test suites for Dang language and verify language and error messages across tests, integration tests, and formatting tests.
  • Update and validate golden files when test expectations change, and generate meaningful diffs for quick triage.
  • Integrate with CI to enforce test quality, report nice errors, and guard against regressions in Dang projects.

Quick Start

Run the test suite locally and review error reports to maintain high-quality Dang code.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I run integration tests and verify error messages for Dang projects?

To run integration tests and verify error messages for Dang projects, this testing workflow automates Go test commands across test suites, checking language outputs and reporting structured errors for quick debugging.

What is the best way to update golden files when test expectations change?

Updating golden files when test expectations change is handled automatically by validating the new outputs, applying the updates, and generating meaningful diffs for quick triage to keep tests green.

How does CI integration enforce test quality and guard against regressions in Dang projects?

CI integration enforces test quality and guards against regressions in Dang projects by running the full test suite, validating error messages, and reporting structured errors to prevent broken builds.

Why do I need golden-file maintenance for consistent results across environments?

Golden-file maintenance is needed for consistent results across environments because it synchronizes test expectations with actual outputs, ensuring that error messages and formatting remain stable.

Does this testing workflow support local development environments or just CI pipelines?

This testing workflow supports both local development environments and CI pipelines, allowing developers to run test suites locally and review structured error reports before enforcing quality in CI.

What limitations exist when reporting structured errors during test execution?

A limitation when reporting structured errors during test execution is that the workflow specifically supports Go test commands and Dang language test suites, meaning it may not cover unrelated testing frameworks.