arch_dart
Architectural testing framework for Dart and Flutter inspired by ArchUnit. Enforce naming conventions, layer dependencies, clean architecture and more.
1.0.0
evandersondev/arch_dart
What this package is like to depend on
Last release 3 months ago
18 May 2026
Release timing varies
gaps range from 3 weeks to 7 months
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
5 releases · first in 2025
2 releases in the last 12 months
see the full history below
Release timeline
5 releases · Jul 2025 to May 2026Releases
latest 5-
1.0.018 May 2026Release notes
Open source →First stable release of ArchDart. The API is now considered public and follows semantic versioning from this point onward.
Performance
parseDirectoryWithPathsnow reads files in parallel viaFuture.waitand caches the result per directory path. Repeated rule executions in the same test run no longer re-parse the entire project. On a 50 files × 15 rules suite the speedup is roughly 10–15×.- Added
clearArchDartCacheto reset the parse cache between unrelated test runs.
Developer experience
- Translated remaining Portuguese error messages and comments to English (
rule_base.dart,no_dependency_any_rule.dart,visibility_rule.dart,access_rule.dart). - Added dartdoc to the public entry points
classes(),methods(),functions(),enums(),features()andlayers(). - Cleaned the placeholder doc and TODO in
lib/arch_dart.dart; added a package-level dartdoc with a usage example.
Packaging
- Enriched
pubspec.yamlwithrepository,issue_tracker,fundingandtopicsfor better pub.dev discoverability. - Added a
test/suite covering cache behaviour and a smoke test for the rule pipeline. - Rewrote the README: removed the legacy disclaimer, documented both
package:testandflutter_testusage, added a Performance section and surfacedclearArchDartCache()in Utilities.
-
0.0.416 Oct 2025Release notes
Open source →- Fix strict folder init tests to /lib and methods requireAllLayers and allowMissingLayers.
-
0.0.328 Aug 2025 -
0.0.205 Aug 2025 -
0.0.109 Jul 2025