You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The schema version of WFC needed to use to validate and process this document.
28
28
*/
29
-
schema_version: string;
29
+
schemaVersion: string;
30
30
/**
31
31
* The name of the tool used to create the test cases reported in this document.
32
32
*/
33
-
tool_name: string;
33
+
toolName: string;
34
34
/**
35
35
* The version number of the used tool, e.g., 1.0.0.
36
36
*/
37
-
tool_version: string;
37
+
toolVersion: string;
38
38
/**
39
39
* The timestamp of when this report file was created.
40
40
*/
41
-
creation_time: string;
41
+
creationTime: string;
42
42
faults: Faults;
43
-
problem_details: {
43
+
problemDetails: {
44
44
rest?: RESTReport;
45
45
[k: string]: unknown;
46
46
};
47
47
/**
48
48
* The total number of test cases generated by the tool.
49
49
*/
50
-
total_tests: number;
50
+
totalTests: number;
51
51
/**
52
52
* The list of relative paths (compared to this document) of all the generated test suite files.
53
53
*/
54
-
test_file_paths: TestFilePath[];
54
+
testFilePaths: TestFilePath[];
55
55
/**
56
56
* Information on each generated test case.
57
57
*/
58
-
test_cases: TestCase[];
58
+
testCases: TestCase[];
59
59
/**
60
60
* Extra, optional coverage information, collected by different tools.
61
61
*/
@@ -66,23 +66,23 @@ export interface Faults {
66
66
/**
67
67
* The total number of potential faults identified in the generated test suites. Each fault is uniquely identified with its 'code' category and 'context'. Note that different tests can detect the same fault, and a test case can detect several different faults.
68
68
*/
69
-
total_number: number;
69
+
totalNumber: number;
70
70
/**
71
71
* Information on all the identified potential faults.
72
72
*/
73
-
found_faults: FoundFault[];
73
+
foundFaults: FoundFault[];
74
74
[k: string]: unknown;
75
75
}
76
76
/**
77
77
* Data-structure to represent found faults, based on operations (e.g., HTTP endpoints in REST, and methods in GraphQL and RPC) and which tests find faults in them.
* Total number of HTTP calls made in all the test cases. A test case could contain several HTTP calls, e.g., a POST followed by a GET and then a DELETE.
105
105
*/
106
-
total_http_calls: number;
106
+
totalHttpCalls: number;
107
107
/**
108
108
* Unique ids of all the endpoints in the tested API.
109
109
*/
110
-
endpoint_ids: OperationId[];
110
+
endpointIds: OperationId[];
111
111
/**
112
112
* List of which HTTP status codes were covered, based on endpoints.
113
113
*/
114
-
covered_http_status: CoveredEndpoint[];
114
+
coveredHttpStatus: CoveredEndpoint[];
115
115
[k: string]: unknown;
116
116
}
117
117
/**
118
118
* Data-structure to represent which HTTP status code where covered on an endpoint by any of the generated tests.
119
119
*/
120
120
exportinterfaceCoveredEndpoint{
121
-
endpoint_id: OperationId;
122
-
test_case_id: TestCaseId;
121
+
endpointId: OperationId;
122
+
testCaseId: TestCaseId;
123
123
/**
124
124
* As in a test case the same endpoint could be called more than once, here we report all of the obtained HTTP status codes
125
125
*
126
126
* @minItems 1
127
127
*/
128
-
http_status: [HttpStatus, ...HttpStatus[]];
128
+
httpStatus: [HttpStatus, ...HttpStatus[]];
129
129
[k: string]: unknown;
130
130
}
131
131
exportinterfaceTestCase{
132
132
id?: TestCaseId;
133
-
file_path?: TestFilePath;
133
+
filePath?: TestFilePath;
134
134
/**
135
135
* The name of the test case, as it appears in the generated test file.
136
136
*/
137
137
name?: string;
138
138
/**
139
139
* The line number in the generated test suite file where the code of this test case starts.
140
140
*/
141
-
start_line?: number;
141
+
startLine?: number;
142
142
/**
143
143
* The line number in the generated test suite file where the code of this test case ends.
144
144
*/
145
-
end_line?: number;
145
+
endLine?: number;
146
146
[k: string]: unknown;
147
147
}
148
148
exportinterfaceCoverage{
149
149
/**
150
150
* The name of the tool used to collect and compute the coverage criteria.
0 commit comments