test

Identify and run unit, codegen, and integration tests for the Incan compiler.

92|7|Updated Dec 11, 2025
One-click install
npx skills add https://github.com/dannys-code-corner/incan --skill test-dannys-code-corner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/dannys-code-corner/incan/tree/main/.agents/skills/test
Command: npx skills add https://github.com/dannys-code-corner/incan --skill test-dannys-code-corner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Run and write tests for the Incan compiler to verify changes and ensure reliability. This skill is used when the user asks to test changes, add tests, run the test suite, verify a feature, or says /test, and it guides test selection, demonstrates correct testing patterns, and provides the commands to execute.

Core Features & Use Cases

  • Guides test selection across parser, typechecker, lowering, and CLI behavior.
  • Provides concrete test patterns and templates for unit tests, codegen snapshots, and end-to-end/integration tests.
  • Ensures consistent testing practices during development and feature verification.

Quick Start

Run the full test suite for the Incan compiler to validate your changes.

Frequently Asked Questions about test

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

FAQPage Schema
How do I run unit tests for the Incan compiler?

To run unit tests for the Incan compiler, you execute the test suite to validate parser, typechecker, and lowering changes. This guides test selection and provides the necessary commands to verify your compiler modifications.

What is the best way to write codegen snapshot tests?

Writing codegen snapshot tests involves using provided templates to capture and verify generated code outputs. This ensures consistent testing practices during development and feature verification by comparing new outputs against expected snapshots.

How do I verify a new feature in the Incan compiler?

To verify a new feature in the Incan compiler, you select and run the appropriate integration and unit tests. This validates correctness across CLI behavior and internal logic, ensuring the new feature functions reliably within the system.

When do I need integration tests for compiler changes?

Integration tests for compiler changes are needed when verifying end-to-end CLI behavior and overall system interactions. They validate that combined components function correctly together, complementing unit tests for parser and typechecker logic.

Does this test skill guide test selection for the typechecker and lowering phases?

Yes, this test skill guides test selection specifically for the typechecker and lowering phases. It helps identify the appropriate tests to run for Incan compiler changes, ensuring thorough validation of these critical compilation steps.