Greasy Fork is available in English.

NH_xunit

xUnit style testing.

Dette script bør ikke installeres direkte. Det er et bibliotek, som andre scripts kan inkludere med metadirektivet // @require https://update.greasyfork.org/scripts/478188/1332408/NH_xunit.js

Skaber
Mike Castle (Nexus)
Version
53
Oprettet
25.10.2023
Opdateret
23.02.2024
Licens
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.