I usually show the parameters of each testcase to the user. In this Kata, the parameter suspects did not show up for two reasons, first it was a bit long, followed by all random testcases using the same parameters. This may give some users do not know the use of console.log() caused some trouble. So I made a little change, and the following text was shown at the beginning of last two fix test and the random test:
Test for: said='p~~er~~eE~~s'
Test Passed: Value == Peter Reeves
Test for: said='e'
Test Passed: Value == E Kustur
Test for: said='~i~~R~~~ST~V~n'
Test Passed: Value == Wilfrid Stevens
Test for: said='a~t'
Test Passed: Value == Arthur Clarke,Arthur Paternos
I think it's clear enough, or do I misunderstand your bug report?
The issue has already been reported below.
Besides, you don't seem to know how to report an issue properly. "It didn't work" is barely helping people trying to locate and fix the problem.
Anyways, I've fixed the issue myself so I'm going to close all related issues.
I usually show the parameters of each testcase to the user. In this Kata, the parameter
suspects
did not show up for two reasons, first it was a bit long, followed by all random testcases using the same parameters. This may give some users do not know the use ofconsole.log()
caused some trouble. So I made a little change, and the following text was shown at the beginning of last two fix test and the random test:I checked my code, and run the testcases, I got:
I think it's clear enough, or do I misunderstand your bug report?