Skip to content

tournament: Make exercise schema-compliant #717

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 4 commits into from
Mar 13, 2017
Merged

tournament: Make exercise schema-compliant #717

merged 4 commits into from
Mar 13, 2017

Conversation

rbasso
Copy link
Contributor

@rbasso rbasso commented Mar 12, 2017

Related to #625.

rbasso added 4 commits March 13, 2017 01:59
The object 'invalid_lines' with examples of lines that,
if inserted in otherwise-valid games would not affect
the output, cannot comply with the new JSON schema, so
it is being removed.

A new test case with invalid lines based on that object
is added.
The version is starting at '1.1.0' because we just
added a new test case with invalid input lines. This
way we can signal that the test suite changed while
being converted to the new schema.
Copy link
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.

oh, I was thinking one case per invalid line, so that if the test fails the student knows better which line the solution is incorrectly accepting. but all in one case doesn't matter if the behaviour is to ignore.

when invalid lines should reslut in errors, then it makes sense to test each separately

@rbasso rbasso merged commit 16dc8ed into exercism:master Mar 13, 2017
@rbasso rbasso deleted the tournament-schema branch March 13, 2017 01:32
emcoding pushed a commit that referenced this pull request Nov 19, 2018
Wrote some documentation explaining how to regenerate test data and other data for exercises.  I also included some changes to explain when to use `-u` to update the VERSION number as well.  Lastly, I added a section to the *Contributing* section that gives some ideas for getting started to newcomers, including the newly revamped *Regenerating Test Suites* section.
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