Open tyxiangs opened 2 weeks ago
Tagging a few other students (randomly selected) who have completed related increments, in case they can pitch in: @CYX22222003 @KennethTeo2002 @dwsc37 @yiiilonggg @kaajinn @gohsl99 @rimgik @jloh02 @TechRaj @ethanwangkangen @Professional-Procrastinat0r @justsparsh @limyixiang @OrangeCatLoves @jonushzw Others are welcome to pitch in too.
May be helpful: If you are on Windows machine, run runtest.bat in /text-ui-test/ directory, and you will not expecting "Test result: PASSED" or "Test result: FAILED" outputs, you will only see the output from FC command. If your are on nix machine, run runtest.sh in */text-ui-test/ directory, and you will be expecting to see "Test result: PASSED" or "Test result: FAILED" outputs. The 2 scripts are written differently, so they will not print the same set of outputs.
Your command is currently running the .bat file, which is designed to run on Windows. If you wish to run the Linux .sh file, might need to remove the "interpreter path" so that the command executed is just "bash .../runtest.sh"
If you want to run the bash script, avoid using the Windows git bash command as you will need to install dos2unix
command too. As an alternative, you can use WSL and run the test script.
I'm using window machine. So essentially I will only get the output from FC command and will not see "Test result: Passed" or "Test result: Failed" unless I use WSL to run the test script. Am I correct ?
I'm using window machine. So essentially I will only get the output from FC command and will not see "Test result: Passed" or "Test result: Failed" unless I use WSL to run the test script. Am I correct ?
Yeah, runtest.bat will print output from FC command only. runtest.sh then will print "Test result: Passed" or "Test result: Failed".
@tyxiangs A gentle reminder to close this issue if the problem has been resolved. If not resolved yet, please post a comment explaining which part of the problem/question remains unresolved.
Hi, I have tried many times for text-ui testing. It runs correctly but it only give output like FC: no differences encountered The expected result should be "Test result: PASSED" or "Test result: FAILED", what should I do to solve it ?