Skip to content

test: add regression coverage for full generator import paths - #1483

Merged
hwbrzzl merged 1 commit into
goravel:v1.17.xfrom
u-wlkjyy:fix-issue-973-import-regressions
Jun 15, 2026
Merged

hwbrzzl merged 1 commit into
goravel:v1.17.xfrom
u-wlkjyy:fix-issue-973-import-regressions

Conversation

@u-wlkjyy

Copy link
Copy Markdown
Contributor

📑 Description

Closes goravel/goravel#973

The import-path bug is real on framework v1.17.2, but the underlying fix is already present on the v1.17.x branch. This PR adds regression coverage around the affected generators so CI catches any reintroduction:

  • require make:test nested test files to import the full module path exactly
  • cover migration stub rendering with a multi-segment app facades import path
  • cover package scaffold facade stubs with a multi-segment main module path

✅ Checks

  • Added test cases for my code

@u-wlkjyy
u-wlkjyy requested a review from a team as a code owner June 10, 2026 04:20
@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (v1.17.x@7a44f29). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             v1.17.x    #1483   +/-   ##
==========================================
  Coverage           ?   68.69%           
==========================================
  Files              ?      281           
  Lines              ?    17766           
  Branches           ?        0           
==========================================
  Hits               ?    12205           
  Misses             ?     5056           
  Partials           ?      505           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hwbrzzl hwbrzzl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM. Sorry, missed this PR.

@hwbrzzl
hwbrzzl merged commit 4e60a27 into goravel:v1.17.x Jun 15, 2026
11 of 13 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.

2 participants