Pervasive test runner failures for Eliud's Eggs in Tcl

attn: @ErikSchierboom

This mentoring request points out that there are several solutions with failing tests online for solutions that pass locally. This particular one has

An error occurred while running your tests. This might mean that there was an issue in our infrastructure, or it might mean that you have something in your code that’s causing our systems to break.

Please check your code, and if nothing seems to be wrong, try running the tests again.

Can you look up the test output for this person’s submission please? Is there a problem with this exercise or the test runner?

@glennj There apparently is a mismatch in file names:

couldn't open "eliuds-eggs.test": no such file or directory
    while executing
"open $testsFile r"
    (procedure "extraTestVerbosity" line 3)
    invoked from within
"extraTestVerbosity $slug $testsFile"
    (procedure "runTestFile" line 7)
    invoked from within
"runTestFile $slug $testsFile $inputDir $outputFile"
    (procedure "main" line 22)
    invoked from within
"main $argv"
    (file "/opt/test-runner/bin/run.tcl" line 276)
1 Like

Got it. The test runner expects the test file and solution file to have the same name as the exercise slug. After renaming the exercise to eliuds-eggs, the files did not get renamed from pop-count