Skip to content

Conversation

@theyoyojo
Copy link
Contributor

@theyoyojo theyoyojo commented Sep 8, 2025

Add a bunch of new tests to exercise submission codepaths and workflow

Fixes #281

Setup the submissions repo and go through the entire patchset submission
process, exercising all return paths of mailman/patchset.py

Includes intitial, peer review, and final submissions

Signed-off-by: Joel Savitz <joel@underground.software>
This script the project in a more integration-test-like manner.

Signed-off-by: Joel Savitz <joel@underground.software>
test-sub.sh is good for interactive testing, but lacks validation when
automated. Add test-sub-check.sh to run some basic checks that make sure
test-sub.sh ran smoothly.

Signed-off-by: Joel Savitz <joel@underground.software>
We use podman around these parts

Signed-off-by: Joel Savitz <joel@underground.software>
test.sh and test-sub-check.sh now source test-lib

script-lint.sh modified to follow source commands for those two files.

Signed-off-by: Joel Savitz <joel@underground.software>
Add test-sub2.sh which tests out 12 invalid and 1 valid submission on a
rubric for an example coding assignment and validate the resulting
status values added to the email ID tags in the grading repo.

Simplify the new tests by abstracting the setup section and repetitive
commands, enabling quicker development of shorter future testing
scripts the same flavor as the rest of test-sub*.sh. This is important
as we want to make sure our automated grading features actually do what
we think they will do to the fullest extent possible before this code
goes into production with real students.

Signed-off-by: Joel Savitz <joel@underground.software>
If a student makes an inital submission but not a final submission, they
should automatically receive a zero for the assignment.

Signed-off-by: Joel Savitz <joel@underground.software>
Check that total score is calculated correctly when only two students
submit and only one review is required or no students submit so no
reviews are required.

Signed-off-by: Joel Savitz <joel@underground.software>
CI now runs the containers as a non-root user and exposes 1465 for SMTP
instead of 465

Signed-off-by: Joel Savitz <joel@underground.software>
Signed-off-by: Joel Savitz <joel@underground.software>
Remove assignment rubric specificiation when invoking
create_lighting_assignment since the feature is deferred to 0.8

Signed-off-by: Joel Savitz <joel@underground.software>
Signed-off-by: Joel Savitz <joel@underground.software>
Signed-off-by: Joel Savitz <joel@underground.software>
Copy link
Contributor

@charliemirabile charliemirabile left a comment

Choose a reason for hiding this comment

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

its squashin time

write_commit_to "def" bob/setup/work "append"
write_commit_to "ghi" bob/setup/work "append"
git format-patch --rfc --cover-letter -v1 -3
git format-patch --rfc --cover-letter -v2 -3
Copy link
Contributor

Choose a reason for hiding this comment

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

squash into relevant commit

@theyoyojo
Copy link
Contributor Author

Superseded by: #297

@theyoyojo theyoyojo closed this Oct 3, 2025
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.

Add tests to CI to exercise submission codepaths and workflow

3 participants