ArchUnit / test architecture for Flutter or Dart
109
I have not found an Architest equivalent. Another way to ensure correct access to packages is to use a linter like the following
analyzer:
plugins:
- import_lint
import_lint:
rules:
use_case_rule:
target_file_path: "/**/use_case/*_use_case.dart"
not_allow_imports: ["/**/use_case/*_use_case.dart"]
exclude_imports: ["/**/use_case/base_use_case.dart"]
https://github.com/kawa1214/import-lint
Author by
TOho
There are 10 types of people in the world: those who understand binary, and those who don't.
Updated on December 01, 2022Comments
-
TOho over 1 year
I'm developing an Flutter App using Clean Architecture. Now i'm looking for a library or something else like ArchUnit. To test the architecture and to ensure the correct access of packages.
How do you solve the problem and ensure compliance with the architecture. I would appreciate ideas or alternatives.
-
Daniel Gomez Rico almost 3 yearsHi have you found any answer to this?
-
TOho almost 3 yearsNo, unfortunately not :(
-