README
¶
██ ██ ██ ██ ██████ ████████ ███████ ███████ ████████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
█████ ██ ██ ██████ ██ █████ ███████ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ██████ ██████ ██ ███████ ███████ ██
/kʌb tɛst/ by Kubeshop
EXCUTOR TEMPLATE
Welcome to Kubtest Template Executor
Kubetest Template Executor is test executor for Kubtest
Issues and enchancements
Please follow to main kubtest repository for reporting any issues or discussions
Implemention in 4 steps:
-
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/test
Architecture
Template 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
API
Template executor implements Kubtest OpenAPI for executors (look at executor tag)
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
pkg
|
|
newman
struct autogenerated from output file some fields could be missing example command newman run jw1.postman_collection.json --reporters cli,json --reporter-json-export outputfile.json
|
struct autogenerated from output file some fields could be missing example command newman run jw1.postman_collection.json --reporters cli,json --reporter-json-export outputfile.json |