Skip to content

Commit

Permalink
Update DG with commands
Browse files Browse the repository at this point in the history
  • Loading branch information
yyyaohhh committed Oct 23, 2023
1 parent 4331781 commit 627874c
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ testers are expected to do more *exploratory* testing.

1. Deleting a module from a semester while all modules are being shown

1. Prerequisites: List all modules using the `list` command. Multiple module in the list.
1. Prerequisites: List all modules using the `list` command. Multiple modules in the list.

1. Test case: `delete CS2030S`<br>
Expected: The module CS2030S is deleted from the list. Details of the deleted module shown in the status message. The modules shown in the semester list is updated.
Expand All @@ -442,6 +442,34 @@ testers are expected to do more *exploratory* testing.

1. _{ more test cases …​ }_

### Calculating total CAP

1. Calculating the current CAP from all modules

1. Prerequisites: Multiple module in the list.

1. Test case: `calculateCAP`<br>
Expected: The CAP output is a `float` of `0.0` $\leq$ CAP $\leq$ `5.0` with a status message.

1. Test case: `calculateCAP` when there are no modules in the semester list<br>
Expected: The CAP output is `0.0`

1. _{ more test cases …​ }_

### Calculating total Modular Credits (MCs)

1. Calculating the current Modular Credits (MCs) from all modules

1. Prerequisites: Multiple modules in the list.

1. Test case: `calculateMC`<br>
Expected: The MC output is a `integer` of MC $\geq$ `0` with a status message.

1. Test case: `calculateMC` when there are no modules in the semester list<br>
Expected: The MC output is `0`

1. _{ more test cases …​ }_

### Saving data

1. Dealing with missing/corrupted data files
Expand Down

0 comments on commit 627874c

Please sign in to comment.