You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

5.1 KiB

Functional

Open the application and register a new user with the name "Alice" and the password "q1w2e3r4t5y6".
Is this user saved in the file "./data/users.txt", and if so, are all credentials correct (name and password)?
Open the application and re-register the user "Alice".
Did it display an error message stating that this user already exist?
Open the file "./data/users.txt".
Are all the user's names unique? (ex: no repetition on the name Alice)
Try and login as "Alice".
Was Alice able to enter the main menu?
Try to create two accounts using the user Alice, then select the option "Update information of account" and select an account number that does not exist for Alice.
Did the application displayed some kind of error message stating that this account does not exist?
Resorting to the user Alice, try and select the option "Update information of account" and select one of the accounts you created for Alice.
Did the the application prompt a choice of updating the phone number or the country?
Resorting to the user Alice, try and select the option "Update information of account" and select one of the accounts you created for Alice. Then update the phone number of that account.
Was the phone number of that account updated in the application and the file "records.txt"?
Resorting to the user Alice, try and select the option "Update information of account" and select one of the accounts you created for Alice. Then update the country of that account.
Was the country of that account updated in the application and the file "records.txt"?
Resorting to the user Alice, try to create a new account with: date "10/10/2012" account number "834213", country "UK", phone number "291231392", deposit amount $"1001.20", type of account "saving". Then select "Check accounts" choose the account you just created.
Did the application displayed the account information and the gain of $5.84 of interest on day 10 of every month?
Resorting to the user Alice create again an account but with account number "320421" and type of account "fixed01" with the rest of the information as in the last account . Then select "Check accounts" and choose the account you just created.
Did the application displayed the account information and the gain of $40.05 of interest on 10/10/2013?
Resorting to the user Alice create again an account but with account number "3214" and type of account "fixed02" with the rest of the information as in the last account. Then select "Check accounts" and choose the account you just created.
Did the application displayed the account information and the gain of $100.12 of interest on 10/10/2014?
Resorting to the user Alice create again an account but with account number "3212" and type of account "fixed03" with the rest of the information as in the last account. Then select "Check accounts" and choose the account you just created.
Did the application displayed the account information and the gain of $240.29 of interest on 10/10/2015?
Resorting to the user Alice select the option "Make transaction". Then choose the account with the id "3212"
Are you able to choose between withdrawing or depositing?
Resorting to the user Alice select the option "Make transaction", choose the account with the id "3212". Then try to withdraw money.
Are you able to withdraw money?
And if so, was the withdraw updated in the file "records.txt"?
Is it not possible to withdraw an amount superior to your available balance?
Try to deposit money into the account "3212".
Were you able to deposit money into this account?
And if so did it update the file "records.txt"?
Resorting to the user Alice try to select the option "Remove existing account" and remove the accounts "834213", "320421" and "3214".
Can you confirm that those account were deleted, both in the application and file "records.txt"?
Resorting to the user Alice select the option "Remove existing account" and try to remove and nonexisting account.
Did the application prompt some type of error saying that the account does not exists?
Create another user named "Michel". Then by using Alice select the option "transfer owner" and try to transfer ownership of the account "3212" to Michel.
Were you able to transfer the ownership of this account to Michel? And if so did it update both application and file "records.txt"?

Bonus

Open two terminals and login with two different users. Then transfer ownership of an account to the other user.
+Was the user whom received the account notified instantly?
+Did the student update the terminal interface?
+Is the password saved in the file "users.txt" encrypted?
+Did the student make their own Makefile?
+Did the student add more features to the project?
+Did the student optimise the code already given?