TestWorkflowExecution
testworkflows.testkube.io / v1
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflowExecution
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 required
TestWorkflowExecution specification
executionRequest object
TestWorkflowExecutionRequest contains TestWorkflow execution parameters
config
object
disableWebhooks
boolean
whether webhooks should be disabled for this execution
name
string
custom execution name
testWorkflowExecutionName
string
test workflow execution name started the test workflow execution
testWorkflow object required
LocalObjectReference contains enough information to let you locate the
referenced object inside the same namespace.
name
string
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
status object
TestWorkflowExecutionStatus specification
generation
integer
test workflow execution generation
format:
int64latestExecution object
INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
Important: Run "make" to regenerate code after modifying this file
disableWebhooks
boolean
whether webhooks should be disabled for this execution
id
string required
unique execution identifier
name
string required
execution name
namespace
string
execution namespace
number
integer
sequence number for the execution
format:
int32output []object
additional information from the steps, like referenced executed tests or artifacts
name
string
output kind name
ref
string
step reference
value
object
value returned
reports []object
generated reports from the steps, like junit
file
string
file path to full report in artifact storage
kind
string
report kind/type
ref
string
step reference
summary object
TestWorkflowStepReportSummary contains report summary of TestWorkflow
duration
integer
total duration of all test cases in milliseconds
format:
int64
errored
integer
number of error test cases
format:
int32
failed
integer
number of failed test cases
format:
int32
passed
integer
number of passed test cases
format:
int32
skipped
integer
number of skipped test cases
format:
int32
tests
integer
total number of test cases
format:
int32
resolvedWorkflow
object
result object
TestWorkflowResult contains result of TestWorkflow
duration
string
Go-formatted (human-readable) duration
durationMs
integer
Duration in milliseconds
format:
int32
finishedAt
string
when the pod has been completed
format:
date-timeinitialization object
TestWorkflowStepResult contains step result of TestWorkflow
errorMessage
string
exitCode
integer
format:
int64
finishedAt
string
when the container was finished
format:
date-time
queuedAt
string
when the container was created
format:
date-time
startedAt
string
when the container was started
format:
date-time
status
string
TestWorkfloStepwStatus has step status of TestWorkflow
pausedMs
integer
Pause duration in milliseconds
format:
int32pauses []object
pausedAt
string required
when the pause has started
format:
date-time
ref
string required
step at which it was paused
resumedAt
string
when the pause has ended
format:
date-time
predictedStatus
string required
TestWorkflowStatus has status of TestWorkflow
enum:
queued, running, paused, passed, failed, aborted
queuedAt
string
when the pod was created
format:
date-time
startedAt
string
when the pod has been successfully assigned
format:
date-time
status
string required
TestWorkflowStatus has status of TestWorkflow
enum:
queued, running, paused, passed, failed, aborted
steps
object
totalDuration
string
Go-formatted (human-readable) total duration (incl. pause)
totalDurationMs
integer
Total duration in milliseconds (incl. pause)
format:
int32
scheduledAt
string
when the execution has been scheduled to run
format:
date-timesignature []object
structured tree of steps
category
string
step category, that may be used as name fallback
children
object
name
string
step name
negative
boolean
is the step/group meant to be negative
optional
boolean
is the step/group meant to be optional
ref
string
step reference
statusAt
string
when the execution result's status has changed last time (queued, passed, failed)
format:
date-time
testWorkflowExecutionName
string
test workflow execution name started the test workflow execution
workflow
object required
No matches. Try .spec.executionRequest for an exact path