Packages

A simple Elixir package to elegantly mock module functions within (asynchronous) ExUnit tests using Erlang's :meck library

Current section

Files

Jump to
mecks_unit mix.exs
Raw

mix.exs

defmodule MecksUnit.MixProject do
use Mix.Project
def project do
[
app: :mecks_unit,
version: "0.1.2",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
name: "MecksUnit",
source_url: "https://github.com/archan937/mecks_unit",
docs: [
main: "readme",
extras: ["README.md"]
]
]
end
def application do
[
extra_applications: [:logger],
mod: {MecksUnit.Application, []}
]
end
defp deps do
[
{:meck, "~> 0.8.8"},
{:ex_doc, "~> 0.18.0", only: :dev, runtime: false}
]
end
defp description do
"""
A simple Elixir package to elegantly mock module functions within (asynchronous) ExUnit tests using Erlang's :meck library
"""
end
defp package do
[
maintainers: ["Paul Engel"],
licenses: ["MIT"],
links: %{github: "https://github.com/archan937/mecks_unit"}
]
end
end