test_server_config = [
  port: 7070,
  server_name: 'hound_test_server',
  server_root: Path.absname('test/sample_pages'),
  document_root: Path.absname('test/sample_pages'),
  bind_address: 'localhost'
]

{:ok, pid} = :inets.start(:httpd, test_server_config)

Hound.start

System.at_exit fn(_exit_status) ->
  :ok = :inets.stop(:httpd, pid)
end

ExUnit.start [max_cases: 5]

test_server_config = [
  port: 9090,
  server_name: 'hound_test_server',
  server_root: Path.absname('test/sample_pages'),
  document_root: Path.absname('test/sample_pages'),
  bind_address: 'localhost'
]

{:ok, pid} = :inets.start(:httpd, test_server_config)

Hound.start

System.at_exit fn(_exit_status) ->
  :ok = :inets.stop(:httpd, pid)
end

ExUnit.start [max_cases: 5]

Change port back to 9090
Change port back to 9090

lowks/hound,oivoodoo/hound,jontonsoup/hound,esbullington/hound,esbullington/hound,manukall/hound,HashNuke/hound,manukall/hound,lowks/hound,oivoodoo/hound,knewter/hound,jontonsoup/hound,HashNuke/hound