choicescript
choicescript copied to clipboard
Randomtest fails if a non-ultimate scene in mygame.js ends without a *finish or *goto_scene
Notably, the actual game run in an actual browser rendered in index.html moves on to the next scene without complaint.
Test with nav = new SceneNavigator([ "1" ,"2" ]);
and two blank text files in /scenes, 1.txt and 2.txt
Incidentally, the JS error produced by randomtest is:
java -jar tests\dojo-release-1.3.2-src\util\doh\js.jar randomtest.js 50 1)randomtest-output.txt js: uncaught JavaScript runtime exception: ReferenceError: "main" is not defined.