API for atticus.stub

by Unknown

Usage:
(ns your-namespace
  (:require atticus.stub))

Overview

Stub objects for testing.

Public Variables and Functions



eval-constant

macro
Usage: (eval-constant form)
Macro to create a form that is evaluated once, and then always returns the
same value.  Useful if you want to use generated values (eg. with faker)
in your stubs.
Source


stub

macro
Usage: (stub & specs)
Create a stub object. A wrapper for reify.
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.