Weight Management

Registered by Nikos Milonas

Manage Weight

Description: Allows a user to instantiate a new weight. If a weight has already been entered, allow the user to manage their weight.

Actors: All registered users

Precondition: A user is on the home page

Actions: The user clicks on “Track Weight” where they update the following:

    Weight (integer >= 0)

    Units (kg or lb)

    Date (year/month/day)

The user then clicks on “Update Weight”

Post condition: The weight should be successfully updated and the message “Weight was successfully updated.” is displayed (assuming the inputs are valid). The user is given the option to edit the weight or go back to the previous page.

Acceptance Tests:
Input:
1) An integer is inputted to represent the user's weight.

Tests:
1) Enter a non-integer
2) Enter a negative integer

Output:
1)Throw an error message (Weight needs to be a number)
2)Throw an error message (Weight needs to be positive)

Iteration: 2

Blueprint information

Status:
Started
Approver:
None
Priority:
Low
Drafter:
Nikos Milonas
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Nikos Milonas

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.