Skip to content

Standardize proverb tests#380

Merged
coriolinus merged 1 commit intoexercism:masterfrom
coriolinus:rationalize-proverb-tests
Nov 3, 2017
Merged

Standardize proverb tests#380
coriolinus merged 1 commit intoexercism:masterfrom
coriolinus:rationalize-proverb-tests

Conversation

@coriolinus
Copy link
Copy Markdown
Member

Closes #379.

This should not break existing solutions, because users who have already
completed the exercise won't be prompted to re-try it. It simply makes
the exercise more rational for future users.

Closes exercism#379.

- Eliminate the inconsistencies pointed out in exercism#379.
- Add a new test with different vocab to reduce the viability of hard-coded solutions
- Update example implementation to correctly handle the new tests

This should not break existing solutions, because users who have already
completed the exercise won't be prompted to re-try it. It simply makes
the exercise more rational for future users.
Copy link
Copy Markdown
Member

@petertseng petertseng left a comment

Choose a reason for hiding this comment

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

sure, I'm down with this. Since there is no canonical-data.json, by definition we cannot be wrong, so there is no fear in making any change.

@coriolinus coriolinus merged commit c8b3e4f into exercism:master Nov 3, 2017
@coriolinus coriolinus deleted the rationalize-proverb-tests branch November 3, 2017 01:25
coriolinus added a commit to exercism/problem-specifications that referenced this pull request Nov 3, 2017
This is based on the Rust tests as implemented in exercism/rust#380.
The lack of canonical data had resulted in odd custom tests being
designed, which was reported in exercism/rust#379.
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