# Test Fixtures for #[dampen_app] Macro

This directory contains test fixtures for the `#[dampen_app]` procedural macro.

## Structure

```
fixtures/
├── multi_view/          # 3-view test case (US1 contract tests)
│   ├── src/ui/
│   │   ├── home.dampen
│   │   ├── home.rs
│   │   ├── settings.dampen
│   │   ├── settings.rs
│   │   ├── about.dampen
│   │   └── about.rs
│   └── Cargo.toml
│
├── single_view/         # Minimal test case (US1 validation)
│   ├── src/ui/
│   │   ├── main.dampen
│   │   └── main.rs
│   └── Cargo.toml
│
└── edge_cases/          # Empty/invalid test cases (US1 error handling)
    ├── empty_ui_dir/
    ├── no_dampen_files/
    └── invalid_structure/
```

## Usage

These fixtures are used by:
- Unit tests in `dampen_app_tests.rs`
- Integration tests in `tests/integration/`
- Snapshot tests using `insta` crate

## Convention

Each fixture represents a complete Dampen project structure that can be:
1. Discovered by the file discovery logic
2. Validated by the ViewInfo validation
3. Code-generated by the macro
4. Tested for correctness

## Related Tasks

- T015: Create multi_view fixture (3 views)
- T016: Create single_view fixture (minimal)
- T017: Create edge_cases fixtures (empty, invalid)
