Skip to content

Commit 781c63e

Browse files
committed
initial file commit
1 parent bd3c118 commit 781c63e

File tree

13 files changed

+1920
-0
lines changed

13 files changed

+1920
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"projects_url": "https://s2.testspace.com/api/projects",
3+
"project_url": "https://s2.testspace.com/api/projects/{project}",
4+
"spaces_url": "https://s2.testspace.com/api/projects/{project}/spaces",
5+
"space_url": "https://s2.testspace.com/api/projects/{project}/spaces/{space}",
6+
"results_url": "https://s2.testspace.com/api/projects/{project}/spaces/{space}/results",
7+
"result_url": "https://s2.testspace.com/api/projects/{project}/spaces/{space}/results/{result}",
8+
"users_url": "https://s2.testspace.com/api/users"
9+
}

tests/mock_requests/contents.json

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
[
2+
{
3+
"id": 8351241,
4+
"name": "not tracked",
5+
"description": null,
6+
"type": "suite",
7+
"path": "not tracked",
8+
"case_counts": [
9+
1,
10+
0,
11+
1,
12+
0
13+
],
14+
"annotation_counts": [
15+
0,
16+
0,
17+
0
18+
],
19+
"failure_counts": [
20+
0,
21+
0,
22+
0,
23+
0,
24+
0,
25+
0
26+
],
27+
"duration": 0.0,
28+
"custom_data": {},
29+
"status": "passed",
30+
"download_url": "https://abccorp.testspace.com/api/files/1082435"
31+
},
32+
{
33+
"id": 8351242,
34+
"name": "consistent",
35+
"description": null,
36+
"type": "suite",
37+
"path": "consistent",
38+
"case_counts": [
39+
0,
40+
2,
41+
0,
42+
1
43+
],
44+
"annotation_counts": [
45+
0,
46+
0,
47+
0
48+
],
49+
"failure_counts": [
50+
0,
51+
0,
52+
3,
53+
0,
54+
0,
55+
0
56+
],
57+
"duration": 0.0,
58+
"custom_data": {},
59+
"status": "failed",
60+
"download_url": "https://abccorp.testspace.com/api/files/1082436"
61+
},
62+
{
63+
"id": 8351243,
64+
"name": "flaky",
65+
"description": null,
66+
"type": "suite",
67+
"path": "flaky",
68+
"case_counts": [
69+
1,
70+
3,
71+
0,
72+
0
73+
],
74+
"annotation_counts": [
75+
0,
76+
0,
77+
0
78+
],
79+
"failure_counts": [
80+
0,
81+
4,
82+
0,
83+
0,
84+
0,
85+
0
86+
],
87+
"duration": 0.0,
88+
"custom_data": {},
89+
"status": "failed",
90+
"download_url": "https://abccorp.testspace.com/api/files/1082437"
91+
},
92+
{
93+
"id": 8351244,
94+
"name": "passing",
95+
"description": null,
96+
"type": "suite",
97+
"path": "passing",
98+
"case_counts": [
99+
1,
100+
0,
101+
0,
102+
0
103+
],
104+
"annotation_counts": [
105+
0,
106+
0,
107+
0
108+
],
109+
"failure_counts": [
110+
0,
111+
0,
112+
0,
113+
1,
114+
0,
115+
0
116+
],
117+
"duration": 0.0,
118+
"custom_data": {},
119+
"status": "passed",
120+
"download_url": "https://abccorp.testspace.com/api/files/1082438"
121+
},
122+
{
123+
"id": 8351245,
124+
"name": "resolved",
125+
"description": null,
126+
"type": "suite",
127+
"path": "resolved",
128+
"case_counts": [
129+
1,
130+
0,
131+
0,
132+
0
133+
],
134+
"annotation_counts": [
135+
0,
136+
0,
137+
0
138+
],
139+
"failure_counts": [
140+
0,
141+
0,
142+
0,
143+
0,
144+
1,
145+
0
146+
],
147+
"duration": 0.0,
148+
"custom_data": {},
149+
"status": "passed",
150+
"download_url": "https://abccorp.testspace.com/api/files/1082439"
151+
}
152+
]

tests/mock_requests/failures.json

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
[
2+
{
3+
"key": "consistent().failed",
4+
"history": [
5+
"F",
6+
"F",
7+
"F",
8+
"F",
9+
"F"
10+
],
11+
"state": "consistent",
12+
"exempt": false,
13+
"message": null,
14+
"failed_at": "2019-09-26T21:39:02.496+00:00",
15+
"passed_at": null,
16+
"tracked_count": 6
17+
},
18+
{
19+
"key": "consistent().failed with missing",
20+
"history": [
21+
"F",
22+
"M",
23+
"F",
24+
"M",
25+
"F"
26+
],
27+
"state": "consistent",
28+
"exempt": false,
29+
"message": null,
30+
"failed_at": "2019-09-26T21:39:02.497+00:00",
31+
"passed_at": "2019-09-26T21:39:08.196+00:00",
32+
"tracked_count": 6
33+
},
34+
{
35+
"key": "consistent().errored",
36+
"history": [
37+
"E",
38+
"E",
39+
"E",
40+
"E",
41+
"E"
42+
],
43+
"state": "consistent",
44+
"exempt": false,
45+
"message": null,
46+
"failed_at": "2019-09-26T21:39:02.498+00:00",
47+
"passed_at": null,
48+
"tracked_count": 6
49+
},
50+
{
51+
"key": "flaky().alternating passed/failed",
52+
"history": [
53+
"F",
54+
"P",
55+
"F",
56+
"P",
57+
"F"
58+
],
59+
"state": "flaky",
60+
"exempt": false,
61+
"message": null,
62+
"failed_at": "2019-09-26T21:39:12.173+00:00",
63+
"passed_at": null,
64+
"tracked_count": 6
65+
},
66+
{
67+
"key": "flaky().failed with errored",
68+
"history": [
69+
"F",
70+
"E",
71+
"F",
72+
"F",
73+
"F"
74+
],
75+
"state": "flaky",
76+
"exempt": false,
77+
"message": null,
78+
"failed_at": "2019-09-26T21:39:02.500+00:00",
79+
"passed_at": null,
80+
"tracked_count": 6
81+
},
82+
{
83+
"key": "flaky().failed with not_applicable",
84+
"history": [
85+
"F",
86+
"F",
87+
"N",
88+
"F",
89+
"F"
90+
],
91+
"state": "flaky",
92+
"exempt": false,
93+
"message": null,
94+
"failed_at": "2019-09-26T21:39:08.202+00:00",
95+
"passed_at": null,
96+
"tracked_count": 6
97+
},
98+
{
99+
"key": "flaky().Passing with errored",
100+
"history": [
101+
"E",
102+
"P",
103+
"P",
104+
"E",
105+
"P"
106+
],
107+
"state": "flaky",
108+
"exempt": false,
109+
"message": null,
110+
"failed_at": "2019-09-26T21:39:08.203+00:00",
111+
"passed_at": "2019-09-26T21:39:12.169+00:00",
112+
"tracked_count": 5
113+
},
114+
{
115+
"key": "passing().latest passed",
116+
"history": [
117+
"F",
118+
"F",
119+
"F",
120+
"F",
121+
"P"
122+
],
123+
"state": "passing",
124+
"exempt": false,
125+
"message": null,
126+
"failed_at": "2019-09-26T21:39:02.501+00:00",
127+
"passed_at": "2019-09-26T21:39:12.171+00:00",
128+
"tracked_count": 6
129+
},
130+
{
131+
"key": "resolved().five passed",
132+
"history": [
133+
"P",
134+
"P",
135+
"P",
136+
"P",
137+
"P"
138+
],
139+
"state": "resolved",
140+
"exempt": false,
141+
"message": null,
142+
"failed_at": "2019-09-26T21:39:02.502+00:00",
143+
"passed_at": "2019-09-26T21:39:04.238+00:00",
144+
"tracked_count": 0
145+
}
146+
]

0 commit comments

Comments
 (0)