Unit test runner and assertion functions for Axon

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.0.12+ that provides a unit test runner and assertion functions for testing Axon code.

Quick Start

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 result
  verifyEq(expected, actual)


testFailExample : () => do
  expected : "foo bar"
  actual   : "poo"

  // assert the result
  verifyEq(expected, actual)


Then pass them to the test runner to have them executed.

// run tests

Results are returned in a handy grid:

Axont Result 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 Notes


  • Chg: verifyEq() and verifyNotEq() are more lenient when testing Lists and Dicts. (e.g. the backing Fantom List type is ignored, Etc.dictEq() is now used but also patched for this bug.)


  • Chg: Ensure the Axon trace is captured by runTests() results. (Thanks go to John MacEnri / Crawley Carbon for the pull requst.)


  • Chg: Renamed extension from axont to afAxont for consistency with other Alien-Factory products.


  • New: Added setup and teadown to runTests() options.
  • New: Created alien icon for ext.
  • Chg: verifyErr returns the err msg should you wish to perform further (regex) tests on it.


  • New: Preview release, created to test Axonator - the Axon source code encryptor and obfuscator.
Published by Fantom Factory

Products & Services by Fantom Factory

Packages by Fantom Factory

Commercial packages

Free packages

Package details
Build date1 year ago
on 4th Jul 2020
Requirements SkySpark v3.0.13
Depends on
File nameafAxontExt.pod
File size18.15 kB
SHA1 b85314b38c001d6b77befc1ec8cf157539c93475
Published by
Fantom FactoryDownload now
Also available via SkyArc Install Manager
Fantom Pod
Axon Funcs
Sky Arc Ext