Skip to content

Add compile-pass, compile-fail, and golden tests for solverforge-macros #12

@blackopsrepl

Description

@blackopsrepl

Summary

solverforge-macros is primarily validated indirectly today.

Problem

Proc macro behavior and diagnostics are best protected by direct macro-specific regression tests.

Why This Matters

Downstream tests help, but they do not replace focused checks for expansion behavior and author-facing diagnostics.

Proposed Work

  • Add compile-pass tests for key macro attribute usage.
  • Add compile-fail tests for common authoring mistakes.
  • Add snapshot or golden coverage for expected expansion behavior where practical.

Acceptance Criteria

  • Macro-specific regression coverage exists.
  • Common mistakes produce stable, intentional diagnostics.

Source

Derived from PR #3 (PRODUCTION_REVIEW_ISSUES_2026-03-20.md).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions