Commit 83e87cbb authored by Danielvdh03's avatar Danielvdh03
Browse files

Added first 3 Test Cases

parent 505509c0
Description : Testing the All and state specific implementation
Preconditions : None
Inputs :
Command : state_votes
Enter State/All : All
Verification : All states are shown in descending order, with their total vote count.
User is taken back to command menu
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
Description : This test was done to verify that if we were to update the poll count, that our next search
of the database will have the updated poll count
Pre-Requisites : None
Inputs :
"Please select a command ": update_poll_count
"Enter county" : Fayette
"Enter state" : Georgia
"Party to modify" : REP
"Votes to update to" : 39483
"Command" :county_results
"Enter state" : Georgia
"Enter county" : Fayette
Verification : Verify that REP total votes has been updated to 39483 (initially it is set to 39483)
Description : Updating Vote Count from a State and verifying that it gets updated when viewing the data again
Pre-Requisites : None
Inputs :
Command : update_state_count
Vote Count to Update : Kentucky
New Value for State Count : 2356948
Command : state_votes
State : Kentucky
Verification : Number of votes for Kentucky is 2356948 rather than 2136768 which was the original
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment