Packages
testcontainers
1.7.0
2.3.1
2.3.0
2.2.0
2.1.0
2.1.0-rc1
2.0.0
2.0.0-rc3
2.0.0-rc2
2.0.0-rc
1.14.1
1.14.0
1.13.5
1.13.4
1.13.3
1.13.2
1.13.1
1.13.0
1.12.0
1.11.8
1.11.7
1.11.6
1.11.5
1.11.4
1.11.3
1.11.2
1.11.1
1.11.0
1.10.5
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.9.0
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.0
1.6.0
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.1
1.3.0
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
1.0.0-beta.1
1.0.0-beta
0.9.3
0.9.2
0.9.1
0.9.0
Testcontainers is an Elixir library that supports ExUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
Current section
Files
Jump to
Current section
Files
testcontainers
mix.exs
mix.exs
defmodule TestcontainersElixir.MixProject do
use Mix.Project
@app :testcontainers
@version "1.7.0"
@source_url "https://github.com/testcontainers/testcontainers-elixir"
def project do
[
app: @app,
name: "#{@app}",
version: @version,
description:
"Testcontainers is an Elixir library that supports ExUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.",
elixir: "~> 1.13",
source_url: @source_url,
homepage_url: @source_url,
aliases: aliases(),
deps: deps(),
package: [
links: %{"GitHub" => @source_url},
licenses: ["MIT"]
],
test_coverage: [
summary: [threshold: 75],
ignore_modules: [
TestHelper,
Inspect.Testcontainers.TestUser,
# deprecated
Testcontainers.Container.MySqlContainer,
# deprecated
Testcontainers.Container.PostgresContainer,
# deprecated
Testcontainers.Container.RedisContainer,
# deprecated
Testcontainers.Container.SeleniumContainer,
# deprecated
Testcontainers.Container.CephContainer
]
],
elixirc_paths: elixirc_paths(Mix.env())
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
def application do
[
extra_applications: [:logger]
]
end
# Specifies your project dependencies.
#
# Type `mix help deps` for examples and options.
defp deps do
[
{:uuid, "~> 1.1"},
{:dialyxir, "~> 1.3", only: [:dev], runtime: false},
{:ex_doc, "~> 0.30", only: :dev, runtime: false},
# docker api
{:ex_docker_engine_api, "~> 1.43.1"},
# ecto module
{:ecto_sql, "~> 3.3", optional: true},
{:ecto, "~> 3.3", optional: true},
# mysql
{:myxql, "~> 0.4", only: [:dev, :test]},
# postgres
{:postgrex, "~> 0.14", only: [:dev, :test]},
# redis
{:redix, "~> 1.0", only: [:dev, :test]},
# ceph and minio
{:ex_aws, "~> 2.1", only: [:dev, :test]},
{:ex_aws_s3, "~> 2.0", only: [:dev, :test]},
{:sweet_xml, "~> 0.6", only: [:dev, :test]},
# cassandra
{:xandra, "~> 0.14", only: [:dev, :test]},
# kafka
{:kafka_ex, "~> 0.13", only: [:dev, :test]},
# Zookeeper
{:erlzk, "~> 0.6.2", only: [:dev, :test]}
]
end
# Aliases are shortcuts or tasks specific to the current project.
# For example, to install project dependencies and perform other setup tasks, run:
#
# $ mix setup
#
# See the documentation for `Mix` for more info on aliases.
defp aliases do
[
setup: ["deps.get"]
]
end
end