Skip to content

Conversation

@Naragod
Copy link
Contributor

@Naragod Naragod commented Dec 3, 2025

Proposed Changes

We wish to give users the ability to obtain test results through the API. This PR adds the following endpoint: GET - /api/courses/:course_id/assignments/:assignment_id/groups/:id/test_results.

Screenshots of your changes (if applicable)
Associated documentation repository pull request (if applicable)

Type of Change

(Write an X or a brief description next to the type or types that best describe your changes.)

Type Applies?
🚨 Breaking change (fix or feature that would cause existing functionality to change)
New feature (non-breaking change that adds functionality) X
🐛 Bug fix (non-breaking change that fixes an issue)
🎨 User interface change (change to user interface; provide screenshots)
♻️ Refactoring (internal change to codebase, without changing functionality)
🚦 Test update (change that only adds or modifies tests)
📦 Dependency update (change that updates a dependency)
🔧 Internal (change that only affects developers or continuous integration)

Checklist

(Complete each of the following items for your pull request. Indicate that you have completed an item by changing the [ ] into a [x] in the raw text, or by clicking on the checkbox in the rendered description on GitHub.)

Before opening your pull request:

  • I have performed a self-review of my changes.
    • Check that all changed files included in this pull request are intentional changes.
    • Check that all changes are relevant to the purpose of this pull request, as described above.
  • I have added tests for my changes, if applicable.
    • This is required for all bug fixes and new features.
  • I have updated the project documentation, if applicable.
    • This is required for new features.
  • If this is my first contribution, I have added myself to the list of contributors.

After opening your pull request:

  • I have updated the project Changelog (this is required for all changes).
  • I have verified that the pre-commit.ci checks have passed.
  • I have verified that the CI tests have passed.
  • I have reviewed the test coverage changes reported by Coveralls.
  • I have requested a review from a project maintainer.

Questions and Comments

This PR references:

  • Wiki - Add GET - api/../groups/test_results endpoint documentation

@Naragod Naragod added this to the v2.8.3 milestone Dec 3, 2025
@Naragod Naragod requested a review from donny-wong December 3, 2025 17:39
@Naragod Naragod force-pushed the ISSUE-7711_group_assignment_test_result_api_route branch from 96a9b3c to 79164a0 Compare December 3, 2025 17:47
@coveralls
Copy link
Collaborator

coveralls commented Dec 3, 2025

Pull Request Test Coverage Report for Build 20197513582

Details

  • 99 of 99 (100.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 91.53%

Totals Coverage Status
Change from base Build 20079147506: 0.02%
Covered Lines: 43749
Relevant Lines: 46991

💛 - Coveralls

@Naragod Naragod force-pushed the ISSUE-7711_group_assignment_test_result_api_route branch from 79164a0 to 5409b7c Compare December 8, 2025 16:22
@Naragod Naragod force-pushed the ISSUE-7711_group_assignment_test_result_api_route branch from b70f4ab to 97cd94f Compare December 12, 2025 16:22
@Naragod
Copy link
Contributor Author

Naragod commented Dec 12, 2025

@david-yz-liu sounds good.

@Naragod Naragod force-pushed the ISSUE-7711_group_assignment_test_result_api_route branch from 97cd94f to a86e33f Compare December 12, 2025 17:06
@david-yz-liu
Copy link
Collaborator

@Naragod oh yeah, I remembered that I had a similar conversation with one of my students a while ago, and some work in this direction is already present in #7599. This is a PR that I haven't yet had a chance to review but is on my radar.

@Naragod Naragod force-pushed the ISSUE-7711_group_assignment_test_result_api_route branch 2 times, most recently from 166ed2b to adfcd92 Compare December 13, 2025 20:33
@Naragod Naragod force-pushed the ISSUE-7711_group_assignment_test_result_api_route branch from adfcd92 to e80cef8 Compare December 13, 2025 20:34
Copy link
Collaborator

@david-yz-liu david-yz-liu left a comment

Choose a reason for hiding this comment

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

Thanks, @Naragod!

@david-yz-liu david-yz-liu merged commit a85db9b into master Dec 13, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants