e2e

module
v0.0.0-...-e7f266b Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT

README

AGIC E2E

AGIC E2E consists of two scenarios, MFU, Most Frequently Use, and LFU, Least Frequently Use. For each of the scenario, test cases are organized in a way that how ingress is defined with namespace:

  • One Namespace One Ingress, 1N1I
  • One Namespace Many Ingresses, 1NMI

One scenario can have multiple test suites, and one test suite can have multiple test cases.

for example, Test Suite or context "One Namespace One Ingress" defines a Test case or Spec "ssl-e2e-redirect", the test case deploys one ingress in a namespace.

// scenario
var _ = Describe("MFU", func() {
	var (
		clientset *kubernetes.Clientset
		crdClient *versioned.Clientset
		err       error
	)
    // test suite, 1N1I
	Context("One Namespace One Ingress", func() {
		BeforeEach(func() {
			clientset, crdClient, err = getClients()
			Expect(err).To(BeNil())
			cleanUp(clientset)
		})

        // test case
		It("[ssl-e2e-redirect] ssl termination and ssl redirect to https backend should work", func() {
            ...
        })
        ...
    })
}       

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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