Ad
  • Custom User Avatar

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

  • Default User Avatar

    Thanks for the feedback; I have reduced the number of random tests from about 100 for each data type to 25 for booleans and strings and 50 for arrays in order to reduce execution time and reduce cluttering as you said. I'm a bit reluctant to further reduce the number of random tests though (say, only about 5 for each data type) because if there are too few random tests one may simply click "Submit" until a desired value(s) is randomly generated by the random tests and potentially pass all the tests using a cheat solution.

    Issue resolved.

  • Custom User Avatar

    The random test cases generate a lengthy output. I like that you made them random, but maybe try limiting them to 1 or 2 max. That way users don't have to scroll down each time they run the tests.

    Thanks for updating with the examples btw!

  • Default User Avatar

    As for decreasing test output, may you please elaborate on your point? I do not think I have used any console.log() statements in my tests.

  • Default User Avatar

    Hi I have added a few example tests already. May you please check them for me? If you're satisfied with it please resolve the issue. Thank you :)

  • Custom User Avatar

    Decrease test output and add a few sample tests so you can use 'Run tests' too.