Versions in this module Expand all Collapse all v0 v0.0.1 Aug 28, 2024 Changes in this version + func ComplianceTest[TDescriptor method.Descriptor, TConfig method.Config, TMethod method.Method](t *testing.T, testConfig TestConfiguration[TDescriptor, TConfig, TMethod]) + type ConfigStructTestCase struct + Config TConfig + ValidBuild bool + Validate func(method TMethod) error + type EncryptDecryptTestCase struct + ValidEncryptOnlyConfig TConfig + ValidFullConfig TConfig + type HCLParseTestCase struct + HCL string + ValidBuild bool + ValidHCL bool + Validate func(config TConfig, method TMethod) error + type TestConfiguration struct + ConfigStructTestCases map[string]ConfigStructTestCase[TConfig, TMethod] + Descriptor TDescriptor + EncryptDecryptTestCase EncryptDecryptTestCase[TConfig, TMethod] + HCLParseTestCases map[string]HCLParseTestCase[TDescriptor, TConfig, TMethod]