ArchUnit equivalent for Rust (arch_unit_rs)?
โ Rust ๐ 2026-06-11 ๐ค surdeus ๐๏ธ 1In the last years people raised questions about arch testing (e.g. Of Architecture, Traits and Unit Testing - #21 by nrxus). In other languages the go to solution to this topic are ArchUnit (originally created for Java) tools:
- GitHub - LukasNiessen/ArchUnitPython: ArchUnitPython is an architecture testing library. Specify and ensure architecture rules in your Python app. Easy setup and pipeline integration. ยท GitHub
- GitHub - LukasNiessen/ArchUnitTS: ArchUnitTS is an architecture testing library. Specify and ensure architecture rules in your TypeScript app. Easy setup and pipeline integration. ยท GitHub
IMO it would be reasonable to initiate the discussion about an official Rust provided tool right now.
Implementation wise with the advent of agentic workflows involving Spec Driven Development (SDD) (e.g. OpenSpec) + AI agents the time required for creating a tool should be pretty little as long as a good spec is feed as input.
1 post - 1 participant
๐ท๏ธ Rust_feed