Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(main) Handle mojos default value in tests #756

Conversation

abelsromero
Copy link
Member

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Documentation
  • Refactor
  • Build improvement
  • Other (please describe)

What is the goal of this pull request?

Prevent regressions by ensuring unit tests take the @Parameter configuration when mocking Mojos.
In fact, an issue in ZipMojo was found.

Are there any alternative ways to implement this?

It's mostly a refactor, so yes...The change also extracts logic from TestUtils to better re-use or even publish as an extra artifact for other maven plugin developers.

Are there any implications of this pull request? Anything a user must know?

no

Is it related to an existing issue?

Finally, please add a corresponding entry to CHANGELOG.adoc

@abelsromero abelsromero changed the title Branch main/issue handle mojos default value in tests (main) Handle mojos default value in tests Jan 25, 2024
@abelsromero abelsromero force-pushed the branch-main/issue-609-handle-mojos-default-value-in-tests branch from 3bf0cd4 to e3b7d4b Compare January 25, 2024 21:42
@abelsromero abelsromero force-pushed the branch-main/issue-609-handle-mojos-default-value-in-tests branch from e3b7d4b to d3fa92f Compare January 25, 2024 22:01
@abelsromero abelsromero merged commit 92f7120 into asciidoctor:main Jan 25, 2024
20 checks passed
@abelsromero abelsromero deleted the branch-main/issue-609-handle-mojos-default-value-in-tests branch February 11, 2024 17:45
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.

None yet

1 participant