Most important fixtures included

The current list of all available fixtures can be found by running pytest --fixtures.

The most important list is included below.

Generic fixture

This package contains modules for working with standard kubernetes API objects

Flux CD

This package includes fixtures and utilities to work with Flux CD.

Giant Swarm App Platform

This package includes utilities to work with Giant Swarm application platform.

Applications useful for testing

We provide fixtures delivering some applications that might be useful for testing apps, like load generators or simple test apps. They are deployed using Giant Swarm App Platform fixtures.

HTTP testing

A factory fixture to return a function that can produce Gatling instances. Gatling is a HTTP performance testing tool. Fixture's scope is 'module'..

Parameters
Returns (iterable of GatlingAppFactoryFunc)

A function you can use to create Gatling instances.

A factory fixture to return a function that can produce Stromforger Load App instances. Fixture's scope is 'module'..

Parameters

A function you can use to create stormforger instances. The function has the following args.

Examples

Create and run using 8 replicas erving the 'loadtest.local' URL. Use affinity selector to run on the 'localhost' Kubernetes Node.

>>> stormforger_load_app_factory(8, "loadtest.local", {"kubernetes.io/hostname": "localhost"})