Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eugene Lu
356 project
Commits
2e84e64a
Commit
2e84e64a
authored
Dec 22, 2021
by
Danielvdh03
Browse files
Uploaded 4 more Test Cases
parent
15a088e5
Changes
6
Hide whitespace changes
Inline
Side-by-side
CLI/TestCases/find_user.txt
deleted
100644 → 0
View file @
15a088e5
CLI/TestCases/group_county_by_all1.txt
0 → 100644
View file @
2e84e64a
Description : Test to make sure that when using All option for group_county_by that is returns from all states
Preconditions : None
Inputs :
Command : group_county_by
State to filter by : All
Statistic to query : Poverty
All or Limit Results : All
Ascending or Descending : Desc
Verification1 : Verify that counties returned are from all states.
Verification2 : Verify that the list is in descending order
Verification3 : Run a manual SQL query to get the counties in the US with the highest poverty rate and confirm that it matches with the shown results
\ No newline at end of file
CLI/TestCases/group_county_by_all2.txt
0 → 100644
View file @
2e84e64a
Description : Testing limiting queries when filtering by all states
Preconditions : None
Inputs :
Command : group_county_by
State to filter by : All
Statistic to query by : Population
All results/limit results : Limit
Maximum results : 10
Ascending or Descending : Asc
Verification1 : Verify that results are shown in ascending order with counties unrestricted by state being shown.
Verification2 : Run a manual SQU query to find the 10 counties with the lowest populations to confirm the results match up
CLI/TestCases/group_county_by_state1.txt
0 → 100644
View file @
2e84e64a
Description : Test to make sure that all counties outputted are in the selected state, as well as the UI model makes sense
Preconditions : None
Inputs :
Command : group_county_by
State to filter by : California
Statistic to query : Income per Capita
All or Limit Results : All
Ascending or Descending : Desc
Verification : All counties listed are from California. Income per Capita is displayed in descending order.
Verification 2 :
\ No newline at end of file
CLI/TestCases/group_county_by_state2.txt
0 → 100644
View file @
2e84e64a
Description : Testing limiting query results when filtering by state
Preconditions : None
Inputs :
Command : group_county_by
State to filter by : Florida
Statistic to query by : Unemployed
Maximum results : 5
Ascending or Descending : Asc
Verification : Verify that only 5 counties are shown all from the state of Florida. Verify that unemployment rate is rising.
Verification 2 : Manually query into the database outside of the CLI to find all counties in Florida by unemployment to
verify that these are in fact the 5 with the lowest unemployement rate
CLI/TestCases/state_votes.txt
View file @
2e84e64a
...
...
@@ -12,4 +12,5 @@ Inputs :
Command : state_votes
Enter State/All : Florida
Verification : Value is 11067456 which also matches with Florida's value when All was run
\ No newline at end of file
Verification1 : Value is 11067456 which also matches with Florida's value when All was run
Verification2 : Do a manual query on the database to confirm that it matches with the CLI
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment