spooning
user guide
  • Getting Started
  • Writing Tests
  • Running Tests
  • Integration
  • Customization
api
  • Reporter
  • Tap
  • TestQueue
constants
  • Types
errors
  • UnexpectedOutputError
util
  • acEx
  • isString
  • maybeStringify
spooning / API
  • Types

    See examples of object shapes used by spooning.

  • Reporter

    Handle test results.

  • Tap

    Render TAP-formatted output.

  • TestQueue

    Enqueue and run tests (optionally in parallel).

  • UnexpectedOutputError

    Create an Error with a formatted message that compares actual/expected values.

  • acEx

    Return a formatted message that compares actual/expected values.

  • isString

    Return true if the provided value is a string literal or String object (otherwise return false).

  • maybeStringify

    If the provided value is a string, return it unchanged. Otherwise encode it with JSON.stringify and return the result.

Copyright © 2020 Adam Jarret. MIT licensed.

Logo licensed CC BY 3.0 by freepik.
Menu icon licensed CC BY-ND 3.0 by icons8.

🥄