This is a list of verifying tests for the Use-Cases
Procedure
|
Success Criteria
|
Click 'Add Recipes', input a complete recipe, click 'Save'
|
The recipe is saved correctly
|
Click 'Add Recipes', input a recipe with missing vital information, click 'Save'
|
The system notifies user of missing information, and doesn't save recipe yet
|
Click 'Add Recipes', input a complete recipe, click the phone's 'Go Back' button instead of 'Save'
|
The system does not save the recipe
|
Procedure
|
Success Criteria
|
Click a recipe after searching, and click 'Download'
|
The recipe can be accessed when offline
|
Click a recipe after searching when lost connection to the server
|
The system notifies user that connection has been lost, doesn't save recipe
|
Click a recipe after searching when the phone storage is full
|
The system notifies user of full storage, and doesn't save recipe
|
Procedure
|
Success Criteria
|
When viewing a recipe, click 'Share' button, and enter a valid email
|
The recipe is sent to the proper email
|
When viewing a recipe, click 'Share' button, enter an empty or invalid email
|
The system notifies user of invalid input, and sends nothing
|
Procedure
|
Success Criteria
|
Click 'Add Recipes', enter a recipe, click 'Save and Publish'
|
The recipe is correctly saved and published to the server
|
Click 'Add Recipes', enter a recipe, click 'Save and Publish' with no connection to server
|
The user is notified that the publish failed
|
Click 'Add Recipes', enter a recipe a recipe with missing information, click 'Save and Publish' with no connection to server
|
The system notifies user of missing information, and doesn't save recipe yet
|
Procedure
|
Success Criteria
|
Click 'Search Recipes', enter a keyword, and check 'Offline Search'
|
The system returns a list of cache recipes containing the keyword
|
Click 'Search Recipes', enter no keyword, and check 'Offline Search'
|
The system returns all cached recipes
|
Click 'Search Recipes', enter a keyword, and 'Offline Search' when there are no recipes in cache
|
The system displays no recipes
|
Procedure
|
Success Criteria
|
Click 'Search Recipes', enter a keyword, and check 'Online Search'
|
The system returns a list of server recipes containing the keyword
|
Click 'Search Recipes', enter no keyword, and check 'Online Search'
|
The system notifies user that a keyword is required for online search
|
Click 'Search Recipes', enter a keyword, and check 'Online Search' when not connected to internet
|
The system notifies user that it can't search online and displays no recipes
|
Procedure
|
Success Criteria
|
Click 'Search Recipes', check 'Use Current Ingredients', and check 'Offline Search'
|
The system returns a list of cached recipes which use only current ingredients from the Virtual Pantry
|
Click 'Search Recipes', enter a keyword, check 'Use Current Ingredients', and check 'Offline Search'
|
The system returns a list of cached recipes containing the keyword, and which use only current ingredients from the Virtual Pantry
|
Click 'Search Recipes', enter a keyword, check 'Use Current Ingredients', and check 'Online Search'
|
The system returns a list of server recipes containing the keyword, and which use only current ingredients from the Virtual Pantry
|
Procedure
|
Success Criteria
|
Click 'Search Recipes', check 'Only list results with photos', and check 'Offline Search'
|
The system returns a list of cached recipes which have at least one photo
|
Click 'Search Recipes', enter a keyword, check 'Only list results with photos', and check 'Offline Search'
|
The system returns a list of cached recipes containing the keyword, and which have at least one photo
|
Click 'Search Recipes', enter a keyword, check 'Only list results with photos', and check 'Online Search'
|
The system returns a list of server recipes containing the keyword, and which have at least one photo
|
Click 'Search Recipes', enter a keyword, check 'Only list results with photos', check 'Use Current Ingredients', and check 'Offline Search'
|
The system returns a list of cached recipes containing the keyword, use only current ingredients from the Virtual Pantry, and which have at least one photo
|
Click 'Search Recipes', enter a keyword, check 'Only list results with photos', check 'Use Current Ingredients', and check 'Online Search'
|
The system returns a list of cached recipes containing the keyword, use only current ingredients from the Virtual Pantry, and which have at least one photo
|
Procedure
|
Success Criteria
|
When editing a recipe after a search, click 'Add Picture', and take a picture
|
The desired photo is attached to the recipe
|
When editing a recipe and a photo has already been saved, click 'Add Picture', and take a picture
|
The recipe will have the 2 desired photos attached to it
|
When editing a recipe, click 'Add Picture', take a picture, press 'Cancel' or the phone's 'Go Back'
|
The recipe will not have this recent picture attached to it
|
Procedure
|
Success Criteria
|
When viewing a recipe after a search which has a single photo, click 'View Pictures'
|
A scrollable list containing only one photo is displayed
|
When viewing a recipe after a search which has multiple photos, click 'View Pictures'
|
A scrollable list containing all of those photos is displayed
|
When viewing a recipe after a search which has no photos, click 'View Pictures'
|
An empty scrollable list is displayed
|
Procedure
|
Success Criteria
|
Click 'View Ingredients' when some exist
|
The correct current ingredients are displayed
|
Click 'View Ingredients' when none exist
|
No ingredients are displayed
|
Procedure
|
Success Criteria
|
When no current ingredients exist, click 'View Ingredients', click 'Add Ingredient', input ingredient information, click 'Save'
|
Only the specified new ingredient exists in the Virtual Pantry
|
When current ingredients exist, click 'View Ingredients', click 'Add Ingredient', input ingredient information, click 'Save'
|
The new ingredient is added to the list of existing current ingredients in the Virtual Pantry
|
Click 'View Ingredients', click 'Add Ingredient', input an ingredient with a missing name, click 'Save'
|
The system notifies user of missing information, and doesn't save the new ingredient in the Virtual Pantry
|
Procedure
|
Success Criteria
|
Click 'View Ingredients', click a current ingredient, change its name, click 'Save'
|
The ingredient name is correctly changed in the Virtual Pantry
|
Click 'View Ingredients', click a current ingredient, change its amount, click 'Save'
|
The ingredient amount is correctly changed in the Virtual Pantry
|
Click 'View Ingredients', click a current ingredient, enter an empty name, click 'Save'
|
The system notifies the user of missing information, and doesn't save the modification
|
Procedure
|
Success Criteria
|
When at least 2 current ingredients exist, click 'View Ingredients', click a current ingredient, click 'Delete'
|
Only the clicked ingredient is removed from the Virtual Pantry
|
When only one current ingredient exists, click 'View Ingredients', click the current ingredient, click 'Delete'
|
The Virtual Pantry is now empty
|
Procedure
|
Success Criteria
|
When viewing a searched recipe, click 'Edit', modify some of the recipe information, click 'Save'
|
The modifications are saved for this recipe
|
When viewing a searched recipe, click 'Edit', make no changes, click 'Save'
|
No information is changed for this recipe
|
When viewing a searched recipe, click 'Edit', change the name to be empty, click 'Save'
|
The system notifies user of missing information and doesn't save the modifications
|
Procedure
|
Success Criteria
|
When viewing a searched recipe, click 'Edit', click 'Delete'
|
The recipe is deleted from the cache
|
When viewing a searched recipe, click 'Edit', modify some of the recipe information, click 'Delete'
|
The recipe is deleted from the cache
|
Procedure
|
Success Criteria
|
When adding or modifying a recipe, click 'Add Tag', input a tag name, click 'Save'
|
The input tag name is saved to the recipe
|
When adding or modifying a recipe, click 'Add Tag', input an empty tag name, click 'Save'
|
The system notifies the user of empty tag name, doesn't save the empty tag name to recipe
|
Procedure
|
Success Criteria
|
Click 'Search Recipes', enter the tag name as the keyword, check 'Offline Search'
|
The system returns a list of cached recipes which have a tag matching the input tag name
|
Click 'Search Recipes', enter the tag name as the keyword, check 'Online Search'
|
The system returns a list of server recipes which have a tag matching the input tag name
|