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

Update manual test cases for dg #367

Merged
merged 13 commits into from
Nov 12, 2024

Conversation

currynia
Copy link

@currynia currynia commented Nov 10, 2024

Closes #340

@currynia currynia added the DG label Nov 10, 2024
@currynia currynia added this to the v1.6 milestone Nov 10, 2024
@currynia currynia self-assigned this Nov 10, 2024
Copy link

codecov bot commented Nov 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Copy link

@SwaminathanViswa SwaminathanViswa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just a few errors that should be fixed.


1. Other incorrect delete commands to try: `delete`, `delete x`, `...` (where x is larger than the list size)<br>
1. Add a person by to KonTActs

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small grammar error, remove the word "by"

3. Test case: `addgrade/John Doe a/Ex05 s/5` <br>
Expected: No grade is added to John Doe. Details of the error message is shown in the status message.

4. Other incorrect add grade commands to try: `addgrade`, `addgrade s/x` (where `x` is not a number)<br>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe could paraphrase the part in brackets to : where 'x' is not a number or 'x' is bigger than the max value of the assignment.

1. Remove grade from a person
1. Prerequisites: Contact `John Doe` with grades(assignment name,score) `Ex01,5` and `Ex02,3` added.

2. Test case: `removegrade n/John Doe a/Ex01` <br>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be removeGrade instead of removegrade.

2. Test case: `removegrade n/John Doe a/Ex01` <br>
Expected: Assignment `Ex01` is removed from `John Doe`. Details shown in the status message.

3. Test case: `removegrade/John Doe a/Ex05 s/5` <br>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to comment on line 693.

3. Test case: `removegrade/John Doe a/Ex05 s/5` <br>
Expected: No grade is removed from John Doe. Details of the error message is shown in the status message.

4. Other incorrect remove grade commands to try: `removegrade`, `removegrade a/x` (where `x` is any value)<br>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to comment on line 693.

Expected: `John Doe` is marked as present for week 5. Details of the marked week is shown in status message and the list.

2. Test case: `mark n/John Doe w/s` <br>
Expected: No attendance is marked for `John Doe`. Details of the error is shown in the status message.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The expected outcome seems confusing. We could probably say "Attendance would not be remarked for the same person and same week".

Expected: `John Doe` is marked as absent for week 5. Details of the unmarked week is shown in status message and the list.

2. Test case: `unmark n/John Doe w/s` <br>
Expected: No attendance is unmarked for `John Doe`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to comment on line 708.

2. Test case: `view n/`
Expected: No view window appears. Details of error shown in status message.

3. Other incorrect view commands to try: `view`, `view n`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just typing view is not an incorrect command since it closes the viewWindow. Maybe we can remove view from the list of incorrect view commands?

Copy link

@Incogdino Incogdino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Incogdino Incogdino merged commit b17e268 into AY2425S1-CS2103T-T11-2:master Nov 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[PE-D][Tester E] Incorrect manual test case for delete in DG
3 participants