Skip to content

Commit 970a537

Browse files
committed
Add manual testing details for labedit
1 parent 003d418 commit 970a537

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/DeveloperGuide.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,3 +626,15 @@ testers are expected to do more *exploratory* testing.
626626

627627
3. Test case: `labadd l/-1`<br>
628628
Expected: A error message will appear with the correct command format and constraints and no lab will be added.
629+
630+
### Editing a Lab
631+
632+
1. Assume we want to edit `Lab 1` of the person with `INDEX 1` and the current `LabStatus` is `UNSUBMITTED`.
633+
1. Test case: `labedit 1 l/1 s/s`<br>
634+
Expected: The status of `Lab 1` will change from `UNSUBMITTED` to `SUBMITTED`. The lab label will change from red to yellow.
635+
636+
2. Test case: `labedit 1 l/1 s/g`<br>
637+
Expected: An error message will appear stating that the given combination is invalid.
638+
639+
3. Test case: `labedit 1 l/1 s/g m/10`<br>
640+
Expected: The status of `Lab 1` will change from `UNSUBMITTED` to `GRADED`. The lab label will change from red to green.

0 commit comments

Comments
 (0)