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

Revive the plugin inflection test as a skipped test #21524

Merged

Conversation

jrafanie
Copy link
Member

It all works but we don't have a plugin that has inflections now that v2v is
gone. The test is good but we can't run it without a generic plugin that does
this.

Followup to #21515

It all works but we don't have a plugin that has inflections now that v2v is
gone.  The test is good but we can't run it without a generic plugin that does
this.

Followup to ManageIQ#21515
@jrafanie jrafanie added the test label Oct 27, 2021
@jrafanie jrafanie requested a review from Fryguy as a code owner October 27, 2021 21:06
@Fryguy
Copy link
Member

Fryguy commented Oct 27, 2021

Thanks @jrafanie

@agrare, in discussing this with @jrafanie, I had an idea. What do you think about including the dummy provider as a development/test dependency only? Then we can hang things in there where we need a provider implementation for specs, but really don't want to rely on an actual provider. WDYT?

@Fryguy Fryguy self-assigned this Oct 27, 2021
@miq-bot
Copy link
Member

miq-bot commented Oct 27, 2021

Checked commit jrafanie@8a153b3 with ruby 2.6.3, rubocop 1.13.0, haml-lint 0.35.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. 🍰

@Fryguy Fryguy merged commit 869444e into ManageIQ:master Oct 28, 2021
@agrare
Copy link
Member

agrare commented Oct 28, 2021

Yeah we can do that, it wont be as flexible as stubbing supports. Also wonder if we could allow creation of non-leaf classes in test (e.g. ManageIQ::Providers::InfraManager)

@jrafanie jrafanie deleted the revive_plugin_inflection_test_skipped branch October 28, 2021 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants