defmodule ExCheck do @moduledoc """ Provides QuickCheck style testing feature. add 'use ExCheck' in the ExUnit test files. """ defmacro __using__(_opts \\ []) do quote do import ExCheck.Predicate import ExCheck.Statement use ExCheck.Generator end end @doc """ Check the property defined in the specified target (module or method). If the module name is specified, check all the methods prefixed with 'prop_'. """ def check(target) do :triq.check(target) end end