hound icon indicating copy to clipboard operation
hound copied to clipboard

Mention Phoenix default conf in README/doc

Open ejoubaud opened this issue 7 years ago • 1 comments

Hi there, I just ran my first tests with hound on a Phoenix app today. It's working great, awesome work!

Only problem I had was I was not setting the server option to true in the endpoint config part of my config/test.exs. The tests wouldn't start a Phoenix server so my calls to navigate_to("/") would keep the current_url() stuck on "about:blank".

I was able to find out about the server: true trick by googling around and browsing a few (more or less up-to-date) hound tutorial blog posts, but I guess it would be easier for people to get started with Hound if it was mentioned in the readme, perhaps in a "Phoenix configuration" section.

I guess most people will be using Hound in Phoenix and more than a few Phoenix noobs like me might end up tripping on this on.

ejoubaud avatar Apr 16 '17 17:04 ejoubaud

Hi, thanks for reporting. You are right, I think it is worth mentioning in the readme. It would be really nice if you could add it to the readme and send a pull request. Thank you very much :smile:

danhper avatar Apr 16 '17 23:04 danhper