Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CON-2042: atm-management fix the questions #2195

Merged
merged 2 commits into from
Sep 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 18 additions & 16 deletions subjects/atm-management-system/audit/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
#### Functional

> Note: Confirm the data storage method used in the project (e.g., text files or a relational database like SQLite).

##### Open the application and register a new user with the name `"Marcus"` and the password `"q1w2e3r4t5y6"`.

###### Is this user saved in the file `"./data/users.txt"`, and if so, are all credentials correct (name and password)?
###### Is this user saved in the data storage (text file `"./data/users.txt"` or database), 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?
###### Did the application display an error message stating that this user already exists?

##### Open the file `"./data/users.txt"`.
##### Open the data storage (text file `"./data/users.txt"` or database).

###### Are all the user's names unique? (ex: no repetition on the name Alice)
###### Are all the user 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.
##### Try to create two accounts with 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 display some kind of error message stating that this account does not exist?

Expand All @@ -26,17 +28,17 @@

##### 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"`?
###### Was the phone number of that account updated in the application and the data storage (text file `"records.txt"` or database)?

##### 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"`?
###### Was the country of that account updated in the application and the data storage (text file `"records.txt"` or database)?

##### 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 display 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.
##### 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 display the account information and the gain of $40.05 of interest on 10/10/2013?

Expand All @@ -56,27 +58,27 @@

###### Are you able to withdraw money?

###### And if so, was the withdrawal updated in the file `"records.txt"`?
###### And if so, was the withdrawal updated in the data storage (text file `"records.txt"` or database)?

###### Is it not possible to withdraw an amount superior to your available balance?
###### Does the system forbid to withdraw an amount superior to your available balance?

##### Try to deposit money into the account `"834213"`.

###### Were you able to deposit money into this account?

###### And if so did it update the file `"records.txt"`?
###### And if so did it update the data storage (text file `"records.txt"` or database)?

##### 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"`?
###### Can you confirm that those account were deleted, both in the application and data storage (text file `"records.txt"` or database)?

##### Resorting to the user Alice select the option `"Remove existing account"` and try to remove and non-existing account.
##### Resorting to the user Alice select the option `"Remove existing account"` and try to remove an account that does not exist.

###### Did the application prompt some type of error saying that the account does not exist?

##### 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"`?
###### Were you able to transfer the ownership of this account to Michel? And if so did it update both application and data storage (text file `"records.txt"` or database)?

#### Bonus

Expand All @@ -86,12 +88,12 @@

###### +Did the student update the terminal interface?

###### +Is the password saved in the file `"users.txt"` encrypted?
###### +Is the password saved in the data storage (text file `"users.txt"` or database) encrypted?

###### +Did the student create a relational database? • 6

###### +Did the student make their own Makefile?

###### +Did the student add more features to the project?

###### +Did the student optimise the code already given?
###### +Did the student optimize the code already given?
Loading