Skip to content

Conversation

@MikeGarde
Copy link
Owner

Added

  • Parameters both query, form, and path - more features to come.
  • Introduced a new test class DetectParamTest in tests/Feature/DetectParam.php to check the inspection of query parameters in routes.
  • Added a new example controller QueryParamController and associated queryParam attribute for testing.
  • Added custom artisan file for easier invoking during development.

Updated

  • Updated the LaravelRouteGoodTest class in tests/Feature/LaravelRouteGoodTest.php to ensure that errors in documented routes are properly handled during testing.
  • Modified the RouteDocInspector class to include gathering query parameters and error reporting functionality.
  • Enhanced the RouteDocEntry class to support error handling and color output for route information.
  • Extended the RouteDocInspector class to gather and store query parameters for documented routes.
  • Improved JSON output formatting for the route:docs Artisan command for better usability.

MikeGarde added 2 commits July 9, 2025 14:12
## Added
- Parameters both query, form, and path - more features to come.
- Introduced a new test class `DetectParamTest` in `tests/Feature/DetectParam.php` to check the inspection of query parameters in routes.
- Added a new example controller `QueryParamController` and associated queryParam attribute for testing.
- Added custom `artisan` file for easier invoking during development.

## Updated
- Updated the `LaravelRouteGoodTest` class in `tests/Feature/LaravelRouteGoodTest.php` to ensure that errors in documented routes are properly handled during testing.
- Modified the `RouteDocInspector` class to include gathering query parameters and error reporting functionality.
- Enhanced the `RouteDocEntry` class to support error handling and color output for route information.
- Extended the `RouteDocInspector` class to gather and store query parameters for documented routes.
- Improved JSON output formatting for the `route:docs` Artisan command for better usability.
@codecov
Copy link

codecov bot commented Jul 9, 2025

Codecov Report

Attention: Patch coverage is 97.29730% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/Console/ListEndpoints.php 91.66% 1 Missing ⚠️
src/Support/RouteDocInspector.php 97.95% 1 Missing ⚠️
Files with missing lines Coverage Δ Complexity Δ
src/Attributes/formParam.php 100.00% <100.00%> (ø) 1.00 <1.00> (?)
src/Attributes/param.php 100.00% <100.00%> (ø) 1.00 <1.00> (?)
src/Attributes/queryParam.php 100.00% <100.00%> (ø) 1.00 <1.00> (?)
src/Console/ValidateEndpoints.php 94.11% <ø> (ø) 4.00 <0.00> (ø)
src/Support/RouteDocEntry.php 96.00% <100.00%> (+0.65%) 21.00 <3.00> (+3.00)
src/Console/ListEndpoints.php 94.73% <91.66%> (+3.82%) 5.00 <5.00> (+3.00)
src/Support/RouteDocInspector.php 96.22% <97.95%> (+3.54%) 29.00 <9.00> (+3.00)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MikeGarde MikeGarde merged commit 8f8e703 into main Jul 9, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant