Test Plan » History » Version 7
Version 6 (Luke Murphey, 10/22/2015 09:06 PM) → Version 7/43 (Luke Murphey, 10/28/2015 05:37 PM)
h1. Test Plan
h2. * General
#
** The app must work with custom root endpoints
# ** The app has a description
# ** The app has an icon
# ** The app is visible
# ** The app works on all applicable versions of Splunk
# The print and edit controls are not displayed on the lister and editor
h2. * File Lister
#
** Lookup files appear including both user-based and app-based files and the list is complete (isn't missing files)
# ** A warning is shown if the user does not have permission to view the lookup files
# Both KV store and CSV lookup files are included
# ** The list has functional pagination
# ** Files can be exported
## Files that are in a user context need to be exportable too (including lookups that are in the app directory but are re-assigned to an owner that isn't nobody via meta-data)
h2. * File Editor
# Users can create new lookups
## ** The editor warns users if the name or namespace is not provided (when creating a new lookup)
## A warning is shown if the lookup file already exists when creating a new one
## A warning is shown if no fields are defined for a KV store lookup file
## Importing a lookup file into a new lookup file should fill out the name with the file name if it was not yet completed
## Lookup files are saved with the correct name and in the correct app
## When a lookup is created, the URL is modified such that it matches a URL that link to editing the lookup
# Importation functions
## Files can be imported by dragging a file onto the editor or on the import dialog (for CSV lookups only)
## KV store shouldn't load a file by dragging into the editor (since it isn't supported yet)
# Users can edit lookups
## ** The files can be modified in the editor (both KV (KV store and CSV)
## ** The user is provided messaging regarding saving edits (that it is in-progress and/or completed)
## KV store with a hierarchy can be edited
## KV store that enforces types can be edited (and a warning is shown if an incorrect types)
### Incorrect values for fields when a lookup has defined types can be edited
## ** A warning is shown if the user does not have permission to view the lookup files
## ** A warning is shown if the lookup file does not exist
## ** A warning is shown if the lookup file is too large to modify
## ** A warning is shown if the lookup file already exists when creating a new one
** Pressing "cancel" sends the user back to the list page
** Users cannot remove all rows; must have at least one cell in the header
## ** Lookup files are saved with the correct name and in the correct app
** Lookup files that are owned by a user but are actually in the apps directory are saved in the correct location
## Pressing "cancel" sends the user back to the list page
## ** The lookup backup list is refreshed when saving (CSV only)
## The editor recognizes the field types (if available) for KV lookups and shows that the value is incorrect (e.g. entering "foo" in ** Importing a field that expects an number is shown as invalid)
## Header is fixed so that it always appears at the top of the editor
# Users can view and load backups of files (CSV only)
## Backups are automatically made when a lookup is saved
## Loading a backup causes it to be loaded file into the editor
## A message is shown when a new lookup is loaded file should fill out the name with the file name if it was not yet completed
h2. * General
#
** The app must work with custom root endpoints
# ** The app has a description
# ** The app has an icon
# ** The app is visible
# ** The app works on all applicable versions of Splunk
# The print and edit controls are not displayed on the lister and editor
h2. * File Lister
#
** Lookup files appear including both user-based and app-based files and the list is complete (isn't missing files)
# ** A warning is shown if the user does not have permission to view the lookup files
# Both KV store and CSV lookup files are included
# ** The list has functional pagination
# ** Files can be exported
## Files that are in a user context need to be exportable too (including lookups that are in the app directory but are re-assigned to an owner that isn't nobody via meta-data)
h2. * File Editor
# Users can create new lookups
## ** The editor warns users if the name or namespace is not provided (when creating a new lookup)
## A warning is shown if the lookup file already exists when creating a new one
## A warning is shown if no fields are defined for a KV store lookup file
## Importing a lookup file into a new lookup file should fill out the name with the file name if it was not yet completed
## Lookup files are saved with the correct name and in the correct app
## When a lookup is created, the URL is modified such that it matches a URL that link to editing the lookup
# Importation functions
## Files can be imported by dragging a file onto the editor or on the import dialog (for CSV lookups only)
## KV store shouldn't load a file by dragging into the editor (since it isn't supported yet)
# Users can edit lookups
## ** The files can be modified in the editor (both KV (KV store and CSV)
## ** The user is provided messaging regarding saving edits (that it is in-progress and/or completed)
## KV store with a hierarchy can be edited
## KV store that enforces types can be edited (and a warning is shown if an incorrect types)
### Incorrect values for fields when a lookup has defined types can be edited
## ** A warning is shown if the user does not have permission to view the lookup files
## ** A warning is shown if the lookup file does not exist
## ** A warning is shown if the lookup file is too large to modify
## ** A warning is shown if the lookup file already exists when creating a new one
** Pressing "cancel" sends the user back to the list page
** Users cannot remove all rows; must have at least one cell in the header
## ** Lookup files are saved with the correct name and in the correct app
** Lookup files that are owned by a user but are actually in the apps directory are saved in the correct location
## Pressing "cancel" sends the user back to the list page
## ** The lookup backup list is refreshed when saving (CSV only)
## The editor recognizes the field types (if available) for KV lookups and shows that the value is incorrect (e.g. entering "foo" in ** Importing a field that expects an number is shown as invalid)
## Header is fixed so that it always appears at the top of the editor
# Users can view and load backups of files (CSV only)
## Backups are automatically made when a lookup is saved
## Loading a backup causes it to be loaded file into the editor
## A message is shown when a new lookup is loaded file should fill out the name with the file name if it was not yet completed