citic / botNeumann

A metaphorized and gamified visualization of the von Neumann architecture for programming learning
1 stars 0 forks source link

List: Visualize multiple test cases #154

Open jeissonh opened 7 years ago

jeissonh commented 7 years ago

When user presses the Run button, several test cases (N) are generated from Unit. The player solution is run against all the N test cases. Which of them are visualized? All of them? The example test case and the first that fails? I guess the first one (the example test case) and the rest are provided as a list on the title of the scene. Therefore, the student has the chance of choosing the failing test cases.

Design how test cases are shown on unit playing scene. Suggestion: use the tester images: gray (scheduled), green (passed), red (failed). They may be connected by a tube. Current test case may have opacity 1.0, and the rest .75.

See test cases diagram