-
-
Notifications
You must be signed in to change notification settings - Fork 555
book-store: shortened test descriptions #514
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
Conversation
Descriptions have been shortened so as to make the json nicer for automatic test generators, so test case functions do not end up being too long.
#470 mentioned shortening the names a few times... Looks like this was known, so happy to see it being addressed. |
The old array formatting without all those line breaks was nicer. The shorter descriptions are a step in the right direction, but they still don't communicate why that is a useful thing to be testing.
Why are we not testing "1 each of the first 3 books and 2 copies of books four and five"? |
Try and remember to include a link to the problem description when discussing canonical-data files: |
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.
I know it's a matter of style, but personally I find this use of vertical space harder to read than the previous version where all of the books in a basket were on the same line.
From a functional standpoint it looks good, and I like the shortened descriptions.
I'm with @robkeim here. The vertical grouping is significantly less readable to me. The descriptions themselves look good to me. |
Cleaned up the vertical spacing that was caused by an online JSON editor I was trying. Introduced `"total"` above `"cases"` along with a `"description"`.
Much better |
Agreed. This looks great! |
Descriptions have been shortened so as to make the json nicer for automatic test generators, so test case functions do not end up being too long.