replicated

package
v1.109.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

README

Replicated App Integration Tests

How this works

The replicated app integration test framework has a mock server that returns an archive. This was done to eliminate any external dependencies on this test and increase reliability.

Creating a new test

This kots integration tests have the ability to create new tests without requiring a lot of manual effort.

  1. Create a directory that has the destired YAML. Let's say this is in ~/my-new-test
  2. Run ./bin/kots-integration new-replicatedapp-fixture ~/my-new-test --name my-new-test

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTest

func GenerateTest(name string, rawArchivePath string) error

GenerateTest will create a new replicated app fixture for integration tests

func RunIntegration

func RunIntegration() error

func StartMockServer

func StartMockServer(archive, license []byte) (*http.Server, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL