fant has been migrated to use Node.js as the underlying platform for running javascript tests instead of using the built-in Java JS engine (rhino/nashorn).
compilerJs::TestRunner should be considered deprecated for 1.0.70, and it will be removed in 1.0.71. If you want to run javascript tests using "raw" fantom invocation, use
fan compilerJs::NodeRunner
NodeRunner
Usage:
NodeRunner [options] -test <pod>[::<test>[.<method>]]
NodeRunner [options] -run <script>
Options:
-keep Keep intermediate test scripts
SlimerDude Sat 20 Jan 2018
When running JS tests via
compilerJs::TestRunnerI believe there's a problem on line 220 which essentially says:Only
eval()returns ajava.lang.Integerand not asys::Intso there is notoInt()method to invoke, raising the error:Note this error causes ALL the tests to fail.
matthew Mon 22 Jan 2018
fanthas been migrated to use Node.js as the underlying platform for running javascript tests instead of using the built-in Java JS engine (rhino/nashorn).compilerJs::TestRunnershould be considered deprecated for 1.0.70, and it will be removed in 1.0.71. If you want to run javascript tests using "raw" fantom invocation, use