Skip to content

Commit

Permalink
Merge pull request #195 from marcdel/patch-1
Browse files Browse the repository at this point in the history
Adds server config to setup section of readme
  • Loading branch information
danhper committed Jan 7, 2018
2 parents f19205d + 39edc33 commit 7cfa0f8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ ExUnit.start()

When you run `mix test`, Hound is automatically started. __You'll need a webdriver server__ running, like Selenium Server or Chrome Driver. If you aren't sure what it is, then [read this](https://github.com/HashNuke/hound/wiki/Starting-a-webdriver-server).

#### If you're using Phoenix
Ensure the server is started when your tests are run. In `config/test.exs` change the `server` option of your endpoint config to `true`:

```elixir
config :hello_world_web, HelloWorldWeb.Endpoint,
http: [port: 4001],
server: true
```

## Configure

To configure Hound, use your `config/config.exs` file or equivalent.
Expand Down

0 comments on commit 7cfa0f8

Please sign in to comment.