HashNuke / hound

Elixir library for writing integration tests and browser automation
http://hexdocs.pm/hound
MIT License
1.36k stars 145 forks source link

Use 4002 as default app_port #256

Closed idabmat closed 3 years ago

idabmat commented 3 years ago

Not sure if this would be a welcomed change. I noticed that hound assumes the app runs on port 4001. I assume this was done to match phoenix default port in test env. Phoenix uses port 4002 since https://github.com/phoenixframework/phoenix/pull/3110

Alternatively, the setup docs could be updated to say that both server and port have to be changed in config/test.exs, or that the app_port has to be specified. I'd be happy to change this PR to update only the docs if that is preferred.

Thank you for maintaining this 💜