NH_xunit

xUnit style testing.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/478188/1332408/NH_xunit.js

Author
Mike Castle (Nexus)
Version
53
Created
2023-10-25
Updated
2024-02-23
License
GPL-3.0-or-later

lib/xunit - A NexusHoratio library.

Pure JavaScript xUnit style test framework.

Exported properties (as of version 51)

  • version - Bumped per release.
  • testing - Object for testing support.
  • TestCase - An xUnit style test framework.
  • runTests - Run registered TestCases.

More details are in xunit.js as JSDoc.