Versions in this module Expand all Collapse all v4 v4.2.0 Dec 22, 2025 Changes in this version + func Cases(t *testing.T, subject protoc.Plugin, cases map[string]Case) + func WithConfiguration(options ...PluginConfigurationOption) *protoc.PluginConfiguration + func WithDirectives(items ...string) (d []rule.Directive) + type Case struct + Basename string + Configuration *protoc.PluginConfiguration + Directives []rule.Directive + Input string + PluginName string + Rel string + SkipIntegration bool + func (tc *Case) Run(t *testing.T, subject protoc.Plugin) + func (tc *Case) RunIntegration(t *testing.T, subject protoc.Plugin, got *protoc.PluginConfiguration, ...) + type PluginConfigurationOption func(c *protoc.PluginConfiguration) + func WithLabel(t *testing.T, raw string) PluginConfigurationOption + func WithOptions(options ...string) PluginConfigurationOption + func WithOut(out string) PluginConfigurationOption + func WithOutputs(outputs ...string) PluginConfigurationOption