To run the testset for m8n platform, evaluate the following expression in a workspace |
| tester luaEval | luaEval := [:code| | source | source := code trimBlanks. (source startsWith: #--) ifTrue: [ "Lua source code" [ #{fengari} #load: source ] on: Error do: [:err| self alert: err. tester abortPage ] ] ifFalse: [ "assume it is smalltalk code" source stream fileIn ] ]. tester := SwikiCodeRobot @ #test. tester when: #evaluate: do: luaEval; process: #s8-media tagged: #m8n |
Note that the output of the tests will be sent to Transcript, so if you have not opened the Transcript tool, you can press the [U8] icon in the toolbar (bottom/right U8 icon) to see the last output sent to Transcript |