Skip to content

[ci] Add property-based tests for the analysis engine using proptest #1035

Description

@CelestinaBeing

Context

The analysis engine should not panic on any valid Rust source file. Property-based tests would generate random Rust ASTs and verify the engine handles them gracefully.

Work

  • Add proptest crate to tooling/sanctifier-core/
  • Write tests/proptest_analysis.rs that generates random Rust source and runs all rules
  • Assert: no panics, no OOM, result is either Ok(findings) or Err(parse_error)
  • Add to CI as a separate proptest job with 60-second time limit

Acceptance criteria

  • 10_000 random inputs processed without panic
  • Any discovered crash inputs added as regression fixtures

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions