@@ -90,6 +90,9 @@ export interface HerokuPlatformApi {
90
90
'team-member' ?: TeamMember
91
91
'team-preferences' ?: TeamPreferences
92
92
team ?: Team
93
+ 'test-case' ?: TestCase
94
+ 'test-node' ?: TestNode
95
+ 'test-run' ?: TestRun
93
96
'user-preferences' ?: UserPreferences
94
97
'vpn-connection' ?: PrivateSpacesVpn
95
98
'whitelisted-add-on-service' ?: WhitelistedEntity
@@ -3868,6 +3871,209 @@ export interface Team {
3868
3871
updated_at ?: string
3869
3872
[ k : string ] : any
3870
3873
}
3874
+ /**
3875
+ * A single test case belonging to a test run
3876
+ */
3877
+ export interface TestCase {
3878
+ /**
3879
+ * unique identifier of a test case
3880
+ */
3881
+ id ?: string
3882
+ /**
3883
+ * when test case was created
3884
+ */
3885
+ created_at ?: string
3886
+ /**
3887
+ * when test case was updated
3888
+ */
3889
+ updated_at ?: string
3890
+ /**
3891
+ * description of the test case
3892
+ */
3893
+ description ?: string
3894
+ /**
3895
+ * meta information about the test case
3896
+ */
3897
+ diagnostic ?: string
3898
+ /**
3899
+ * special note about the test case e.g. skipped, todo
3900
+ */
3901
+ directive ?: string
3902
+ /**
3903
+ * whether the test case was successful
3904
+ */
3905
+ passed ?: boolean
3906
+ /**
3907
+ * the test number
3908
+ */
3909
+ number ?: number
3910
+ /**
3911
+ * the test node which executed this test case
3912
+ */
3913
+ test_node ?: {
3914
+ id ?: string
3915
+ [ k : string ] : any
3916
+ }
3917
+ /**
3918
+ * the test run which owns this test case
3919
+ */
3920
+ test_run ?: {
3921
+ id ?: string
3922
+ [ k : string ] : any
3923
+ }
3924
+ [ k : string ] : any
3925
+ }
3926
+ /**
3927
+ * A single test node belonging to a test run
3928
+ */
3929
+ export interface TestNode {
3930
+ /**
3931
+ * when test node was created
3932
+ */
3933
+ created_at ?: string
3934
+ /**
3935
+ * the dyno which belongs to this test node
3936
+ */
3937
+ dyno ?: {
3938
+ [ k : string ] : any
3939
+ } | null
3940
+ /**
3941
+ * the status of the test run when the error occured
3942
+ */
3943
+ error_status ?: string | null
3944
+ /**
3945
+ * the exit code of the test script
3946
+ */
3947
+ exit_code ?: number | null
3948
+ id ?: string
3949
+ /**
3950
+ * The index of the test node
3951
+ */
3952
+ index ?: number
3953
+ /**
3954
+ * human friendly message indicating reason for an error
3955
+ */
3956
+ message ?: string | null
3957
+ /**
3958
+ * the streaming output for the test node
3959
+ */
3960
+ output_stream_url ?: string
3961
+ /**
3962
+ * the pipeline which owns this test node
3963
+ */
3964
+ pipeline ?: {
3965
+ id ?: string
3966
+ [ k : string ] : any
3967
+ }
3968
+ /**
3969
+ * the streaming test setup output for the test node
3970
+ */
3971
+ setup_stream_url ?: string
3972
+ /**
3973
+ * current state of the test run
3974
+ */
3975
+ status ?: 'pending' | 'cancelled' | 'creating' | 'building' | 'running' | 'succeeded' | 'failed' | 'errored'
3976
+ /**
3977
+ * when test node was updated
3978
+ */
3979
+ updated_at ?: string
3980
+ /**
3981
+ * the test run which owns this test node
3982
+ */
3983
+ test_run ?: {
3984
+ id ?: string
3985
+ [ k : string ] : any
3986
+ }
3987
+ [ k : string ] : any
3988
+ }
3989
+ /**
3990
+ * An execution or trial of one or more tests
3991
+ */
3992
+ export interface TestRun {
3993
+ /**
3994
+ * the email of the actor triggering the test run
3995
+ */
3996
+ actor_email ?: string
3997
+ /**
3998
+ * whether the test was run with an empty cache
3999
+ */
4000
+ clear_cache ?: boolean | null
4001
+ /**
4002
+ * the branch of the repository that the test run concerns
4003
+ */
4004
+ commit_branch ?: string
4005
+ /**
4006
+ * the message for the commit under test
4007
+ */
4008
+ commit_message ?: string
4009
+ /**
4010
+ * the SHA hash of the commit under test
4011
+ */
4012
+ commit_sha ?: string
4013
+ /**
4014
+ * whether the test run was started for interactive debugging
4015
+ */
4016
+ debug ?: boolean
4017
+ /**
4018
+ * the app setup for the test run
4019
+ */
4020
+ app_setup ?: null | {
4021
+ [ k : string ] : any
4022
+ }
4023
+ /**
4024
+ * when test run was created
4025
+ */
4026
+ created_at ?: string
4027
+ /**
4028
+ * the type of dynos used for this test-run
4029
+ */
4030
+ dyno ?: null | {
4031
+ [ k : string ] : any
4032
+ }
4033
+ /**
4034
+ * unique identifier of a test run
4035
+ */
4036
+ id ?: string
4037
+ /**
4038
+ * human friendly message indicating reason for an error
4039
+ */
4040
+ message ?: string | null
4041
+ /**
4042
+ * the auto incrementing test run number
4043
+ */
4044
+ number ?: number
4045
+ /**
4046
+ * the organization that owns this test-run
4047
+ */
4048
+ organization ?: null | {
4049
+ [ k : string ] : any
4050
+ }
4051
+ /**
4052
+ * the pipeline which owns this test-run
4053
+ */
4054
+ pipeline ?: {
4055
+ id ?: string
4056
+ [ k : string ] : any
4057
+ }
4058
+ /**
4059
+ * current state of the test run
4060
+ */
4061
+ status ?: 'pending' | 'cancelled' | 'creating' | 'building' | 'running' | 'succeeded' | 'failed' | 'errored'
4062
+ /**
4063
+ * The download location for the source code to be tested
4064
+ */
4065
+ source_blob_url ?: string
4066
+ /**
4067
+ * when test-run was updated
4068
+ */
4069
+ updated_at ?: string
4070
+ user ?: Account
4071
+ /**
4072
+ * human friently warning emitted during the test run
4073
+ */
4074
+ warning_message ?: string | null
4075
+ [ k : string ] : any
4076
+ }
3871
4077
/**
3872
4078
* Tracks a user's preferences and message dismissals
3873
4079
*/
0 commit comments