add-test

Generate Verona compiler test case directories with source and golden files.

6|4|Updated Apr 9, 2025
One-click install
npx skills add https://github.com/sylvanc/verona-bc --skill add-test-sylvanc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-test
Source: https://github.com/sylvanc/verona-bc/tree/main/.claude/skills/add-test
Command: npx skills add https://github.com/sylvanc/verona-bc --skill add-test-sylvanc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of adding new test cases to the Verona compiler, ensuring code quality and facilitating development.

Core Features & Use Cases

  • Test Scaffolding: Automatically creates the necessary file structure and boilerplate code for new compiler tests.
  • Test Type Support: Handles standard success tests, compile-error tests, and tests involving FFI (Foreign Function Interface).
  • Use Case: When a developer identifies a bug or a new feature that needs testing in the Verona compiler, they can use this Skill to quickly set up a new test file and its associated golden files.

Quick Start

Use the add-test skill to create a new test named 'basic_loop'.

Frequently Asked Questions about add-test

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

FAQPage Schema
How do I add a new test case to the Verona compiler?

The Skill scaffolds a new test case directory and associated source files within the `testsuite/v/` directory for the Verona compiler. It automates boilerplate creation and sets up the necessary file structure.

Can I generate FFI tests for the Verona compiler?

Yes, you can generate FFI tests for the Verona compiler. The Skill supports scaffolding Foreign Function Interface tests, alongside standard success tests and compile-error tests, within the `testsuite/v/` directory.

How do I generate golden files for Verona compiler testing?

The Skill automates golden file generation commands when creating a new Verona compiler test. It sets up the expected output files and includes verification steps to validate compiler behavior.

What types of compiler tests can I create for Verona?

You can create standard success tests, compile-error tests, and FFI tests for the Verona compiler. The Skill scaffolds the appropriate file structure and boilerplate for each specific test type.

Does the Verona compiler test generator handle compile-error test scaffolding?

Yes, the test generator handles compile-error test scaffolding. It creates the necessary test file structure within `testsuite/v/` and sets up the expected error outputs for verifying compiler diagnostics.

Why do I need to scaffold a test directory for Verona compiler tests?

Scaffolding a test directory ensures code quality by maintaining a consistent file structure for Verona compiler tests. It automates boilerplate creation, golden file generation commands, and verification steps for new features or bug fixes.