save-cli
save-cli copied to clipboard
Extract `Plugin.discoverTestFiles` and create `Plugin` only if there are test resources
Currently we create Plugin for all PluginConfig and then discover test files to exclude plugin config for hierarchy. This logic is common for all plugins and can be extracted to a separate class. It'll allow to validate configs on this level instead of before executing a files