Team2 - Acceptance Tests

 

Test Number 4 : User Baseline

Functionality

Baseline

Server

User

Use Cases

Create User, View User

Test Description

Tests an administrator creating a new user, and then viewing a user¡¯s information.

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.       Run the clients on a separate machine

a.        Start the first use case by typing ¡®ant createUser.java¡¯

b.        When prompted, enter User ID, password, Name, email

c.        Server should print the following: no errors=success

d.        Start the next use case by typing ¡®ant viewUser.java¡¯

e.        Server should print the following: list of users – select by id to view detail – should then see ID, Name, email (password ***'d out)

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)

Not checking for proper email format – any string is accepted