Nasal Unit Testing Framework: Difference between revisions

Line 1: Line 1:
== Status 06/2013 ==
The intent was 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:
<pre>
standalone-nasal.exe ATR72-FMC-tests.nas
</pre>
and see output like this:
<pre>
When_calculating_deflection_that_is_greater_than_the_provided_maximum
the_provided_maximum_should_be_returned (failed: expected 180 was 99)
When_calculating_deflection_from_33_degrees_to_90_degrees
the_result_should_be_67_degrees (failed: expected 67 was 66)
</pre>
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, and I ended up with an exe file (see your original thread).


== Problem ==
== Problem ==