Better plugin configuration patterns / guidelines. #5516
Labels
priority/backlog
Issue is approved and in the backlog
unscoped
The issue needs more design or understanding in order for the work to progress
The unit tests for the SPIRE built-in plugins all have some form of unit testing; but, the patterns established in the unit testing are varied:
plugintest.CoreConfig(...)
About the only item that's mostly consistent is that the plugin's config is passed as a string.
I recommend that this Issue capture the desired testing interface which would support all of the common configuration testing scenarios, facilitating a better and more consistent means of plugin configuration testing.
This should also extend into the realm of creating a simple to use Validation testing interface, so we can have a consistent plugin testing experience.
Lack of consistency in plugin testing was detected in #5303
If we keep testing more consistent between built-in plugins, it would be easier to focus on configuration permutations, option coverage, etc.
The text was updated successfully, but these errors were encountered: