Team2 - Acceptance Tests

 

Test Number 3 : Inventory Baseline

Functionality

Baseline

Server

Inventory

Use Cases

Add Inventory, View Inventory

Test Description

Tests an administrator adding to the inventory, and then viewing the inventory

Test Distribution

http://www.ece.cmu.edu/~ece846/team2/data/team2_server-4[1].0.tgz

Test Sequence

1.       Start JBoss and MySQL (refer to Config.txt)

2.       Run the clients on a separate machine:

3.       Start the first use case by typing ¡®ant addInventory.java¡¯

4.       When prompted, enter Item ID, Name, Description, Quantity, Price, Status

5.       Server should print the following: nothing – no errors mean success

6.       Start the next use case by typing ¡®ant viewInventory.java¡¯

7.       Enter Item ID to view from list.

8.       Server should print the following: ID, Name, Desc, Cost, Quantity, Status

Configuration/Deployment Issues

Clients and Server have worked on the same machine and on different machines

Known Problems

Fails if any name longer than __ characters is sent to the server (limited by MySQL)