Ad
  • Custom User Avatar
  • Custom User Avatar

    @mmdotz I don't know what your code/solution looks like, but try commenting all your code and just run "p message". The test cases should appear in the "Output" pane.

  • Custom User Avatar

    Yes, there is a way to see what tests fail without forfeiting the kata/challenge.

    Ruby Example:

    def validate message 
      # your failing solution here 
      # once you get the long list of failing test cases, note the order in which they appear in (e.g. 2nd from the last test case is the one that fails)
      p message 
      # this will output all test cases and you can scroll to find the one you noted earlier 
    end
    

    JavaScript Example:

    function validate(message){
      // your failing solution here // once you get the long list of failing test cases, note the order in which they appear in (e.g. 2nd from the last test case is the one that fails)
      console.log(message); // this will output all test cases and you can scroll to find the one you noted earlier
    }
    
  • Custom User Avatar

    You must give another look at your algorithm because your return is not good.

  • Custom User Avatar

    You can print the arguments passed in to the console to see where you are going wrong, which is a better option than forfeiting eligibility ;)

  • Default User Avatar

    You can click on the link to "Show me the test cases/forfeit eligibility". But you would forfeit this kata.

  • Custom User Avatar

    you are printing the answer. You have to return it.