Team2 - Acceptance Tests |
Test Number 2 : Purchase Baseline |
|
Functionality |
Baseline |
Server |
Purchase |
Use Cases |
Place Purchase Order, View Purchase Order |
Test Description |
Tests an administrator placing a purchase order and assigning it to a salesman, and a salesman viewing purchase orders he has been assigned to. |
Test Distribution |
hhttp://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. Test Number 1 has been run for the desired item (orders cannot be placed for items not in the inventory) 3. Run the clients on a separate machine a. Start the first use case by typing ¡®ant placePurchaseOrder.java¡¯ b. When prompted, enter Item ID, Name, Description, Quantity, Price c. Server should print the following: nothing – no errors means success d. Start the next use case by typing ¡®ant viewPurchaseOrder.java¡¯ e. Server should print the following: list of purchase orders |
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) We're not currently checking format of date strings – any input for date will be accepted |