Skip to content

feat(test): deprecation message for test package#484

Merged
adamruzicka merged 2 commits intotheforeman:masterfrom
MariaAga:depreacte-test
Oct 30, 2025
Merged

feat(test): deprecation message for test package#484
adamruzicka merged 2 commits intotheforeman:masterfrom
MariaAga:depreacte-test

Conversation

@MariaAga
Copy link
Member

@MariaAga MariaAga commented Apr 9, 2025

BREAKING CHANGE:
Breaks test with an error explaining what to do

Merged after: theforeman/foreman#10239

runScript(getJestBin(), errorHandling, jestArgs);

throw new Error(
'@theforeman/test package has been deprecated and will not be maintained. If you wish to continue using this packages use v15 or lower. For more information and alternatives, please refer to: https://SOME_URL.'
Copy link
Member Author

Choose a reason for hiding this comment

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

BREAKING CHANGE:
Breaks test with an error explaining what to do
@MariaAga MariaAga marked this pull request as ready for review June 11, 2025 09:33
Copy link
Member

@ShimShtein ShimShtein left a comment

Choose a reason for hiding this comment

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

Since the new testing is merged in core, we can deprecate the old testing procedure.
Don't forget to create a new version of the package!

@ShimShtein
Copy link
Member

Now that I see all the failures, I think we should change the workflows too

@MariaAga MariaAga force-pushed the depreacte-test branch 5 times, most recently from 11b2c5c to 2c108b4 Compare July 24, 2025 14:37
BREAKING CHANGE:
Uses foremans new test logic
@MariaAga
Copy link
Member Author

@ShimShtein all green 🍏

Copy link
Contributor

@adamruzicka adamruzicka left a comment

Choose a reason for hiding this comment

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

Looks reasonable

@adamruzicka adamruzicka merged commit ece9047 into theforeman:master Oct 30, 2025
13 checks passed
@adamruzicka
Copy link
Contributor

Thank you @MariaAga !

@github-actions
Copy link

🎉 This PR is included in version 16.0.0 🎉

The release is available on:

Thank you for your contribution, your foreman-js bot 🤖

1 similar comment
@github-actions
Copy link

🎉 This PR is included in version 16.0.0 🎉

The release is available on:

Thank you for your contribution, your foreman-js bot 🤖

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.

3 participants