github / gh-classroom

GitHub Classroom CLI Extension is a powerful and easy-to-use command line tool that enhances the functionality of the GitHub CLI, specifically tailored for educators using GitHub Classroom.
MIT License
75 stars 12 forks source link

`pkg/classroom/http.go`: add test case for `GetAssignmentGrades` #32

Closed francisfuzz closed 11 months ago

francisfuzz commented 11 months ago

Summary

Closes #31

This PR introduces a test case for GetAssignmentGrades defined in pkg/classroom/http.go to bring test coverage for this file to 100%.

As a way of getting to know this codebase better, I read through each of the files, compared the source code with the accompanying tests, and opened the targeted issue for tracking work. Once I got an understanding of how everything was set up, I modeled my changes based on what was already written.

For reviewers

cc: @github/classroom-reviewers for review 👓