Packages
Lightweight server-side integration test functions for Phoenix. Optimized for Elixir Pipes and the existing Phoenix.ConnTest framework to emphasize both speed and readability.
Current section
Files
Jump to
Current section
Files
phoenix_integration
mix.exs
mix.exs
defmodule PhoenixIntegration.Mixfile do
use Mix.Project
@version "0.5.0"
@url "https://github.com/boydm/phoenix_integration"
def project do
[
app: :phoenix_integration,
version: @version,
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env),
deps: deps(),
package: [
contributors: ["Boyd Multerer"],
maintainers: ["Boyd Multerer"],
licenses: ["MIT"],
links: %{
"GitHub" => @url,
"Blog Post" => "https://medium.com/@boydm/integration-testing-phoenix-applications-b2a46acae9cb"
}
],
name: "phoenix_integration",
source_url: @url,
docs: docs(),
description: """
Lightweight server-side integration test functions for Phoenix.
Optimized for Elixir Pipes and the existing Phoenix.ConnTest
framework to emphasize both speed and readability.
"""
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def application do
[applications: [:phoenix]]
end
defp deps do
[
{:phoenix, "~> 1.3"},
{:phoenix_html, "~> 2.10"},
{:floki, ">= 0.18.0"},
{:deep_merge, "~> 0.1.0"},
# Docs dependencies
{:ex_doc, ">= 0.0.0", only: [:dev, :docs]},
{:inch_ex, ">= 0.0.0", only: :docs}
]
end
def docs do
[
extras: ["README.md"],
source_ref: "v#{@version}",
main: "PhoenixIntegration"
]
end
end