Ad
  • Custom User Avatar

    This kata is broken.

    1º The sample test ask you to return 0, and the final test to return undefined
    2º You can pass this kata without actually showing on the console the numbers divisible by 5, no matter what you do.

  • Custom User Avatar

    man I couldnt agree with you more. It was a class assignment so i had to try and complete it.

  • Custom User Avatar

    Syntax for only assertion in the entire test suite is incorrect which allows an empty function to pass all tests. Perhaps you should try to complete more Kata and carefully observe their test cases before attempting to write a Kata. Writing a high-quality Kata requires lots of experience and effort.

  • Custom User Avatar

    I'm still struggling to write a proper test, I do aplogize But bassically I want the test to check for the fact that the loop runs until t <= 45 and logs out every number that is divisible by 5 between 0 and 45. Im just not sure how to write that test. I received a suggestion to look at other tests from katas i have passed so i think i will try that and see if it helps me write a better test. But honestly this code wars is really just for when I think i have spare time. I have assignments and readings that take priority and if I'm not burned out after that I can come back here and tweek on my kata and work on others.

    Thank you for your interest in my kata, I wasnt expecting to have anyone look at it really execpt classmates =)

  • Custom User Avatar

    Thank you I never thought to look at tests from katas I have passed. That should give me a better idea on what a good test should look like. I am attending a boot camp called The Iron Yard, today is the end of week 4 and one of our assignments this week was to create a kata and challenge our classmates.

  • Custom User Avatar

    Interesting - which bootcamp? It might be helpful if you look at the test suite from kata you have passed already. If you go to the discourse tab and then look just above any comments / the comment box, there is a bar that says 'show kata test cases'. That should help

  • Custom User Avatar

    The wording on the actual test is poorly writtin and i cannot really understand what i am supposed to do, could you perhaps reword it as to add clarity, or add a few examples?

  • Custom User Avatar

    Thanks guys, yeah i was just happy to see a passing test but havnt quite grasped the testing yet. 4th week boot camper here and 3rd week on js so it is coming along just at baby steps but thanks for the feedback and I will tweek the tests.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution