Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublisherTestSuite ¶
func (PublisherTestSuite) TestTopic ¶
func (fx PublisherTestSuite) TestTopic(ctx context.Context, options TopicTestSuiteConfig)
type SchemaServiceTestSuite ¶
func (SchemaServiceTestSuite) TestSchema ¶
func (fx SchemaServiceTestSuite) TestSchema(ctx context.Context, options SchemaTestSuiteConfig)
type SchemaTestSuiteConfig ¶
type SchemaTestSuiteConfig struct { // The parents to use when creating resources. // At least one parent needs to be set. Depending on methods available on the resource, // more may be required. If insufficient number of parents are // provided the test will fail. Parents []string // Create should return a resource which is valid to create, i.e. // all required fields set. Create func(parent string) *Schema // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
type SnapshotTestSuiteConfig ¶
type SnapshotTestSuiteConfig struct { // The parents to use when creating resources. // At least one parent needs to be set. Depending on methods available on the resource, // more may be required. If insufficient number of parents are // provided the test will fail. Parents []string // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Snapshot // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
type SubscriberTestSuite ¶
func (SubscriberTestSuite) TestSnapshot ¶
func (fx SubscriberTestSuite) TestSnapshot(ctx context.Context, options SnapshotTestSuiteConfig)
func (SubscriberTestSuite) TestSubscription ¶
func (fx SubscriberTestSuite) TestSubscription(ctx context.Context, options SubscriptionTestSuiteConfig)
type SubscriptionTestSuiteConfig ¶
type SubscriptionTestSuiteConfig struct { // The parents to use when creating resources. // At least one parent needs to be set. Depending on methods available on the resource, // more may be required. If insufficient number of parents are // provided the test will fail. Parents []string // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Subscription // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
type TopicTestSuiteConfig ¶
type TopicTestSuiteConfig struct { // The parents to use when creating resources. // At least one parent needs to be set. Depending on methods available on the resource, // more may be required. If insufficient number of parents are // provided the test will fail. Parents []string // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Topic // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.