Miniature/Development/testcases

m (Game Endings)
(Replacing page with '{{Miniature}} '''We are moving to http://miniature-chess.org/'''')
 
(8 intermediate revisions not shown)
Line 1: Line 1:
-
= FICS tests =
+
{{Miniature}}
-
== Game Endings ==
+
  '''We are moving to http://miniature-chess.org/'''
-
 
+
-
This table contains every possible way to end a game in FICS. They all are listed from a players perspective. Please note that "player" in this test cases always uses Miniature and "opponent" an other client application ot just plain telnet. Please feel free to comlete things if not completed:
+
-
 
+
-
{| width="100%" cellspacing="1" cellpadding="1" border="1"
+
-
|-
+
-
! scope="col" | #
+
-
! scope="col" | Game's endReason
+
-
! scope="col" | Activepart
+
-
! scope="col" | Steps to reproduce
+
-
! scope="col" | Expected result
+
-
! scope="col" | Actual result
+
-
! scope="col" | FICS log
+
-
! scope="col" | Alreadytested?
+
-
! scope="col" | Testresult
+
-
|-
+
-
! scope="row" | 1.1.1
+
-
| Abort request during move 1 by player (white)
+
-
| player
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
 
+
-
2. Player: Request "Abort game"
+
-
 
+
-
|
+
-
*Game ends immidiately
+
-
*no rating modification happens
+
-
*SeekGames Window appears
+
-
 
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 1.1.2
+
-
| Abort request during move 1 by player (black)
+
-
| player
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
 
+
-
2. Opponent: Make a move (1. e4)
+
-
 
+
-
3. Player: Request "Abort game"
+
-
 
+
-
|
+
-
*Game ends immidiately
+
-
*no rating modification happens
+
-
*SeekGames Window appears
+
-
 
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 1.2
+
-
| Abort request during move 1 by opponent
+
-
| opponent
+
-
|  1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
2. Player: Make a move (1. e4)
+
-
 
+
-
3. Opponent: Request "Abort game"
+
-
 
+
-
|
+
-
*Game ends immidiately
+
-
*no rating modification happens
+
-
*Dialog with explanation appears: "Game aborted on move 1"
+
-
*SeekGames Window appears
+
-
 
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 1.3.1
+
-
|
+
-
Abort request after turn 1 by player:Opponent accepts
+
-
 
+
-
| player
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
 
+
-
2. Player: Make a move (1. e4)
+
-
 
+
-
3. Opponent: Make a move (1. ...e5)
+
-
 
+
-
4. Player: Request "Abort game"
+
-
 
+
-
5. Opponent accepts this request
+
-
 
+
-
|
+
-
*game's end dialog
+
-
 
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 1.3.2
+
-
| Abort request after turn 1 by player:Opponent declines
+
-
| opponent
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
 
+
-
2. Player: Make a move (1. e4)
+
-
 
+
-
3. Opponent: Make a move (1. ...e5)
+
-
 
+
-
4. Player: Request "Abort game"
+
-
 
+
-
5. Opponent declines this request
+
-
 
+
-
|
+
-
*An [http://www.developer.nokia.com/swipe/ux/pages/System_Banners.html information banner] should appear for 5 seconds: "Request declined by Opponent"
+
-
 
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 1.4.1
+
-
|
+
-
Abort request after turn 1 by opponent:
+
-
 
+
-
Player accepts
+
-
 
+
-
| player
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
 
+
-
2. Opponent: Make a move (1. e4)
+
-
 
+
-
3. Player: Make a move (1. ...e5)
+
-
 
+
-
4. Opponent: Request "Abort game"
+
-
 
+
-
|
+
-
*A non modal dialog (not overlaping the board) appears: "Opponent requests abort." + button "accept" + button "decline"
+
-
*On accept: games end dialog
+
-
 
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 1.4.2
+
-
|
+
-
Abort request after turn 1 by opponent:Player declines
+
-
 
+
-
| player
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
 
+
-
2. Opponent: Make a move (1. e4)
+
-
 
+
-
3. Player: Make a move (1. ...e5)
+
-
 
+
-
4. Opponent: Request "Abort game" 
+
-
 
+
-
|
+
-
*A non modal dialog (not overlaping the board) appears: "Opponent requests abort." + button "accept" + button "decline"
+
-
*On decline: Confirmation of this by an [http://www.developer.nokia.com/swipe/ux/pages/System_Banners.html information banner] which appears for 5 seconds "Abort request declined"
+
-
 
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 2.1.1
+
-
| Player proposes draw: Opponent accepts
+
-
| opponent
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
 
+
-
2. Player: Make a move (1. e4)
+
-
 
+
-
3. Opponent: Make a move (1. ...e5)
+
-
 
+
-
4. Player: Request "Propose Draw"
+
-
 
+
-
5. Opponent accepts this request
+
-
 
+
-
|
+
-
*game's end dialog with headline "game drawn!"
+
-
 
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 2.1.2
+
-
| Player proposes draw: Opponent declines
+
-
| opponent
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
 
+
-
2. Player: Make a move (1. e4)
+
-
 
+
-
3. Opponent: Make a move (1. ...e5)
+
-
 
+
-
4. Player: Request "Propose Draw"
+
-
 
+
-
5. Opponent declines this request
+
-
 
+
-
|
+
-
*An [http://www.developer.nokia.com/swipe/ux/pages/System_Banners.html information banner] should appear for 5 seconds: "Draw request declined by Opponent"
+
-
 
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 2.2.1
+
-
| Opponent proposes draw: Player accepts
+
-
| player
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
 
+
-
2. Opponent: Make a move (1. e4)
+
-
 
+
-
3. Player: Make a move (1. ...e5)
+
-
 
+
-
4. Opponent: Request "Propose Draw" 
+
-
 
+
-
|
+
-
*A non modal dialog (not overlaping the board) appears: "Opponent offers draw." + button "accept" + button "decline"
+
-
*On accept: game's end dialog
+
-
 
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 2.2.2
+
-
| Opponent proposes draw: Player declines
+
-
| player
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
 
+
-
2. Opponent: Make a move (1. e4)
+
-
 
+
-
3. Player: Make a move (1. ...e5)
+
-
 
+
-
4. Opponent: Request "Propose draw" 
+
-
 
+
-
|
+
-
*A non modal dialog (not overlaping the board) appears: "Opponent offers draw." + button "accept" + button "decline"
+
-
*On decline: Confirmation of this by an information banner which appears for 5 seconds "Abort request declined"
+
-
 
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 3.1.1
+
-
|
+
-
Player proposes adjourn: Opponent accepts
+
-
 
+
-
| opponent
+
-
|
+
-
same as in in 2.1.1 but "Adjourn request"
+
-
 
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 3.1.2
+
-
| Player proposes adjourn:Opponent declines
+
-
| opponent
+
-
|
+
-
same as in 2.1.2 but "Adjourn request"
+
-
 
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 3.2.1
+
-
| Opponent proposes adjourn: Player accepts
+
-
| player
+
-
|
+
-
same as in 2.2.1 but "Adjourn request"
+
-
 
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 3.2.2
+
-
| Opponent proposes adjourn: Player declines
+
-
| player
+
-
|
+
-
same as in 2.2.2 but "Adjourn request"
+
-
 
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 4.1
+
-
| Player resigns by request
+
-
| player
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
 
+
-
2. Player: Make a move (1. e4)
+
-
 
+
-
3. Opponent: Make a move (1. ...e5)
+
-
 
+
-
4. Player: Request "Resign game"
+
-
 
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 4.2
+
-
| Opponent resigns by request
+
-
| opponent
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)
+
-
 
+
-
2. Opponent: Make a move (1. e4)
+
-
 
+
-
3. Player: Make a move (1. ...e5)
+
-
 
+
-
4. Opponent: Request "Resign game" 
+
-
 
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 5.1
+
-
| Player forfelts on time
+
-
| player
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client): 1 minute + 0 seconds increment.
+
-
 
+
-
2. Wait until players time is over
+
-
 
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 5.2
+
-
| Opponent forfelts on time
+
-
| opponent
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client): 1 minute + 0 seconds increment.
+
-
 
+
-
2. Player: Make a move (1. e4)
+
-
 
+
-
3. Wait until opponents time is over
+
-
 
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 6.1
+
-
| Checkmate: player wins
+
-
| player
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as black
+
-
 
+
-
2. Opponent: Make a move (1. f3)
+
-
 
+
-
3. Player: Make a move (1. ...e5)
+
-
 
+
-
4. Opponent: Make a move (2. g4)
+
-
 
+
-
5. Player: Make a move (2. ...Dh4#)
+
-
 
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 6.2
+
-
| Checkmate: opponent wins
+
-
| opponent
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
+
-
 
+
-
2. Player: Make a move (1. f3)
+
-
 
+
-
3. Opponent: Make a move (1. ...e5)
+
-
 
+
-
4. Player: Make a move (2. g4)
+
-
 
+
-
5. Opponent: Make a move (2. ...Dh4#)
+
-
 
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 7.1
+
-
| Stalemate: players move
+
-
| player
+
-
| tbd
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 7.2
+
-
| Stalemate: opponents move
+
-
| opponent
+
-
| tbd
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 8.1
+
-
| Draw: [http://en.wikipedia.org/wiki/Glossary_of_chess#Insufficient_material insufficient material]:Players move
+
-
| player
+
-
| tbd
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 8.2
+
-
| Draw: [http://en.wikipedia.org/wiki/Glossary_of_chess#Insufficient_material insufficient material]:Opponents move
+
-
| opponent
+
-
| tbd
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 9.1
+
-
| Draw: [http://en.wikipedia.org/wiki/Fifty-move_rule 50-moves rule]:Players move
+
-
| player
+
-
| tbd
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 9.2
+
-
| Draw: [http://en.wikipedia.org/wiki/Fifty-move_rule 50 moves rule]:Opponents move
+
-
| opponent
+
-
| tbd
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 10.1
+
-
| Draw: [http://en.wikipedia.org/wiki/Threefold_repetition threefold repitition]Players move
+
-
| player
+
-
| tbd
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 10.2
+
-
| Draw: [http://en.wikipedia.org/wiki/Threefold_repetition threefold repitition]Opponents move
+
-
| opponent
+
-
| tbd
+
-
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 11.1.1
+
-
| Connection lost (by player) during players turn
+
-
| player
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
+
-
 
+
-
2. Disconnect players client
+
-
 
+
-
|
+
-
*A dialog appears "Reconnect and resume game?" + button "Yes" + button "No"
+
-
*Now Opponent has to decide: "Resume yes" or "Resume no"
+
-
 
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 11.1.2
+
-
|
+
-
Connection lost (by player) during opponents turn
+
-
 
+
-
| opponent
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
+
-
 
+
-
2. Player: Make a move (1. e4)
+
-
 
+
-
3. Disconnect players client
+
-
 
+
-
|
+
-
*A dialog appears "Reconnect and resume game?" + button "Yes" + button "No"
+
-
*Now Opponent has to decide: "Resume yes" or "Resume no"
+
-
 
+
-
|
+
-
|
+
-
|
+
-
|
+
-
|-
+
-
! scope="row" | 11.2.1
+
-
| Connection lost (by opponent) during opponents turn
+
-
| opponent
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
+
-
 
+
-
2. Player: Make a move (1. e4)
+
-
 
+
-
3. Disconnect opponents client
+
-
 
+
-
| ?
+
-
+
-
+
-
+
-
|
+
-
|-
+
-
! scope="row" | 11.2.2
+
-
| Connection lost (by opponent) during players turn
+
-
| player
+
-
|
+
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
+
-
 
+
-
2. Disconnect opponent client
+
-
 
+
-
| ?
+
-
|
+
-
|
+
-
|
+
-
|
+
-
|}
+

Latest revision as of 21:51, 16 September 2011

Miniature - Play chess everywhere you go!
.: Home : Releases : Wish list : Development : Coding style :.
We are moving to http://miniature-chess.org/