██ ██ ██ ██ ██████ ████████ ███████ ███████ ████████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
█████ ██ ██ ██████ ██ █████ ███████ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ██████ ██████ ██ ███████ ███████ ██
/kʌb tɛst/ by Kubeshop
EXCUTOR TEMPLATE
Kubetest Template Executor is test executor for Kubtest
Please follow to main kubtest repository for reporting any issues or discussions
-
Create new repo on top of this template
-
Implement your own Runner on top of [runner interface](https://github.com/kubeshop/kubtest/blob/main/pkg/runner/interface.go
-
Change Dockerfile - use base image of whatever test framework/library you want to use
-
Register Executor Custom Resource in your cluster
apiVersion: executor.kubtest.io/v1
kind: Executor
metadata:
name: example-executor
spec:
uri: http://template-executor:8082
types:
- example/testTemplate executor implement work queue on top of API REST endpoints Work queue implemented on top of MongoDB. You can scale workers easily on many nodes.
Kubtest will pass particular test execution based on executor registered types (e.g. "postman/collection' or 'cypress/project')
executor/server package introduce 2 endpoints
- first for pushing execution to queue and
- second for getting execution details from queue
TODO add architecture diagrams
Template executor implements Kubtest OpenAPI for executors (look at executor tag)