Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Yes indeed - there is a H U G E paragraph named EXCEPTIONS - i havn't checked that earlier on - thanks pal.
The exceptions are generated from the Aggregate function.
This link defines the function and there is a section describing the exceptions: https://msdn.microsoft.com/en-us/library/bb548651(v=vs.110).aspx
how come it works without argument exceptions which were a part of this kata?
Well, you just need to generate the expected and the actual result, then use the appropriate method in
Test
to compare them, likeTest.assertEquals(actual, expected)
for primitive values andTest.assertDeepEquals
for objects and arrays.Thanks! I'm trying to figure it out, and came up with this..
I can generate random test with a loop, but don't know how to make it work
in the test fixture...Would anyone be able to look at this below and let me know if i'm on the rght track?
Maybe this might help? It's probably not for beginners, though.
This issue was resolved!
Null issue resolved!
Good catch, I will fix the null issue. Regarding Random tests.... Would anyone be willing to share any links to tutorials / documentation on how to get them set up? I am new to testing and want to make sure to do it right!
thanks!
null
in the arguments?"
Test.expect
-issue" solved!; ) )
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution