forked from PilzHere/Foxenstein3D
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanual-testing-cases.html
549 lines (546 loc) · 17.5 KB
/
manual-testing-cases.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Manual testing cases</title>
<style>
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
tr:hover {
background-color: #f5f5f5;
}
</style>
</head>
<body>
<h2>Manual testing scenarios</h2>
<h3>All tests must be performed against a remote game server</h3>
<table>
<thead>
<tr>
<th>Screen</th>
<th>Description</th>
<th>Verified</th>
</tr>
</thead>
<tbody>
<tr>
<td>Enter player name screen</td>
<td>If user enters an empty/blank string then it doesn't transition to the next screen when
"Enter" is pressed.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Loading screen</td>
<td>If game server is down then it takes several attempts to reconnect. The game doesn't
crash.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Loading screen</td>
<td>If game server is up and credentials are correct then the player gets connected and shows up
on the map.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Loading screen</td>
<td>If game server is up but a different player has already connected with the same name then an
error pops
up. The game doesn't crash.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Loading screen</td>
<td>If game server is up but the server is full then an error pops up. The game doesn't crash.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>If 2 players are connected then they see each other moving with little-to-no delay.
Animation changes
smoothly.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>If player joins the game but the server goes offline mid-game, then an error pops up. Game
doesn't crash.
Can be tested by running 3-5 instances of the game at a time.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player 1 joins the game. After some time, player 2 joins too. Player 1 sees player 2 in the
game. Player 1 also hears the "spawn" sound + game log "player 2 has joined the game".
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>1 player joins a game. If the server is restarted, then the player successfully
reconnects to the game.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>3 players join the game: killer, victim and observer. killer kills victim twice. Then all
players turn wifi connection off and on. after re-establishing the connection, all players
should successfully reconnect and recover game stats: kills, deaths, and leaderboards. All
stats should be consistent across all players.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>A player joins the game and turns wifi connection off. After several reconnection attempts,
we should see an error screen saying that connection can't be established.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player can't move through a wall.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>One player can't shoot the other through a wall.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 plays with a terrible jitter(use toxiproxy jitter: 1+
seconds, 45% toxicity). Both players can see each-other more or less ok anyway. The game
should not crash. No player should get disconnected.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>3 players join the game: killer, victim, and observer. Killer shoots victim: killer player
sees victim
blinking red, victim player screen blinks red, observer player sees killer shooting and victim
blinking red. Must be tested against all weapons.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>3 players join the game: killer, victim, and observer. Killer shoots victim to death: killer
player sees
victim death,
victim sees "death" screen, observer player sees killer killing the victim. Killer is on the
top of the
leader board. Killer and observer hear victim death sounds. Victim makes a death sound.
Must be tested against all weapons.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>3 players join the game: killer, victim, and observer. Killer punches victim to death:
killer player sees
victim death,
victim sees "death" screen, observer player sees killer punching the victim. Killer is on the
top of the
leader board. Killer and observer hear victim death sounds. Victim makes a death sound.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game: cheater and observer. When cheater punches/shoots observer from too
far away, then
cheater stays connected but observer can't see any shooting/punching events coming from
cheater.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player join the game with a 5x speed boost (DESKTOP_SPEED_BOOST=5). After running on the
map, the player is disconnected from the server for cheating.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 kills player 2 three times. After that, player 2 kills
player 1 four times.
Player 1 hears "you have lost the lead", while player 2 hears "you have taken the lead".
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game with 5 frags to win. Player 1 kills player 2 five times.
All this time, player 1 hears the "N frags left" countdown starting from 3 frags.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game with 5 frags to win. Player 1 kills player 2 four times.
Player 2 kills player 1 once. No countdown is heard.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game with 5 frags to win. Player 1 kills player 2 four times.
Player 2 kills player 1 twice. No countdown is heard.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game with 5 frags to win. Player 1 kills player 2 four times.
Player 2 kills player 1 four times. No countdown is heard.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game with 5 frags to win. Player 1 kills player 2 three times.
Player 2 kills player 1 four times. "One frag left" is heard.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 publishes a message to chat. Player 2 sees the message.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 publishes an empty/blank message to chat. Message is not
sent.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 presses "Esc" and goes to main menu. Player 2 sees player
1 exit the
game.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 terminates the game(alt+f4). Player 2 sees player 1 exit
the
game.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 doesn't move. Player 2 goes see player 1. Player 2 shoots.
Player 1 sees
player 2 shooting without changing position on the map.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 shoots player 2. Then player 2 kills player 1. After that,
player 2 health
is buffed +20.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 kills player 2. While player 2 is dead, he can't move but
can observe the
game scene, get leaderboard updated and push chat messages. Dead player doesn't get
disconnected. Sound is
consistent while seeing death screen. You can't change weapon while dead.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 kills player 2 twenty times in a row. Player 2 respawns
successfully. Player 2 stats(deaths and kills) are persisted. No game log "player 2 has joined
the game" is published.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 kills player 2 and the game server goes offline. Both
players see error
screen. Game doesn't crash though.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 stands to player's 2 left and shoots. Player 2 hears
shooting in the left ear.
Player 1 stands to player's 2 right and shoots. Player 2 hears shooting in the right ear.
Player 1 shoots in front of player 2. Player 2 hears shooting in both ears.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>20 bots are spawned on the screen(chaos testing). Player see the bots. Game doesn't crash.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Server requires 5 frags to win. 3 players join the game. Player 1 kills player 2 four times.
Player 2 kills player 1 five times. The game stops for all players. Player 2 is declared the
winner with 5 kills and 4 deaths. Player 1 is the second in the leaderboard with 4 kills and 5
deaths. Player 3 is at the bottom with 0 kill and 0 death counts.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>When a player joins a completely new game(restart server just for good measure), a quad
damage power-up spawns on the map.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Players 1 and 2 join the game. Player 2 shoots player 1. Player 1 picks "health" power-up.
After that, player 1 health is fully restored.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 picks up quad damage power up. Player 1 starts blinking
blue. When player 1 punches player 2 once, then player 2 dies. After respawn, player 2 still
sees player 1 having the power-up. After some time, player 1 stops blinking at the same time
on both players' screens.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player 1 picks-up quad damage power-up and waits for 10+ seconds. Power-up reverts. After
30+ seconds, a new quad damage power-up orb is spawned on the map.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player 1 picks quad damage power-up. After that, player 2 joins the game a sees player 1
blinking blue.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 picks-up quad damage power-up and exits the game. Player 2
sees quad damage orb spawning in 40+ seconds.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player 1 picks quad damage power-up and waits for 10+ seconds. After that, player 2 joins
the game and sees that player 1 having no active power-ups.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player 1 picks invisibility power-up. Player 2 can barely see player 1. Player 2 can't see
player 1 username while aiming.
After 15+ seconds, the power-up is gone.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player 1 picks defence power-up. Player 2 punches player 1 two times. Player 1 is alive. HP
is 50.
After 15+ seconds, the power-up is gone.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player 1 picks all power-ups. Player 2 can barely see player 1. Player 2 punches player 1
two times.
Player 1 is alive. HP is 50. After 15+ seconds, all power-ups are gone.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Players of all colors join the game. All players see correct colors.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Pink player kills blue player. Pink player sees blue player's skin after respawning.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player 1 kills player 2. Player 1 exits the game and joins it again. Player 2, while still
being dead, sees player 2 spawning.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>A player joins a game and can go through all teleports.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player 1 kills player 2 with a railgun. Player 1 has the "Accuracy" achievement.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player 1 kills player 2 with a gauntlet. Player 1 has the "Gauntlet humiliation"
achievement.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player 1 kills player 2 five times in a row. Player 1 has the "Holy Shit" achievement.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Player 1 kills player 2 and player 3 within 2 seconds. Player 1 has the "2 frags in 2
seconds" achievement.
achievement.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 1 taunts player 2. Player 2 see and hear all player 1
taunts.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>2 players join the game. Player 2 kills player 1. Player 1 can't taunt no more.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Two players join a game. First player stands in front of a teleport. Second player travels
through the teleport. First player sees second player teleporting. Second player sees
first player watching him. Repeat 50-100 times.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Two players join a game. Player 1 kills player 2 and then player 2 kills player 1.
After that, player 1 kills himself with a rocket launcher twice. Player 1 dies twice, player 2
sees player 1 dying. In the leaderboard, player 2 takes 1st place with 1 kill and 1 death,
while player 1 is on the second place with 1 kill and 3 deaths.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Two players join a game. Player 1 stands close to a door. Player 2 sees the door open.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Play screen</td>
<td>Players can't shoot each other through doors(except for rocket launcher).
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Any screen</td>
<td>Player presses alt+tab and the screen switches to Windows desktop
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Settings screen</td>
<td>When settings are updated, they persist(after game reboot as well).
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Settings screen</td>
<td>If sound volume is increased or decreased then player can hear it immediately.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Custom server screen</td>
<td>If empty or blank text is typed then the game doesn't transition to the next screen.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Custom server screen</td>
<td>If invalid host:port is typed in then the game doesn't transition to the next screen and an
error message
pops up.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Custom server screen</td>
<td>If valid ipv4 or domain is typed in then the game transition to the next screen. No error
pops up.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Custom server screen</td>
<td>Copy server host:port and then open the game. Press Ctrl+V on the custom server screen.
Copied host:port
must be pasted into the text input.
</td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>Custom server screen</td>
<td>Player connects to local server. Dies and respawns on the local server.
</td>
<td><input type="checkbox"></td>
</tr>
</tbody>
</table>
</body>
</html>