System Test Plan
Version 1
Revision History
| Date | Version | Description | Author |
| 11/05/03 | v1 | Created HTML document & made a start on section 5 | Andrew Noske |
| 27/05/03 | v1 | Updated and reviewed | Andrew Noske and Paul Stasuik |
NOTE: Some sections that were not required (accoring to Dmitry's example) were attempted anyway.
Table of Contents
System Test Plan
| Technique Objective: | To confirm the integrity of the MySQL database which the server-side application will rely on to store critical game and player (login) information. |
| Technique: | Systematically test that all desired MySQL statements produce desired results. This can then be implemented within the (server-side) java applciaiton. |
| Oracles: | Write sample database including several players and serveral games. Use thse demonstration tables to check database behaves as expected and produces expected output. |
| Required Tools: | Requires MySQL to be installed on testing platform. |
| Success Criteria: |
|
| Special Considerations: |
|
| SRS requirement | Test | Successully tested |
| Test client-server connection: | ||
| Client-side applicaiton finds server-side application. |
|
|
| Test user login functionality: | ||
| 3.1.1) User creates a new virtual player |
|
|
| 3.1.2.1) - User logs into virtual casino |
|
|
| 3.1.2.2) - User gets assigned to a table |
|
|
Test client-server connection: NOTE: Most of the phases below will require at least two people logged into the same blackjack game. The more people connected to the server & logged into different games the more thorough the testing. After a certain point (say nine players on three different tables) one would assume the system should work for any number number of players and table threads, therefore benchmarking could begin. |
||
| 3.1.3.1) User can enter bet |
|
|
| 3.1.3.2) Inital cards delt |
|
|
| 3.1.3.3) Player takes turns. |
|
|
| 3.1.3.4) Dealer takes its turn |
|
|
3.1.3.5) Outcome of the game calculated. 3.1.3.6) All cards removed & next round starts. |
|
|
3.1.3.7) At any time a player can hit "leave table". |
|
|
Test in-game chat feature: NOTE: should require at least two people logged into the same game. |
||
3.1.4.1.1) Test chat feature. |
|
|
| 3.1.4.2.2) Send a private message to a player. |
|
|
| SRS requirement | Test | Successully tested |
| NOTE: for installation information see Stage Two. | ||
| Check persistance of bankroll: | ||
| 3.1.3.5) Outcome of the game calculated. |
|
|
| SRS requirement | Test | Successully tested |
| NOTE: for installation information see Stage Two. | ||
| Check menu bar items: | ||
| Check menu items |
|
|
| SRS requirement | Test | Successully tested |
| NOTE: for installation information see Stage Two. | ||
| Test network bandwidth: | ||
| Test netwokring bandwidth when sending table object. |
|
|
| SRS requirement | Test | Successully tested |
| Test game performance: | ||
3.3.2.5) The server should be benchmarked to determine maximum number of table threads it can handle gracefully. |
|
|
| SRS requirement | Test | Successully tested |
| Test login: | ||
3.1.2.1.1) The playerID and password must be valid. |
|
|
3.3.1.3) Log-in data security to ensure maximum reliability. |
|
|
| 3.3.1.4) Prevent more than one client application from running on a single computer. |
|
|
| Test adminstrator adding new payer. | See unit database testing |
|
| SRS requirement | Test | Successully tested |
| Test server recovery: | ||
| 3.3.2.1) If the client-server crashes, the database should rebuild the game state to before the crash. |
|
|
| SRS requirement | Test | Successully tested |
| Test configuration information: | ||
3.6.8) Provide a config file in XML format that stores the current System configuration (on the server). |
See unit testing |
|
The following table sets forth the system resources for the test effort presented in this Test Plan.
| Resource | Quantity | Name and Type |
|
1 | jcu.edu.au network |
| localhost | localhost that the program is installed on (localhost unless machine is uniquely named) | |
| mysql | mysql version 3.23.51.NT or later | |
| Client Test PCs
|
4 | pentimum4, 2Ghz, with 512RAM using window XP operating system |
| configuration files are located in the .bat files and clients are assigned unique ID numbers to ensure sale of product | Virtual Casino client architecture | |
|
1 | jcu.edu.au network |
| localhost | localhost that the program is installed on (localhost unless machine is uniquely named) | |
| Test Development PCs | pentimum4, 2Ghz, with 512RAM using window XP operating system | home computer |
The following base software elements are required in the test environment for this Test Plan.
| Software Element Name | Version | Type and Other Notes |
| NT Workstation | 2000 | Operating System |
| Windows XP | professional with service packs 1 and 2 installed with critical updates | Operating System |
| Internet Explorer, or Netscape Navigator | v4+ | Internet Browser |
| Blue jay | v1.4 | Java development platform |
| MySQL | 3.23.51.NT or later | DBMS |
| Microsoft Outlook | v6 | Email Client software used to communicate
with group members |
| JBuilder | 8 personal | Java development platform |
| AVG virus software | v1.6 | Virus Detection and Recovery software used to filter emails |
The following will be employed to support the test process for this Test Plan.
| Tool Category or Type | Tool Brand Name | Vendor or In-house | Version |
| Test Management | Complete system analysis | In house (Jon) | 1.0 |
| Defect Tracking | Complete system analysis | In house (Jon) | 1.0 |
| Project Management | Microsoft project | Microsoft | XP |
| DBMS tools | SQLYog | Webyog | 1.7.1 |
The following Test Environment Configurations need to be provided and supported for this project.
| Configuration Name | Description | Implemented in Physical Configuration |
| Average user configuration | automated | batch file and java application upon installation |
| Minimal configuration supported | 500MHz, 512MB RAM computer | N/A |
| Network installation (not client) | automated | done by installation of executables |