-
-
Notifications
You must be signed in to change notification settings - Fork 546
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
leap: Make the test descriptions consistent #453
Conversation
description adheres to the schema: leap year / standard year, then **either** the century **or** the year number itself
@guntbert please read this comment about test descriptions. The descriptions you have here are OK, but they don't really describe WHY those particular years are good numbers to test. What:
Why:
|
@Insti I agree that we should describe the why instead of the what. But I have my doubts about your proposal. Case in question:
says
whereas
merely restates the facts given in description.md I think most of the test cases should be reevaluated, asking if they contribute anything useful - but I did not want (as a newcomer) to overthrow the complete test suite and thus just changed the descriptions. If you think this should be done right now I'll do it :-) |
That is certainly a good approach. 👍
That would be good. |
This, to me, is a feature. The rules should be encoded in and described by the tests, description.md provides 'color' and allows a written introduction/specification of the problem.
Why is it relevant that it is in the twentieth century? How about this made up (counter) example:
What does this tell you about (Sorry about the mangled quote formatting at the top.) |
@guntbert did you want to continue this PR for the updated tests or shall we merge this one and you can make a new one for the updated tests? |
@Insti as I am a bit pressed for time right now (several tests to grade :-)) I'd rather take a fresh approach with a new PR. Fine if you merge this one but I agree that it is suboptimal. |
It might not be perfect yet, but it is an improvement. Thanks for your contribution @guntbert. ❤️ |
description adheres to the schema: leap year / standard year, then either the century or the year number itself.
No testcases have been altered/added/removed.
Related: exercism/discussions#104