Registered StackHub users may elect to receive email notifications whenever a new package version is released or a comment is posted on the forum.
There are 2 watchers.
An extension for SkySpark v3.1.1+ that provides a unit test runner and assertion functions for testing Axon code.
AxonT source code is available on Fantom Factory's GitHub - AxonT.
First create some test functions in Axon. Test functions are typically prefixed with test, take no arguments, and optionally return okay to signify just that.
testPassExample : () => do expected : "foo bar" actual : "foo bar"// this bit should do some work!// assert the resultverifyEq(expected, actual) "okay" end testFailExample : () => do expected : "foo bar" actual : "poo"// assert the resultverifyEq(expected, actual) "okay" end
Then pass them to the test runner to have them executed.
// run tests[ testPassExample, testFailExample ].runTests()
Results are returned in a handy grid:

AxonT Ext is free software and an open source project licensed under the permissive ISC Licence by the Internet Systems Consortium - it is similar to the popular MIT licence, only shorter!
| Version | 0.1.6 |
|---|---|
| License | ISC |
| Repository | bitbucket.org |
| Build date | 3 weeks ago on Mon 3rd Nov |
| Requirements | SkySpark v3.1.1 |
| Depends on | |
| File name | afAxontExt.pod |
| File size | 34.30 kB |
| MD5 | 2ea2c57d3fa8d7377e36d651c564042c |
| SHA1 | 3ca96e431309877337e1604aea3cddee63206751 |
Published by Fantom FactoryDownload nowAlso available via SkyArc Install Manager | |