You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: update test command to use dart test with coverage flag (#51)
* fix: update test command to use dart test with coverage flag
* fix: update code coverage reporting action to v4
* fix: improve code coverage reporting by adding coverage tool installation and LCOV conversion
* Add AST validation utilities for router generation and enhance tests
- Introduced `router_ast_validators.dart` with specialized validators for router class structure, routes field, pages map, and getter methods.
- Enhanced `ast_comparison_helper.dart` with methods to find constructors and methods in extensions.
- Updated `route_class_generator_test.dart` to utilize new validation methods for various routing scenarios, including empty routes, nested routers, and aliased imports.
- Refactored existing tests to improve structure and validation logic.
* fix: update import for AST validation helpers in router class builder test
* refactor: streamline AST validation utilities and enhance documentation for clarity
* Add comprehensive tests for logging and routing generators
- Introduced `logger_builder_simple_test.dart` to validate basic logger generation, structure, error handling, stacktrace support, method chaining, and determinism.
- Updated `logger_class_generator_test.dart` to utilize AST-based validation for logger generation instead of string comparison.
- Modified `simple_log_printer_test.dart` to correct the log event structure for error handling.
- Enhanced `arguments_class_test.dart` to validate the generation of argument classes with basic AST checks.
- Refactored `navigation_extension_class_test.dart` and `router_extension_class_test.dart` to implement AST validation for navigation extensions.
- Improved `router_class_builder_helper_test.dart` and `routes_class_builder_test.dart` to include basic AST validation for generated routes and getters.
- Added new tests for Router 2.0 in `auto_route_generator_test.dart` and `integration_test/router_2_integration_test.dart` to cover complete library generation, error scenarios, and code quality checks.
- Created `library_builder_test.dart` and `router_2_generator_test.dart` to validate library generation and router generator functionality.
* fix: update SDK version constraint in pubspec.yaml
0 commit comments