Repository navigation
bob: validate metadata file paths and verify reference test suite (R5… - #88
Open
utkarsh21022009-boop wants to merge 1 commit into
Open
utkarsh21022009-boop wants to merge 1 commit into
utkarsh21022009-boop wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…8-T008)
Pull Request
Pull Request
R58-T008: bob: validate metadata file paths and verify reference test suite
Description
Makes the metadata in
exercises/practice/bob/.meta/config.jsonunderstandable and verifiable for Task R58-T008. Explains how the test runner deterministically resolvessrc/test/java/BobTest.javaand.meta/src/reference/java/Bob.javathrough the explicitfilesmapping rather than heuristic file searching. Distinguishes maintained source files from generated artifacts (tests.toml,build/,.gradle/). Implemented automated verification validating the real configuration and asserting that three deliberately invalid metadata fixtures (missing reference, missing test, and outside-exercise traversal) fail for the intended reasons. Verified all 26 canonical tests pass against the maintained reference in an isolated temporary copy without modifying the working tree learner stub.Related Issue
Fixes: #8
Type of Change
Changes Made
docs/maintenance/bob.md:filesobject schema from.meta/config.json(solution,test,example,invalidator,editor).BobTest.javaandBob.java.build/,.gradle/,.meta/tests.toml).tools/course_checks/r58-t008.py:config.jsonfile containment and testing the three negative path fixtures.work/R58-T008/check.py:src/main/java/Bob.java, and executes./gradlew test --no-daemon.src/main/java/Bob.javaremains unsolved (UnsupportedOperationException) and pristine.work/R58-T008/README.md:work/R58-T008/results.jsonandlatest-result.json:Screenshots / Recordings
Not applicable — no UI changes.
Testing
python3 work/R58-T008/check.pyandpython3 tools/course_checks/r58-t008.py.exercises/practice/bob.missing file.missing file.escapes exercise../gradlew test --no-daemon:exercises/practice/bob/src/main/java/Bob.javaverified untouched and unsolved (UnsupportedOperationException).Checklist
Additional Notes
student/e26b07f0710/R58-T008(andR58-T008/student/e26b07f0710-R58-T008).S-AI-Projects/exercism-javaonmain.Reviewer Resources:
Track Policies
Reviewer Resources:
Track Policies