Http Mock Pal
An elixir app to start up a mock server to act like external services you are trying to test or mock.
Installation
If available in Hex, the package can be installed as:
-
Add
http_mock_palto your list of dependencies inmix.exs:
```elixir
def deps do
[{:http_mock_pal, "~> 0.1", only: :test}] # using phoenix < 1.4 or cowboy 1.x
[{:http_mock_pal, "~> 1.0", only: :test}] # using phoenix >= 1.4 or cowboy 2.x
end
```-
Ensure
http_mock_palis started before your application:
```elixir
def application do
[applications: [:http_mock_pal]]
end
```