TestSuite
tests.testkube.io / v3
apiVersion: tests.testkube.io/v3
kind: TestSuite
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
TestSuiteSpec defines the desired state of TestSuite
after []object
After batch steps is list of batch tests which will be sequentially orchestrated for parallel tests in each batch
downloadArtifacts object
options to download artifacts from previous steps
allPreviousSteps
boolean
previousStepNumbers
[]integer
previous step numbers starting from 1
previousTestNames
[]string
previous test names
execute []object
delay
string
delay duration in time units
format:
durationexecutionRequest object
TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions.
args
[]string
additional executor binary arguments
argsMode
string
usage mode for arguments
enum:
append, override, replace
command
[]string
executor binary command
cronJobTemplate
string
cron job template extensions
cronJobTemplateReference
string
cron job template extensions reference
executionLabels
object
test execution labels
httpProxy
string
http proxy for executor containers
httpsProxy
string
https proxy for executor containers
jobTemplate
string
job template extensions
jobTemplateReference
string
job template extensions reference
negativeTest
boolean
negative test will fail the execution if it is a success and it will succeed if it is a failure
pvcTemplate
string
pvc template extensions
pvcTemplateReference
string
pvc template extensions reference
runningContext object
RunningContext for test or test suite execution
context
string
Context value depending from its type
type
string required
One of possible context types
scraperTemplate
string
scraper template extensions
scraperTemplateReference
string
scraper template extensions reference
sync
boolean
whether to start execution sync or async
variables
object
test
string
object name
stopOnFailure
boolean required
before []object
Before batch steps is list of batch tests which will be sequentially orchestrated for parallel tests in each batch
downloadArtifacts object
options to download artifacts from previous steps
allPreviousSteps
boolean
previousStepNumbers
[]integer
previous step numbers starting from 1
previousTestNames
[]string
previous test names
execute []object
delay
string
delay duration in time units
format:
durationexecutionRequest object
TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions.
args
[]string
additional executor binary arguments
argsMode
string
usage mode for arguments
enum:
append, override, replace
command
[]string
executor binary command
cronJobTemplate
string
cron job template extensions
cronJobTemplateReference
string
cron job template extensions reference
executionLabels
object
test execution labels
httpProxy
string
http proxy for executor containers
httpsProxy
string
https proxy for executor containers
jobTemplate
string
job template extensions
jobTemplateReference
string
job template extensions reference
negativeTest
boolean
negative test will fail the execution if it is a success and it will succeed if it is a failure
pvcTemplate
string
pvc template extensions
pvcTemplateReference
string
pvc template extensions reference
runningContext object
RunningContext for test or test suite execution
context
string
Context value depending from its type
type
string required
One of possible context types
scraperTemplate
string
scraper template extensions
scraperTemplateReference
string
scraper template extensions reference
sync
boolean
whether to start execution sync or async
variables
object
test
string
object name
stopOnFailure
boolean required
description
string
executionRequest object
test suite execution request body
cronJobTemplate
string
cron job template extensions
cronJobTemplateReference
string
name of the template resource
executionLabels
object
execution labels
httpProxy
string
http proxy for executor containers
httpsProxy
string
https proxy for executor containers
jobTemplate
string
job template extensions
jobTemplateReference
string
name of the template resource
labels
object
test suite labels
name
string
test execution custom name
namespace
string
test kubernetes namespace (\"testkube\" when not set)
pvcTemplate
string
pvc template extensions
pvcTemplateReference
string
name of the template resource
scraperTemplate
string
scraper template extensions
scraperTemplateReference
string
name of the template resource
secretUUID
string
secret uuid
sync
boolean
whether to start execution sync or async
timeout
integer
timeout for test suite execution
format:
int32
variables
object
repeats
integer
schedule
string
schedule in cron job format for scheduled test execution
steps []object
Batch steps is list of batch tests which will be sequentially orchestrated for parallel tests in each batch
downloadArtifacts object
options to download artifacts from previous steps
allPreviousSteps
boolean
previousStepNumbers
[]integer
previous step numbers starting from 1
previousTestNames
[]string
previous test names
execute []object
delay
string
delay duration in time units
format:
durationexecutionRequest object
TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions.
args
[]string
additional executor binary arguments
argsMode
string
usage mode for arguments
enum:
append, override, replace
command
[]string
executor binary command
cronJobTemplate
string
cron job template extensions
cronJobTemplateReference
string
cron job template extensions reference
executionLabels
object
test execution labels
httpProxy
string
http proxy for executor containers
httpsProxy
string
https proxy for executor containers
jobTemplate
string
job template extensions
jobTemplateReference
string
job template extensions reference
negativeTest
boolean
negative test will fail the execution if it is a success and it will succeed if it is a failure
pvcTemplate
string
pvc template extensions
pvcTemplateReference
string
pvc template extensions reference
runningContext object
RunningContext for test or test suite execution
context
string
Context value depending from its type
type
string required
One of possible context types
scraperTemplate
string
scraper template extensions
scraperTemplateReference
string
scraper template extensions reference
sync
boolean
whether to start execution sync or async
variables
object
test
string
object name
stopOnFailure
boolean required
status object
TestSuiteStatus defines the observed state of TestSuite
latestExecution object
latest execution result
endTime
string
test suite execution end time
format:
date-time
id
string
execution id
startTime
string
test suite execution start time
format:
date-time
status
string
No matches. Try .spec.after for an exact path