20,741
edits
m (Use Nasal highlighter) |
m (→Status 06/2013: http://sourceforge.net/p/flightgear/mailman/message/31708442/) |
||
Line 2: | Line 2: | ||
== Status 06/2013 == | == Status 06/2013 == | ||
We do not currently have any established unit testing framework for Nasal. For the time being, this whole discussion is just about coming up with the requirements and a possible design. | |||
The intent is to explore the idea of being able to run isolated unit tests against Nasal scripts. The idea was being able to do something like this: | The intent is to explore the idea of being able to run isolated unit tests against Nasal scripts. The idea was being able to do something like this: | ||
Line 20: | Line 21: | ||
=== The standalone Nasal interpreter === | === The standalone Nasal interpreter === | ||
Based on what I read about the current stand-alone interpreter this should be fairly easy to do. That should now be possible, the nasal-standalone branch builds successfully for Windows: | Based on what I read about the current stand-alone interpreter this should be fairly easy to do. That should now be possible, the nasal-standalone branch builds successfully for Windows (make sure to have boost available for building cppbind): | ||
Here's the Nasal standalone interpreter as part of SimGear: https://gitorious.org/~hooray/fg/hoorays-simgear/commits/topics/nasal-standalone | Here's the Nasal standalone interpreter as part of SimGear: https://gitorious.org/~hooray/fg/hoorays-simgear/commits/topics/nasal-standalone |