dart_arch_test 0.3.1
dart_arch_test: ^0.3.1 copied to clipboard
ArchUnit-inspired architecture testing for Dart & Flutter. Enforce layer boundaries, slice isolation, cycles, coupling metrics, and violation baselines — all in plain Dart tests.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dart_arch_testWith Flutter:
$ flutter pub add dart_arch_testThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
dart_arch_test: ^0.3.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dart_arch_test/dart_arch_test.dart';