Testing — Ende namespace

Robust testing and benchmarking capabilities to ensure code quality and performance.

Eg Ende.test, Ende.bench

  • Ende.bench — Register a benchmark test which will be run when `ende bench` is used on the command line and the containing module looks like a bench module.
  • Ende.BenchContext — Context that is passed to a benchmarked function. The instance is shared between iterations of the benchmark. Its methods can be used for example to override of the measured portion of the function.
  • Ende.BenchDefinition — The interface for defining a benchmark test using Ende.bench.
  • Ende.DenoTest
  • Ende.EndeTest
  • Ende.test — Register a test which will be run when `ende test` is used on the command line and the containing module looks like a test module.
  • Ende.TestContext — Context that is passed to a testing function, which can be used to either gain information about the current test, or register additional test steps within the current test.
  • Ende.TestDefinition
  • Ende.TestEach — Register a parameterized group of tests. See EndeTest.each.
  • Ende.TestIgnore — Shorthand property for ignoring a particular test case. See EndeTest.ignore.
  • Ende.TestOnly — Shorthand property for focusing a particular test case. See EndeTest.only.
  • Ende.TestSnapshotOptions — Options which can be set when calling Ende.TestContext.assertSnapshot.
  • Ende.TestStepDefinition