Skip to content

Conversation

@evgeni
Copy link
Member

@evgeni evgeni commented Oct 25, 2023

No description provided.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

@evgeni
Copy link
Member Author

evgeni commented Oct 25, 2023

So, we could have a test:things_plugins_need_to_test_from_core_and_naming_is_hard that lists access_permissions and test:$plugin depends on that (essentially, what openscap is doing plus an dependency)?

the other linked things are good own tests (as in: they are testing that the routes done by the plugin are sane), but I think executing the core version of the test also ensure we don't break stuff from core?

@ekohl
Copy link
Member

ekohl commented Oct 30, 2023

So I found how I tried to solve it in the past: theforeman/foreman-tasks@3ad347b can be summed up as theforeman/foreman_plugin_template#51

@kamils-iRonin
Copy link
Member

kamils-iRonin commented Feb 2, 2024

I like the idea of having a static list of recommended core tests in the core. I would also run all core tests on merge to master – to make sure that a plugin does not affect the core. Of course, making these core tests optional would still give us some flexibility.

@evgeni
Copy link
Member Author

evgeni commented Nov 11, 2024

I am going to call theforeman/foreman_plugin_template#51 the correct implementation for now, closing.

@evgeni evgeni closed this Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

4 participants