Replies: 2 comments 3 replies
-
Thanks for starting the discussion. As I replied on Gitter, I prefer the first one. I don't think we need to see the passed cases like the deprecated custom test framework. Also, multiple feedback on #110 seems to agree with that. /cc @codewars/community I wouldn't do describe "[method/kata/solution]" do
it "[short description of what's being tested]" do
end
# can have multiple of these if it makes sense
# or, something like
it "should pass example cases" do
end
# then a random test case
it "should pass [n] random tests" do
end
end |
Beta Was this translation helpful? Give feedback.
3 replies
-
I prefer (1). It's cleaner. Incidentally, this is the only option for random tests with Haskell QuickCheck, so it's the option I am used to. Showing inputs can be done in an |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Regarding the Ruby 3.0 update, here are two sets of boilerplates, which one do you prefer more (
1
or2
) and why? (1
will only display one output message when passed,2
will display all test cases' corresponding messages when passed but looks more similar to the old test framework)Please give your humble opinion, regards! ~~
Beta Was this translation helpful? Give feedback.
All reactions