Skip to content

Add VersionCheck tool. Refs #370, #331 #464

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

Merged
merged 1 commit into from
Oct 2, 2017

Conversation

ricemery
Copy link
Member

@ricemery ricemery commented Oct 2, 2017

This is a simple tool to compare the version of the unit test against the canonical-data.json. If there is a version mismatch info is printed to the console.

Exercises can be excluded from checking by including the exercise name in testgen/src/main/resources/version-check-ignore.txt. Each excluded line should be placed on a separate line.

Note that there isn't much in the way of error checking or robustness features in the tool. And, I have only tested it on macOS. I didn't take much care in dealing with OS dir separators.

Copy link
Member

@ErikSchierboom ErikSchierboom left a comment

Choose a reason for hiding this comment

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

Looking good. Great feature to have, we have created a similar issue at the C# repo too.

@ErikSchierboom ErikSchierboom merged commit 8c6067c into exercism:master Oct 2, 2017
@ricemery
Copy link
Member Author

ricemery commented Oct 2, 2017

Thanks @ErikSchierboom

@ricemery ricemery deleted the versioncheck branch October 2, 2017 15:39
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.

2 participants