-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Script to validate test cases against the problem specifications. #450
Conversation
Identifies test cases from the problem spec canonical data that are unimplemented.
I chose |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! It feels like this is probably something that we should be including in the canonical data syncer. The --check
option will output the files with missing test cases, but not the actual test cases. Maybe on higher verbosity levels it should display the actual missing test cases. Could you create an issue in the https://github.com/exercism/canonical-data-syncer/issues repo?
The last commit discarded the long script, replacing it with a version that fetches the canonical-data-syncer and calls it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While porting the square-root exercise, I tried to use the canonical_data_syncer before I had added the exercise to config.json. the data syncer could not see that square-root as an exercise. Get the check_test_cases script to look for configlet lint errors first. |
Identifies test cases from the problem spec canonical data that are unimplemented.
Sample output:
The bash repo, where the scale-generator has no toml file:
The Tcl repo, where problem-spec PR exercism/problem-specifications#1612 is in play:
Reviewer Resources:
Track Policies